diff options
author | YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org> | 2005-11-25 19:03:05 +0900 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-25 03:38:41 -0800 |
commit | 874fbc332349bb77d8da596d3fef534ad9afc0e9 (patch) | |
tree | d82f808a0b502e6fbc8604b0e9bf752ac249864e /git.c | |
parent | 2c52a42dd720ed3cf1eadbc4a4e92be4cdf52f1d (diff) | |
download | git-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |