From: Timo Hirvonen Date: Wed, 28 Jun 2006 09:15:00 +0000 (+0300) Subject: GIT_TRACE: fix a mixed declarations and code warning X-Git-Tag: v1.4.2-rc1~26^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e82e058d3ad1d50fbb99fac8630ad7b511ca4abe;p=git.git GIT_TRACE: fix a mixed declarations and code warning Signed-off-by: Timo Hirvonen Signed-off-by: Junio C Hamano --- diff --git a/exec_cmd.c b/exec_cmd.c index f2133ec93..62f51fcd6 100644 --- a/exec_cmd.c +++ b/exec_cmd.c @@ -98,8 +98,8 @@ int execv_git_cmd(const char **argv) argv[0] = git_command; if (getenv("GIT_TRACE")) { - fputs("trace: exec:", stderr); const char **p = argv; + fputs("trace: exec:", stderr); while (*p) { fputc(' ', stderr); sq_quote_print(stderr, *p);