Browse Source

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>
maint
Ramkumar Ramachandra 13 years ago committed by Junio C Hamano
parent
commit
e4ac953b2a
  1. 2
      git-compat-util.h

2
git-compat-util.h

@ -219,7 +219,7 @@ extern char *gitbasename(char *); @@ -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…
Cancel
Save