Merge pull request #350 from c0nk/fix-clang-implicit-fallthrough
Fix warnings when compiling with clang and -Wimplicit-fallthrough
This commit is contained in:
commit
1f78bc11ec
@ -109,7 +109,7 @@ RAPIDJSON_DIAG_OFF(effc++)
|
|||||||
#define RAPIDJSON_PARSE_ERROR(parseErrorCode, offset) \
|
#define RAPIDJSON_PARSE_ERROR(parseErrorCode, offset) \
|
||||||
RAPIDJSON_MULTILINEMACRO_BEGIN \
|
RAPIDJSON_MULTILINEMACRO_BEGIN \
|
||||||
RAPIDJSON_PARSE_ERROR_NORETURN(parseErrorCode, offset); \
|
RAPIDJSON_PARSE_ERROR_NORETURN(parseErrorCode, offset); \
|
||||||
RAPIDJSON_PARSE_ERROR_EARLY_RETURN_VOID; \
|
return RAPIDJSON_NOTHING; \
|
||||||
RAPIDJSON_MULTILINEMACRO_END
|
RAPIDJSON_MULTILINEMACRO_END
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user