diff options
author | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-13 03:30:59 +0000 |
---|---|---|
committer | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-13 03:30:59 +0000 |
commit | 0c16f340a867d1636ef776dae034c48c95720386 (patch) | |
tree | fc08f32cb2ebe67c639be665705ca27f9d9c0844 /IntelFrameworkModulePkg/Universal/SectionExtractionDxe | |
parent | 09f8b4e251427d009f0b9a32b7265d7b4b8a5caa (diff) | |
download | edk2-platforms-0c16f340a867d1636ef776dae034c48c95720386.tar.xz |
Minor code enhancement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9724 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Universal/SectionExtractionDxe')
-rw-r--r-- | IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtraction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtraction.c b/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtraction.c index 6d78a68dd6..6bab4db1f0 100644 --- a/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtraction.c +++ b/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtraction.c @@ -1000,6 +1000,7 @@ FindChildNode ( }
}
+ ASSERT (CurrentChildNode != NULL);
if (CurrentChildNode->EncapsulatedStreamHandle != NULL_STREAM_HANDLE) {
//
// If the current node is an encapsulating node, recurse into it...
@@ -1054,7 +1055,6 @@ FindChildNode ( if (EFI_ERROR (Status)) {
return Status;
}
- ASSERT (CurrentChildNode != NULL);
} else {
ASSERT (EFI_ERROR (ErrorStatus));
return ErrorStatus;
|