Michael Stefaniuc : rpcrt4/tests: Fix duplicate expressions in if conditions.
Module: wine Branch: master Commit: 3a8a9620ab4d59e67f3c43e567257f70ef46baac URL: http://source.winehq.org/git/wine.git/?a=commit;h=3a8a9620ab4d59e67f3c43e567... Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Fri Mar 26 13:12:35 2010 +0100 rpcrt4/tests: Fix duplicate expressions in if conditions. --- dlls/rpcrt4/tests/ndr_marshall.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/rpcrt4/tests/ndr_marshall.c b/dlls/rpcrt4/tests/ndr_marshall.c index b5987dc..569bd20 100644 --- a/dlls/rpcrt4/tests/ndr_marshall.c +++ b/dlls/rpcrt4/tests/ndr_marshall.c @@ -861,7 +861,7 @@ static int ps1_cmp(const void *s1, const void *s2, size_t num) if(*p1->pl1 != *p2->pl1) return 1; } - else if(p1->pl1 || p1->pl1) + else if(p1->pl1 || p2->pl1) return 1; 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) return 1; } - else if(p1->pc1 || p1->pc1) + else if(p1->pc1 || p2->pc1) return 1; return 0;
participants (1)
-
Alexandre Julliard