diff options
author | Colin Walters <walters@verbum.org> | 2014-07-22 14:22:23 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2014-07-23 07:43:41 -0400 |
commit | 7ea4bf3f309232d85b7b60f6ac6295e679a22ed8 (patch) | |
tree | 0027b31dc1fed4ff4be9c5865ad4aef5931de395 | |
parent | 5fe71c7c5c44b429eebba028cca6ecdc1356b50c (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.c | 2 |
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) |