From 915806ea8d0789df6155f6f510e34bdc0a17d093 Mon Sep 17 00:00:00 2001 From: Bo Yang Date: Wed, 12 Dec 2018 06:40:32 +0000 Subject: [PATCH] Remove unused code --- upb/json/printer.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/upb/json/printer.c b/upb/json/printer.c index 7e6393038a..6611581c7d 100644 --- a/upb/json/printer.c +++ b/upb/json/printer.c @@ -692,14 +692,6 @@ void printer_sethandlers_mapentry(const void *closure, bool preserve_fieldnames, upb_handlerattr_uninit(&empty_attr); } -static void *scalar_startstr_any_typeurl(void *closure, const void *handler_data, - size_t size_hint) { - upb_json_printer *p = closure; - UPB_UNUSED(handler_data); - UPB_UNUSED(size_hint); - return p; -} - static bool putseconds(void *closure, const void *handler_data, int64_t seconds) { upb_json_printer *p = closure;