Fix warnings when compiling with clang and -Wimplicit-fallthrough

This commit is contained in:
Kal Conley 2015-05-31 20:35:55 +02:00
parent c8c8ad47c3
commit 013b71b92f

View File

@ -109,7 +109,7 @@ RAPIDJSON_DIAG_OFF(effc++)
#define RAPIDJSON_PARSE_ERROR(parseErrorCode, offset) \
RAPIDJSON_MULTILINEMACRO_BEGIN \
RAPIDJSON_PARSE_ERROR_NORETURN(parseErrorCode, offset); \
RAPIDJSON_PARSE_ERROR_EARLY_RETURN_VOID; \
return RAPIDJSON_NOTHING; \
RAPIDJSON_MULTILINEMACRO_END
#endif