mapi32: Remove superfluous TRUE:FALSE conditional expressions.
This commit is contained in:
parent
d94eaa3b20
commit
6740d340c6
|
@ -417,12 +417,12 @@ BOOL WINAPI FPropCompareProp(LPSPropValue lpPropLeft, ULONG ulOp, LPSPropValue l
|
|||
|
||||
switch (ulOp)
|
||||
{
|
||||
case RELOP_LT: return iCmp < 0 ? TRUE : FALSE;
|
||||
case RELOP_LE: return iCmp <= 0 ? TRUE : FALSE;
|
||||
case RELOP_GT: return iCmp > 0 ? TRUE : FALSE;
|
||||
case RELOP_GE: return iCmp >= 0 ? TRUE : FALSE;
|
||||
case RELOP_EQ: return iCmp == 0 ? TRUE : FALSE;
|
||||
case RELOP_NE: return iCmp != 0 ? TRUE : FALSE;
|
||||
case RELOP_LT: return iCmp < 0;
|
||||
case RELOP_LE: return iCmp <= 0;
|
||||
case RELOP_GT: return iCmp > 0;
|
||||
case RELOP_GE: return iCmp >= 0;
|
||||
case RELOP_EQ: return iCmp == 0;
|
||||
case RELOP_NE: return iCmp != 0;
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
@ -488,7 +488,7 @@ BOOL WINAPI FEqualNames(LPMAPINAMEID lpName1, LPMAPINAMEID lpName2)
|
|||
if (lpName1->ulKind == MNID_STRING)
|
||||
return !strcmpW(lpName1->Kind.lpwstrName, lpName2->Kind.lpwstrName);
|
||||
|
||||
return lpName1->Kind.lID == lpName2->Kind.lID ? TRUE : FALSE;
|
||||
return lpName1->Kind.lID == lpName2->Kind.lID;
|
||||
}
|
||||
|
||||
/**************************************************************************
|
||||
|
|
Loading…
Reference in New Issue