fix an error path in the (still completely unused) tokenizer

PiperOrigin-RevId: 513948062
pull/13171/head
Eric Salo 2 years ago committed by Copybara-Service
parent dfd5f176f4
commit 184a4758f2
  1. 1
      upb/io/tokenizer.c

@ -884,6 +884,7 @@ upb_StringView upb_Parse_String(const char* text, upb_Arena* arena) {
" have been tokenized as a string: %s",
text);
UPB_ASSERT(0);
return upb_StringView_FromDataAndSize(NULL, 0);
}
// Reserve room for new string.

Loading…
Cancel
Save