MdeModulePkg: loose VA_COPY with no matching VA_END on a return path

In CheckRemainingSpaceForConsistencyInternal, one of the return paths leaves a loose
VA_COPY with no matching VA_END.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zenith432 <zenith432@users.sourceforge.net>
Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
Zenith432 2017-12-10 01:04:38 +08:00 committed by Star Zeng
parent 1c62af9ec1
commit a0460be7e8
1 changed files with 1 additions and 0 deletions

View File

@ -1765,6 +1765,7 @@ CheckRemainingSpaceForConsistencyInternal (
//
// No enough space for Variable[Index].
//
VA_END (Args);
return FALSE;
}
//