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-861f7616d084
master
Giel van Schijndel 2008-04-05 16:24:45 +00:00
parent 3dafc4e62a
commit 80917fb4a9
1 changed files with 3 additions and 1 deletions

View File

@ -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;