mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Don't evaluate an uninitialized value
Bug found by clang.
This commit is contained in:
parent
7ea8a2a863
commit
80fd5ed402
@ -1852,6 +1852,7 @@ get_apps_from_dir (GHashTable *apps,
|
||||
if (!g_hash_table_lookup_extended (apps, desktop_id, NULL, NULL))
|
||||
{
|
||||
appinfo = g_desktop_app_info_new_from_filename (filename);
|
||||
hidden = FALSE;
|
||||
|
||||
if (appinfo && g_desktop_app_info_get_is_hidden (appinfo))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user