summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorLibravatar YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>2005-11-25 19:03:05 +0900
committerLibravatar Junio C Hamano <junkio@cox.net>2005-11-25 03:38:41 -0800
commit874fbc332349bb77d8da596d3fef534ad9afc0e9 (patch)
treed82f808a0b502e6fbc8604b0e9bf752ac249864e /git.c
parentcvsimport: Don't let local settings hinder cvs user-migration. (diff)
downloadtgif-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 bdd3f8d01c..0b10b6e781 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);