summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2014-07-22 14:22:23 -0400
committerColin Walters <walters@verbum.org>2014-07-23 07:43:41 -0400
commit7ea4bf3f309232d85b7b60f6ac6295e679a22ed8 (patch)
tree0027b31dc1fed4ff4be9c5865ad4aef5931de395
parent5fe71c7c5c44b429eebba028cca6ecdc1356b50c (diff)
glocalfileinfo: Suppress static analysis return value warning
Just ignore the return value, since we're checking contents != NULL. https://bugzilla.gnome.org/show_bug.cgi?id=733576
-rw-r--r--gio/glocalfileinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/glocalfileinfo.c b/gio/glocalfileinfo.c
index 71ba7287d..7c46837ce 100644
--- a/gio/glocalfileinfo.c
+++ b/gio/glocalfileinfo.c
@@ -1455,7 +1455,7 @@ read_hidden_file (const gchar *dirname)
gchar *filename;
filename = g_build_path ("/", dirname, ".hidden", NULL);
- g_file_get_contents (filename, &contents, NULL, NULL);
+ (void) g_file_get_contents (filename, &contents, NULL, NULL);
g_free (filename);
if (contents != NULL)