1. Stefan Saasen
  2. git

Commits

YOSHIFUJI Hideaki / 吉藤英明  committed 874fbc3

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>

  • Participants
  • Parent commits 2c52a42
  • Branches master

Comments (0)

Files changed (1)

File git.c

View file
 		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);