git-compat-util: don't assume value for undefined variable
Suggested-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
5e12e78e52
commit
e4ac953b2a
@ -219,7 +219,7 @@ extern char *gitbasename(char *);
|
||||
#define find_last_dir_sep(path) strrchr(path, '/')
|
||||
#endif
|
||||
|
||||
#if __HP_cc >= 61000
|
||||
#if defined(__HP_cc) && (__HP_cc >= 61000)
|
||||
#define NORETURN __attribute__((noreturn))
|
||||
#define NORETURN_PTR
|
||||
#elif defined(__GNUC__) && !defined(NO_NORETURN)
|
||||
|
Loading…
Reference in New Issue
Block a user