=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: cmd: Avoid dead assignment ( Clang).
Alexandre Julliard
julliard at winehq.org
Wed Dec 7 13:57:14 CST 2011
Module: wine
Branch: master
Commit: 15f65a0792e3863cdca7fb077d5e25f3da4a60eb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=15f65a0792e3863cdca7fb077d5e25f3da4a60eb
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Wed Dec 7 12:46:17 2011 +0100
cmd: Avoid dead assignment (Clang).
---
programs/cmd/wcmdmain.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/cmd/wcmdmain.c b/programs/cmd/wcmdmain.c
index 2d50c33..d82427a 100644
--- a/programs/cmd/wcmdmain.c
+++ b/programs/cmd/wcmdmain.c
@@ -838,7 +838,7 @@ static void handleExpansion(WCHAR *cmd, BOOL justFors,
/* Replace use of %* if in batch program*/
} else if (!justFors && context && *(p+1)=='*') {
WCHAR *startOfParms = NULL;
- t = WCMD_parameter(context -> command, 1, &startOfParms, NULL);
+ WCMD_parameter(context -> command, 1, &startOfParms, NULL);
if (startOfParms != NULL)
WCMD_strsubstW(p, p+2, startOfParms, -1);
else
More information about the wine-cvs
mailing list