projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ea8a2a
)
Don't evaluate an uninitialized value
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 7 Sep 2009 06:50:51 +0000
(
02:50
-0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 7 Sep 2009 06:50:51 +0000
(
02:50
-0400)
Bug found by clang.
gio/gdesktopappinfo.c
patch
|
blob
|
history
diff --git
a/gio/gdesktopappinfo.c
b/gio/gdesktopappinfo.c
index 6b6107c288f5f5ba2ef156f8556a97ea42d0c28d..4bd76ff85af1415d330916c2131d21861fd67fff 100644
(file)
--- a/
gio/gdesktopappinfo.c
+++ b/
gio/gdesktopappinfo.c
@@
-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))
{