rpcrt4/tests: Fix duplicate expressions in if conditions.

This commit is contained in:
Michael Stefaniuc 2010-03-26 13:12:35 +01:00 committed by Alexandre Julliard
parent 5a08c9ed6f
commit 3a8a9620ab
1 changed files with 2 additions and 2 deletions

View File

@ -861,7 +861,7 @@ static int ps1_cmp(const void *s1, const void *s2, size_t num)
if(*p1->pl1 != *p2->pl1) if(*p1->pl1 != *p2->pl1)
return 1; return 1;
} }
else if(p1->pl1 || p1->pl1) else if(p1->pl1 || p2->pl1)
return 1; return 1;
if(p1->pc1 && p2->pc1) if(p1->pc1 && p2->pc1)
@ -869,7 +869,7 @@ static int ps1_cmp(const void *s1, const void *s2, size_t num)
if(*p1->pc1 != *p2->pc1) if(*p1->pc1 != *p2->pc1)
return 1; return 1;
} }
else if(p1->pc1 || p1->pc1) else if(p1->pc1 || p2->pc1)
return 1; return 1;
return 0; return 0;