1
0
Fork 0

Only print on load failure if its not missing.

This commit is contained in:
ZehMatt 2017-12-20 14:04:49 +01:00 committed by Duncan Ogilvie
parent b07611387f
commit 4a1327a896
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
1 changed files with 4 additions and 1 deletions

View File

@ -151,7 +151,10 @@ bool PDBDiaFile::open(const wchar_t* file, uint64_t loadAddress, DiaValidationDa
if(testError(hr))
{
printf("Unable to open PDB file - %08X\n", hr);
if(hr != E_PDB_NOT_FOUND)
{
printf("Unable to open PDB file - %08X\n", hr);
}
return false;
}