diff options
Diffstat (limited to 'src/upb_decoder.c')
-rw-r--r-- | src/upb_decoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upb_decoder.c b/src/upb_decoder.c index 47e67b6..40ab790 100644 --- a/src/upb_decoder.c +++ b/src/upb_decoder.c @@ -346,8 +346,8 @@ void upb_decoder_run(upb_src *src, upb_status *status) { //const char *ptr = d->ptr; // Decodes as many fields as possible, updating d->ptr appropriately, // before falling through to the slow(er) path. - const char *end = UPB_MIN(d->end, d->submsg_end); #ifdef USE_ASSEMBLY_FASTPATH + const char *end = UPB_MIN(d->end, d->submsg_end); fastdecode_ret ret = upb_fastdecode(d->ptr, end, d->dispatcher.top->handlers.set->value, d->dispatcher.top->handlers.closure, |