# [PATCH] Fix a mixed declarations and code warning

1 messages from 2006-06-28 to 2006-06-28. Participants: Timo Hirvonen.
Thread: https://gitlist.dev/t/4692

## Timo Hirvonen, 2006-06-28 09:15

Subject: [PATCH] Fix a mixed declarations and code warning
Message-ID: <20060628121500.3c61b120.tihirvon@gmail.com>
URL: https://gitlist.dev/e/20060628121500.3c61b120.tihirvon%40gmail.com

```
Signed-off-by: Timo Hirvonen <tihirvon@gmail.com>
---

  NOTE: This is for the pu branch

 exec_cmd.c |    2 +-
 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);
-- 
1.4.1.rc1.g1ef9

```
