projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c52a42
)
Fix a warning about unused value.
author
YOSHIFUJI Hideaki / 吉藤英明
<yoshfuji@linux-ipv6.org>
Fri, 25 Nov 2005 10:03:05 +0000
(19:03 +0900)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 25 Nov 2005 11:38:41 +0000
(
03:38
-0800)
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>
git.c
patch
|
blob
|
history
diff --git
a/git.c
b/git.c
index bdd3f8d01c0be5edeccf8b99c98a1cff5d70dbc2..0b10b6e781fdf76a3822b15cfa304352aee812cc 100644
(file)
--- 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);