From e82e058d3ad1d50fbb99fac8630ad7b511ca4abe Mon Sep 17 00:00:00 2001 From: Timo Hirvonen Date: Wed, 28 Jun 2006 12:15:00 +0300 Subject: [PATCH] GIT_TRACE: fix a mixed declarations and code warning Signed-off-by: Timo Hirvonen Signed-off-by: Junio C Hamano --- exec_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2