summaryrefslogtreecommitdiff
path: root/BaseTools/Source/C/VfrCompile/VfrError.cpp
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-09-11 03:14:43 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-09-11 03:14:43 +0000
commitfd171542e0aa89ac12a09d79608173f48019b14b (patch)
treeb4e1320ab3bc1cb59355f9fcbc361f84ae0c4f0a /BaseTools/Source/C/VfrCompile/VfrError.cpp
parentf22911b49e8be58d364f9e21f5af6bd3f0513cf7 (diff)
downloadedk2-fd171542e0aa89ac12a09d79608173f48019b14b.zip
edk2-fd171542e0aa89ac12a09d79608173f48019b14b.tar.gz
edk2-fd171542e0aa89ac12a09d79608173f48019b14b.tar.bz2
Sync basetools' source and binary files with r1707 of the basetools project.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9257 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Source/C/VfrCompile/VfrError.cpp')
-rw-r--r--BaseTools/Source/C/VfrCompile/VfrError.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/BaseTools/Source/C/VfrCompile/VfrError.cpp b/BaseTools/Source/C/VfrCompile/VfrError.cpp
index b24cc72..963bd2d 100644
--- a/BaseTools/Source/C/VfrCompile/VfrError.cpp
+++ b/BaseTools/Source/C/VfrCompile/VfrError.cpp
@@ -201,7 +201,11 @@ CVfrErrorHandle::PrintMsg (
{
CHAR8 *FileName = NULL;
UINT32 FileLine;
-
+
+ if (strncmp ("Warning", MsgType, strlen ("Warning")) == 0) {
+ VerboseMsg (ErrorMsg);
+ return;
+ }
GetFileNameLineNum (LineNum, &FileName, &FileLine);
Error (FileName, FileLine, 0x3000, TokName, "\t%s\n", ErrorMsg);
}