summaryrefslogtreecommitdiff
path: root/exec_cmd.c
diff options
context:
space:
mode:
authorTimo Hirvonen <tihirvon@gmail.com>2006-06-28 09:15:00 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-07-09 07:57:23 (GMT)
commite82e058d3ad1d50fbb99fac8630ad7b511ca4abe (patch)
treef15f7e421e6e01fcdbc824a71a26a41131700841 /exec_cmd.c
parent575ba9d69d5dfd07d95343fe946a5991c4cb27d6 (diff)
downloadgit-e82e058d3ad1d50fbb99fac8630ad7b511ca4abe.zip
git-e82e058d3ad1d50fbb99fac8630ad7b511ca4abe.tar.gz
git-e82e058d3ad1d50fbb99fac8630ad7b511ca4abe.tar.bz2
GIT_TRACE: fix a mixed declarations and code warning
Signed-off-by: Timo Hirvonen <tihirvon@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'exec_cmd.c')
-rw-r--r--exec_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec_cmd.c b/exec_cmd.c
index f2133ec..62f51fc 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);