Skip to content

Commit e4ac953

Browse files
artagnongitster
authored andcommitted
git-compat-util: don't assume value for undefined variable
Suggested-by: Thomas Rast <[email protected]> Signed-off-by: Ramkumar Ramachandra <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5e12e78 commit e4ac953

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-compat-util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ extern char *gitbasename(char *);
219219
#define find_last_dir_sep(path) strrchr(path, '/')
220220
#endif
221221

222-
#if __HP_cc >= 61000
222+
#if defined(__HP_cc) && (__HP_cc >= 61000)
223223
#define NORETURN __attribute__((noreturn))
224224
#define NORETURN_PTR
225225
#elif defined(__GNUC__) && !defined(NO_NORETURN)

0 commit comments

Comments
 (0)