From 70293f5faabe08fc9bdef26ad0b1d6afe19e8f79 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sat, 11 May 2013 17:56:13 -0700 Subject: Open source fixes: builds on OS X again. --- upb/pb/decoder.c | 1 - 1 file changed, 1 deletion(-) (limited to 'upb/pb') diff --git a/upb/pb/decoder.c b/upb/pb/decoder.c index 2bfc717..da4c48d 100644 --- a/upb/pb/decoder.c +++ b/upb/pb/decoder.c @@ -290,7 +290,6 @@ static void suspendjmp(upb_pbdecoder *d) { } static void advancetobuf(upb_pbdecoder *d, const char *buf, size_t len) { - assert(len >= 0); assert(d->ptr == d->end); d->bufstart_ofs += (d->ptr - d->buf); switchtobuf(d, buf, buf + len); -- cgit v1.2.3