From 228872a5c68938c56eb9d4ecd2413865b5277fe1 Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Tue, 28 May 2013 15:26:44 -0700 Subject: Fixes to compile on GCC 4.2, as shipped with XCode. --- upb/descriptor/reader.c | 1 + 1 file changed, 1 insertion(+) (limited to 'upb/descriptor/reader.c') diff --git a/upb/descriptor/reader.c b/upb/descriptor/reader.c index e1b0c92..43bbdea 100644 --- a/upb/descriptor/reader.c +++ b/upb/descriptor/reader.c @@ -296,6 +296,7 @@ static bool enum_startmsg(void *closure, const void *hd) { } static bool enum_endmsg(void *closure, const void *hd, upb_status *status) { + UPB_UNUSED(hd); upb_descreader *r = closure; upb_enumdef *e = upb_downcast_enumdef_mutable(upb_descreader_last(r)); if (upb_def_fullname(upb_descreader_last(r)) == NULL) { -- cgit v1.2.3