Correct two mistakes when converting asserts to PJDLOG_ASSERT()/PJDLOG_ABORT().
MFC after: 3 days
This commit is contained in:
parent
571fdd7e47
commit
09c2e8431a
@ -1421,8 +1421,7 @@ remote_send_thread(void *arg)
|
||||
length = 0;
|
||||
break;
|
||||
default:
|
||||
PJDLOG_ASSERT(!"invalid condition");
|
||||
abort();
|
||||
PJDLOG_ABORT("invalid condition");
|
||||
}
|
||||
nv = nv_alloc();
|
||||
nv_add_uint8(nv, cmd, "cmd");
|
||||
@ -1621,8 +1620,7 @@ remote_recv_thread(void *arg)
|
||||
case BIO_FLUSH:
|
||||
break;
|
||||
default:
|
||||
PJDLOG_ASSERT(!"invalid condition");
|
||||
abort();
|
||||
PJDLOG_ABORT("invalid condition");
|
||||
}
|
||||
hio->hio_errors[ncomp] = 0;
|
||||
nv_free(nv);
|
||||
|
Loading…
Reference in New Issue
Block a user