mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-03 16:03:40 +02:00
Don't evaluate an uninitialized value
Bug found by clang.
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user