[PATCH] cmd: Remove redundant comparison.
Andrey Gusev
andrey.goosev at gmail.com
Tue Jan 9 05:25:09 CST 2018
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
programs/cmd/builtins.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/cmd/builtins.c b/programs/cmd/builtins.c
index 0609bb7f3f..14961d7922 100644
--- a/programs/cmd/builtins.c
+++ b/programs/cmd/builtins.c
@@ -2173,7 +2173,7 @@ void WCMD_for (WCHAR *p, CMD_LIST **cmdList) {
}
/* Ensure line continues with variable */
- if (!*thisArg || *thisArg != '%') {
+ if (*thisArg != '%') {
WCMD_output_stderr (WCMD_LoadMessage(WCMD_SYNTAXERR));
return;
}
--
2.13.6
More information about the wine-devel
mailing list