Enable all remaning assertions (#1453)

This commit is contained in:
Anders Jenbo 2021-04-10 13:25:05 +02:00 committed by GitHub
commit ba6b031fa1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 22 additions and 21 deletions

View file

@ -261,7 +261,7 @@ Uint32 sync_update(int pnum, const Uint8 *pbBuf)
app_fatal("bad sync command");
}
/// ASSERT: assert(gbBufferMsgs != BUFFER_PROCESS);
assert(gbBufferMsgs != 2);
if (gbBufferMsgs == 1) {
return pHdr->wLen + sizeof(*pHdr);