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
This commit is contained in:
Colin Walters 2014-07-22 14:22:23 -04:00
parent 5fe71c7c5c
commit 7ea4bf3f30

View File

@ -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)