]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/VfrCompile/VfrError.cpp
Sync basetools' source and binary files with r1707 of the basetools project.
[mirror_edk2.git] / BaseTools / Source / C / VfrCompile / VfrError.cpp
index b24cc725f047274ba7f2791548b0f572f7762ef4..963bd2da42698659559d1920352cc4cd402eb39e 100644 (file)
@@ -201,7 +201,11 @@ CVfrErrorHandle::PrintMsg (
 {\r
   CHAR8                  *FileName = NULL;\r
   UINT32                 FileLine;\r
-\r
+  \r
+  if (strncmp ("Warning", MsgType, strlen ("Warning")) == 0) {\r
+    VerboseMsg (ErrorMsg);\r
+    return;\r
+  }\r
   GetFileNameLineNum (LineNum, &FileName, &FileLine);\r
   Error (FileName, FileLine, 0x3000, TokName, "\t%s\n", ErrorMsg);\r
 }\r