mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 23:46:17 +01:00
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:
parent
5fe71c7c5c
commit
7ea4bf3f30
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user