From 91ae271e19365ce46fca24f7702464eb6fdc3304 Mon Sep 17 00:00:00 2001 From: Art Yerkes Date: Tue, 23 Sep 2008 08:58:19 +0000 Subject: [PATCH] This bug could've caused mayhem in the icon cache. (coverity 790). svn path=/trunk/; revision=36420 --- reactos/base/shell/explorer/shell/entries.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/base/shell/explorer/shell/entries.cpp b/reactos/base/shell/explorer/shell/entries.cpp index f2f4ed3dff1..d4646fde064 100644 --- a/reactos/base/shell/explorer/shell/entries.cpp +++ b/reactos/base/shell/explorer/shell/entries.cpp @@ -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)