ntdll: Remove two if branches with identical bodies.
Michael Stefaniuc
mstefani at redhat.de
Wed Feb 1 03:48:00 CST 2017
Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
---
dlls/ntdll/string.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/dlls/ntdll/string.c b/dlls/ntdll/string.c
index e8d061a..1cfd556 100644
--- a/dlls/ntdll/string.c
+++ b/dlls/ntdll/string.c
@@ -1102,7 +1102,6 @@ static int NTDLL_vsscanf( const char *str, const char *format, __ms_va_list ap)
* force reading WCHAR. */
case 's':
if (w_prefix || l_prefix) goto widecharstring;
- else if (h_prefix) goto charstring;
else goto charstring;
case 'S':
if (w_prefix || l_prefix) goto widecharstring;
@@ -1170,7 +1169,6 @@ static int NTDLL_vsscanf( const char *str, const char *format, __ms_va_list ap)
* above */
case 'c':
if (w_prefix || l_prefix) goto widecharacter;
- else if (h_prefix) goto character;
else goto character;
case 'C':
if (w_prefix || l_prefix) goto widecharacter;
--
2.7.4
More information about the wine-patches
mailing list