Update BasePeCoff to Initialize the debug field to zero.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8243 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2009-05-06 03:17:45 +00:00
parent 57cca89e0a
commit 1a82ed3d0a
1 changed files with 4 additions and 3 deletions

View File

@ -254,8 +254,9 @@ PeCoffLoaderGetImageInfo (
ImageContext->DestinationAddress = 0;
//
// Initialize the codeview pointer.
// Initialize the debug codeview pointer.
//
ImageContext->DebugDirectoryEntryRva = 0;
ImageContext->CodeView = NULL;
ImageContext->PdbPointer = NULL;