]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Suppress the divide-by-zero warning for package validation of MdeModulePkg. The APIs...
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 22 Jan 2008 07:12:05 +0000 (07:12 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 22 Jan 2008 07:12:05 +0000 (07:12 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4608 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/BaseTimerLibNullTemplate/TimerLibNull.c

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