Skip to content

Commit 96cb27a

Browse files
committed
Merge branch 'maint'
* maint: parse-options: fix clang opterror() -Wunused-value warning
2 parents b48493e + a3bc3d0 commit 96cb27a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parse-options.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ extern NORETURN void usage_msg_opt(const char *msg,
180180

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

0 commit comments

Comments
 (0)