Allow compiling without warnings if HAVE_BFD isn't defined
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4493 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
3dafc4e62a
commit
80917fb4a9
|
@ -639,7 +639,9 @@ BOOL StackBackTrace(HANDLE hProcess, HANDLE hThread, PCONTEXT pContext)
|
|||
while ( 1 )
|
||||
{
|
||||
BOOL bSuccess = FALSE;
|
||||
HMODULE hPrevModule = hModule;
|
||||
#ifdef HAVE_BFD
|
||||
const HMODULE hPrevModule = hModule;
|
||||
#endif /* HAVE_BFD */
|
||||
TCHAR szSymName[512] = _T("");
|
||||
TCHAR szFileName[MAX_PATH] = _T("");
|
||||
DWORD LineNumber = 0;
|
||||
|
|
Loading…
Reference in New Issue