Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  parse-options: fix clang opterror() -Wunused-value warning
  • Loading branch information
gitster committed Aug 9, 2013
2 parents b48493e + a3bc3d0 commit 96cb27a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parse-options.h
Expand Up @@ -180,7 +180,7 @@ extern NORETURN void usage_msg_opt(const char *msg,

extern int optbug(const struct option *opt, const char *reason);
extern int opterror(const struct option *opt, const char *reason, int flags);
#if defined(__GNUC__) && ! defined(clang)
#if defined(__GNUC__) && ! defined(__clang__)
#define opterror(o,r,f) (opterror((o),(r),(f)), -1)
#endif

Expand Down

0 comments on commit 96cb27a

Please sign in to comment.