Skip to content

Commit

Permalink
Merge pull request #6 from maniak-dobrii/semver-1.x
Browse files Browse the repository at this point in the history
[FIX} Replace `-Wunused-value` with -Wunused-variable. (maniak-dobrii)
  • Loading branch information
rentzsch committed May 28, 2013
2 parents f5d4141 + 918f24f commit 4398e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JREnum.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
extern NSString* ENUM_TYPENAME##ToString(int enumValue); \
extern BOOL ENUM_TYPENAME##FromString(NSString *enumLabel, ENUM_TYPENAME *enumValue); \
_Pragma("clang diagnostic push") \
_Pragma("clang diagnostic ignored \"-Wunused-value\"") \
_Pragma("clang diagnostic ignored \"-Wunused-variable\"") \
static NSString *_##ENUM_TYPENAME##_constants_string = @"" #ENUM_CONSTANTS; \
_Pragma("clang diagnostic pop")

Expand Down

0 comments on commit 4398e3f

Please sign in to comment.