Fix the prediction warnings in DxeMain.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5190 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8
2008-05-09 07:52:58 +00:00
parent 162ed59443
commit 71f68914fa
6 changed files with 23 additions and 23 deletions

View File

@ -358,7 +358,7 @@ CoreCreateEventEx (
//
// If it's a notify type of event, check its parameters
//
if ((Type & (EVT_NOTIFY_WAIT | EVT_NOTIFY_SIGNAL))) {
if ((Type & (EVT_NOTIFY_WAIT | EVT_NOTIFY_SIGNAL)) != 0) {
//
// Check for an invalid NotifyFunction or NotifyTpl
//
@ -381,7 +381,7 @@ CoreCreateEventEx (
// Allcoate and initialize a new event structure.
//
Status = CoreAllocatePool (
(Type & EVT_RUNTIME) ? EfiRuntimeServicesData: EfiBootServicesData,
((Type & EVT_RUNTIME) != 0) ? EfiRuntimeServicesData: EfiBootServicesData,
sizeof (IEVENT),
(VOID **)&IEvent
);
@ -404,7 +404,7 @@ CoreCreateEventEx (
*Event = IEvent;
if (Type & EVT_RUNTIME) {
if ((Type & EVT_RUNTIME) != 0) {
//
// Keep a list of all RT events so we can tell the RT AP.
//