dbghelp: Local variable used out of scope (Coverity).

This commit is contained in:
Marcus Meissner 2011-03-04 13:44:16 +01:00 committed by Alexandre Julliard
parent 68da568f16
commit f955a7ca07
1 changed files with 2 additions and 1 deletions

View File

@ -553,12 +553,13 @@ static BOOL CALLBACK reg_cb64to32(HANDLE hProcess, ULONG action, ULONG64 data, U
*/
BOOL pcs_callback(const struct process* pcs, ULONG action, void* data)
{
IMAGEHLP_DEFERRED_SYMBOL_LOAD64 idsl;
TRACE("%p %u %p\n", pcs, action, data);
if (!pcs->reg_cb) return FALSE;
if (!pcs->reg_is_unicode)
{
IMAGEHLP_DEFERRED_SYMBOL_LOAD64 idsl;
IMAGEHLP_DEFERRED_SYMBOL_LOADW64* idslW;
switch (action)