Suppress the divide-by-zero warning for package validation of MdeModulePkg. The APIs...
authorqhuang8 <qhuang8@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 22 Jan 2008 07:12:05 +0000 (07:12 +0000)
committerqhuang8 <qhuang8@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 22 Jan 2008 07:12:05 +0000 (07:12 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@4608 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/MdePkg/Library/BaseTimerLibNullTemplate/TimerLibNull.c

index 85b52bd..cc27953 100644 (file)
@@ -112,5 +112,6 @@ GetPerformanceCounterProperties (
   )\r
 {\r
   ASSERT (FALSE);\r
-  return 0;\r
+\r
+  return (UINT64)(-1);\r
 }\r