Blame SOURCES/0006-cups-Annotate-a-call-whose-return-value-we-don-t-car.patch
|
|
25dd04 |
From 90dde24d6a79725c674d65677f998f1a45e21598 Mon Sep 17 00:00:00 2001
|
|
|
25dd04 |
From: Matthias Clasen <mclasen@redhat.com>
|
|
|
25dd04 |
Date: Fri, 17 Jul 2015 15:58:24 -0400
|
|
|
25dd04 |
Subject: [PATCH 6/7] cups: Annotate a call whose return value we don't care
|
|
|
25dd04 |
about
|
|
|
25dd04 |
|
|
|
25dd04 |
We're closing this fd, but we're not going to do anything else
|
|
|
25dd04 |
if that fails. Annotate to let coverity see this.
|
|
|
25dd04 |
---
|
|
|
25dd04 |
modules/printbackends/file/gtkprintbackendfile.c | 2 +-
|
|
|
25dd04 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
25dd04 |
|
|
|
25dd04 |
diff --git a/modules/printbackends/file/gtkprintbackendfile.c b/modules/printbackends/file/gtkprintbackendfile.c
|
|
|
25dd04 |
index 44c3ffb..6d98d0f 100644
|
|
|
25dd04 |
--- a/modules/printbackends/file/gtkprintbackendfile.c
|
|
|
25dd04 |
+++ b/modules/printbackends/file/gtkprintbackendfile.c
|
|
|
25dd04 |
@@ -390,7 +390,7 @@ file_print_cb_locked (GtkPrintBackendFile *print_backend,
|
|
|
25dd04 |
GtkRecentManager *recent_manager;
|
|
|
25dd04 |
|
|
|
25dd04 |
if (ps->target_io_stream != NULL)
|
|
|
25dd04 |
- g_output_stream_close (G_OUTPUT_STREAM (ps->target_io_stream), NULL, NULL);
|
|
|
25dd04 |
+ (void)g_output_stream_close (G_OUTPUT_STREAM (ps->target_io_stream), NULL, NULL);
|
|
|
25dd04 |
|
|
|
25dd04 |
if (ps->callback)
|
|
|
25dd04 |
ps->callback (ps->job, ps->user_data, error);
|
|
|
25dd04 |
--
|
|
|
25dd04 |
2.4.5
|
|
|
25dd04 |
|