Module: wine Branch: master Commit: 3e005ce91516f6a548a871cc735fef2b813f9b0d URL: http://source.winehq.org/git/wine.git/?a=commit;h=3e005ce91516f6a548a871cc73...
Author: Michael Stefaniuc mstefani@redhat.de Date: Mon Dec 10 11:47:36 2007 +0100
crypt32: Do not use an empty body in an else-statement as documentation.
---
dlls/crypt32/chain.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/crypt32/chain.c b/dlls/crypt32/chain.c index 5724541..65ca674 100644 --- a/dlls/crypt32/chain.c +++ b/dlls/crypt32/chain.c @@ -523,8 +523,8 @@ static BOOL dns_name_matches(LPCWSTR constraint, LPCWSTR name, else if (lstrlenW(name) >= lstrlenW(constraint)) match = !lstrcmpiW(name + lstrlenW(name) - lstrlenW(constraint), constraint); - else - ; /* name is too short, no match */ + /* else: name is too short, no match */ + return match; }
@@ -550,8 +550,8 @@ static BOOL ip_address_matches(const CRYPT_DATA_BLOB *constraint, */ match = (subnet & mask) == (addr & mask); } - else - ; /* name is wrong size, no match */ + /* else: name is wrong size, no match */ + return match; }