Michael Stefaniuc : rpcrt4/tests: Fix duplicate expressions in if conditions.
Alexandre Julliard
julliard at winehq.org
Fri Mar 26 12:11:52 CDT 2010
Module: wine
Branch: master
Commit: 3a8a9620ab4d59e67f3c43e567257f70ef46baac
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3a8a9620ab4d59e67f3c43e567257f70ef46baac
Author: Michael Stefaniuc <mstefani at 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;
More information about the wine-cvs
mailing list