summaryrefslogtreecommitdiff
path: root/upb
diff options
context:
space:
mode:
authorBo Yang <teboring@google.com>2018-12-12 06:43:00 +0000
committerBo Yang <teboring@google.com>2018-12-12 06:43:00 +0000
commit375a25423ee0e5bf5bd53ae965a534e289335582 (patch)
tree625fef8bf4ad5d3c100bce34ff32dcd2f356c737 /upb
parent915806ea8d0789df6155f6f510e34bdc0a17d093 (diff)
Mark unused parameter
Diffstat (limited to 'upb')
-rw-r--r--upb/json/printer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/upb/json/printer.c b/upb/json/printer.c
index 6611581..9805c23 100644
--- a/upb/json/printer.c
+++ b/upb/json/printer.c
@@ -963,6 +963,8 @@ void printer_sethandlers_any(const void *closure, upb_handlers *h) {
upb_handlers_setstartstr(h, value_field, scalar_startstr_onlykey,
&value_name_attr);
+
+ UPB_UNUSED(closure);
}
/* Set up handlers for a duration submessage. */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback