Merge branch 'jk/suppress-clang-warning'
* jk/suppress-clang-warning: fix clang -Wunused-value warnings for error functions
This commit is contained in:
2
cache.h
2
cache.h
@ -1147,7 +1147,7 @@ extern int check_repository_format_version(const char *var, const char *value, v
|
||||
extern int git_env_bool(const char *, int);
|
||||
extern int git_config_system(void);
|
||||
extern int config_error_nonbool(const char *);
|
||||
#ifdef __GNUC__
|
||||
#if defined(__GNUC__) && ! defined(__clang__)
|
||||
#define config_error_nonbool(s) (config_error_nonbool(s), -1)
|
||||
#endif
|
||||
extern const char *get_log_output_encoding(void);
|
||||
|
||||
Reference in New Issue
Block a user