Skip to content

Commit 9ca82a6

Browse files
author
James McLaughlin
committed
Remove explicit initialization of json_value_none
1 parent 5f27810 commit 9ca82a6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

json.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,7 @@
3535
#endif
3636
#endif
3737

38-
#ifdef __cplusplus
39-
const struct _json_value json_value_none; /* zero-d by ctor */
40-
#else
41-
const struct _json_value json_value_none = { 0 };
42-
#endif
38+
const struct _json_value json_value_none;
4339

4440
#include <stdio.h>
4541
#include <string.h>

0 commit comments

Comments
 (0)