[gtk+] cups: Annotate a call whose return value we don't care about
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] cups: Annotate a call whose return value we don't care about
- Date: Fri, 17 Jul 2015 20:13:44 +0000 (UTC)
commit 0ee14211b117725eff658bf78fbabce9039ab443
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jul 17 15:58:24 2015 -0400
cups: Annotate a call whose return value we don't care about
We're closing this fd, but we're not going to do anything else
if that fails. Annotate to let coverity see this.
modules/printbackends/file/gtkprintbackendfile.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/printbackends/file/gtkprintbackendfile.c
b/modules/printbackends/file/gtkprintbackendfile.c
index 44c3ffb..6d98d0f 100644
--- a/modules/printbackends/file/gtkprintbackendfile.c
+++ b/modules/printbackends/file/gtkprintbackendfile.c
@@ -390,7 +390,7 @@ file_print_cb_locked (GtkPrintBackendFile *print_backend,
GtkRecentManager *recent_manager;
if (ps->target_io_stream != NULL)
- g_output_stream_close (G_OUTPUT_STREAM (ps->target_io_stream), NULL, NULL);
+ (void)g_output_stream_close (G_OUTPUT_STREAM (ps->target_io_stream), NULL, NULL);
if (ps->callback)
ps->callback (ps->job, ps->user_data, error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]