summaryrefslogtreecommitdiff
path: root/upb/pb
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2015-05-16 13:46:48 -0700
committerJosh Haberman <jhaberman@gmail.com>2015-05-16 14:18:22 -0700
commite087947c84ee6b7d86abe9585ee51efee7595a26 (patch)
treea7ca60b66be0f428645b15f71a7b1c4e190ddcf1 /upb/pb
parent93791bfe65d210385ab1fb1eb1ccd77fca18b2bf (diff)
Enabled asserts() and verbosity for most Travis builds.
Also added a separate ndebug build for testing that -DNDEBUG builds still work. Also disabled reference debugging by default, since it requires either a global lock or -DUPB_THREAD_UNSAFE.
Diffstat (limited to 'upb/pb')
-rw-r--r--upb/pb/decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/upb/pb/decoder.c b/upb/pb/decoder.c
index c37953a..0c3955a 100644
--- a/upb/pb/decoder.c
+++ b/upb/pb/decoder.c
@@ -874,7 +874,7 @@ bool upb_pbdecoder_end(void *closure, const void *handler_data) {
assert(getop(*d->pc) == OP_TAG1 ||
getop(*d->pc) == OP_TAG2 ||
getop(*d->pc) == OP_TAGN ||
- getop(*d->pc == OP_DISPATCH));
+ getop(*d->pc) == OP_DISPATCH);
d->pc = p;
}
upb_pbdecoder_decode(closure, handler_data, &dummy, 0, NULL);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback