Skip to content

Commit 395e0f2

Browse files
committed
MSVC: ignore unreachable code
1 parent 7b57844 commit 395e0f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/yyjson.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
# pragma warning(disable:4101) /* unreferenced variable */
4747
# pragma warning(disable:4102) /* unreferenced label */
4848
# pragma warning(disable:4127) /* conditional expression is constant */
49+
# pragma warning(disable:4702) /* unreachable code */
4950
# pragma warning(disable:4706) /* assignment within conditional expression */
5051
#endif
5152

@@ -342,8 +343,6 @@ uint32_t yyjson_version(void) {
342343
#define YYJSON_READER_DEPTH_LIMIT 0
343344
#endif
344345

345-
346-
347346
/*==============================================================================
348347
* MARK: - Macros (Private)
349348
*============================================================================*/

0 commit comments

Comments
 (0)