From: YOSHIFUJI Hideaki / 吉藤英明 Date: Fri, 25 Nov 2005 10:03:05 +0000 (+0900) Subject: Fix a warning about unused value. X-Git-Tag: v0.99.9k^2~7 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=874fbc332349bb77d8da596d3fef534ad9afc0e9;p=git.git Fix a warning about unused value. Fix a warning: git.c:276: warning: value computed is not used Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: Junio C Hamano --- diff --git a/git.c b/git.c index bdd3f8d0..0b10b6e7 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);