icontheme: Compiler warning fixes
authorMatthias Clasen <mclasen@redhat.com>
Thu, 2 Feb 2023 07:44:28 +0000 (08:44 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 2 Feb 2023 07:44:28 +0000 (08:44 +0100)
gtk/gtkicontheme.c

index f7fd03d899964e5eeafc7f4e55822024699f59e2..66c7d97f34fb7fa623ad1ccd9a70fe198e69c232 100644 (file)
@@ -3046,7 +3046,7 @@ theme_lookup_icon (IconTheme   *theme,
   IconThemeDirSize *min_dir_size;
   IconThemeFile *min_file;
   int min_difference;
-  IconCacheFlag min_suffix;
+  IconCacheFlag min_suffix = ICON_CACHE_FLAG_PNG_SUFFIX;
   int i;
 
   min_difference = G_MAXINT;