aboutsummaryrefslogtreecommitdiff
path: root/json.c
diff options
context:
space:
mode:
Diffstat (limited to 'json.c')
-rw-r--r--json.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/json.c b/json.c
index 22a3ae2..f099554 100644
--- a/json.c
+++ b/json.c
@@ -11,6 +11,7 @@
// `comma` is used to track whether a comma will need to be printed before the
// next object or not.
//
+__attribute__((nonnull))
static int _json_match(const char *text, match_t *m, int comma, int verbose)
{
if (!verbose) {