dbghelp: Remove no-op additions with 0 (PVS-Studio)
Michael Stefaniuc
mstefani at redhat.de
Mon Mar 9 04:26:19 CDT 2015
---
naux is checked to be 0 on those code paths.
dlls/dbghelp/coff.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/dlls/dbghelp/coff.c b/dlls/dbghelp/coff.c
index 9f01fd2..01c5826 100644
--- a/dlls/dbghelp/coff.c
+++ b/dlls/dbghelp/coff.c
@@ -296,7 +296,6 @@ DECLSPEC_HIDDEN BOOL coff_process_info(const struct msc_debug_info* msc_dbg)
msc_dbg->module->module.BaseOfImage + base + coff_sym->Value,
0 /* FIXME */,
NULL /* FIXME */)->symt);
- i += naux;
continue;
}
@@ -377,7 +376,6 @@ DECLSPEC_HIDDEN BOOL coff_process_info(const struct msc_debug_info* msc_dbg)
* Ignore these. They don't have anything to do with
* reality.
*/
- i += naux;
continue;
}
--
1.9.3
More information about the wine-patches
mailing list