Commit 3a8a9620 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

rpcrt4/tests: Fix duplicate expressions in if conditions.

parent 5a08c9ed
...@@ -861,7 +861,7 @@ static int ps1_cmp(const void *s1, const void *s2, size_t num) ...@@ -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) ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment