aboutsummaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>2005-11-25 19:03:05 +0900
committerJunio C Hamano <junkio@cox.net>2005-11-25 03:38:41 -0800
commit874fbc332349bb77d8da596d3fef534ad9afc0e9 (patch)
treed82f808a0b502e6fbc8604b0e9bf752ac249864e /git.c
parent2c52a42dd720ed3cf1eadbc4a4e92be4cdf52f1d (diff)
downloadgit-874fbc332349bb77d8da596d3fef534ad9afc0e9.tar.gz
git-874fbc332349bb77d8da596d3fef534ad9afc0e9.tar.xz
Fix a warning about unused value.
Fix a warning: git.c:276: warning: value computed is not used Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git.c')
-rw-r--r--git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.c b/git.c
index bdd3f8d01..0b10b6e78 100644
--- a/git.c
+++ b/git.c
@@ -273,7 +273,7 @@ int main(int argc, char **argv, char **envp)
while (!strncmp(exec_path, "./", 2)) {
exec_path += 2;
while (*exec_path == '/')
- *exec_path++;
+ exec_path++;
}
snprintf(git_command + len, sizeof(git_command) - len,
"/%s", exec_path);