mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 23:58:54 +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))
|
if (!g_hash_table_lookup_extended (apps, desktop_id, NULL, NULL))
|
||||||
{
|
{
|
||||||
appinfo = g_desktop_app_info_new_from_filename (filename);
|
appinfo = g_desktop_app_info_new_from_filename (filename);
|
||||||
|
hidden = FALSE;
|
||||||
|
|
||||||
if (appinfo && g_desktop_app_info_get_is_hidden (appinfo))
|
if (appinfo && g_desktop_app_info_get_is_hidden (appinfo))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user