This bug could've caused mayhem in the icon cache. (coverity 790).
authorArt Yerkes <art.yerkes@gmail.com>
Tue, 23 Sep 2008 08:58:19 +0000 (08:58 +0000)
committerArt Yerkes <art.yerkes@gmail.com>
Tue, 23 Sep 2008 08:58:19 +0000 (08:58 +0000)
svn path=/trunk/; revision=36420

reactos/base/shell/explorer/shell/entries.cpp

index f2f4ed3..d4646fd 100644 (file)
@@ -374,7 +374,7 @@ int Entry::extract_icon(ICONCACHE_FLAGS flags)
                if (!(flags & ICF_OVERLAYS)) {
                        IExtractIcon* pExtract;
                        if (SUCCEEDED(GetUIObjectOf(0, IID_IExtractIcon, (LPVOID*)&pExtract))) {
-                               unsigned gil_flags;
+                               unsigned gil_flags = 0;
                                int idx;
 
                                if (flags & ICF_OPEN)