summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-01-22 07:12:05 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-01-22 07:12:05 +0000
commite19c2c4a5f1b162c0665fa99473c1946440aa4da (patch)
treeb046c92972de4d59ade9998b30c49ff5e2ba700c /MdePkg
parentdb9c42383fd35d2544c261475bb4ba57cc5cb2d9 (diff)
downloadedk2-platforms-e19c2c4a5f1b162c0665fa99473c1946440aa4da.tar.xz
Suppress the divide-by-zero warning for package validation of MdeModulePkg. The APIs in this library should not be invoked by real platforms.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4608 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Library/BaseTimerLibNullTemplate/TimerLibNull.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseTimerLibNullTemplate/TimerLibNull.c b/MdePkg/Library/BaseTimerLibNullTemplate/TimerLibNull.c
index 85b52bda19..cc27953dbf 100644
--- a/MdePkg/Library/BaseTimerLibNullTemplate/TimerLibNull.c
+++ b/MdePkg/Library/BaseTimerLibNullTemplate/TimerLibNull.c
@@ -112,5 +112,6 @@ GetPerformanceCounterProperties (
)
{
ASSERT (FALSE);
- return 0;
+
+ return (UINT64)(-1);
}