forked from github/server
remove an invalid assert, quiet messages are quiet.
This commit is contained in:
parent
49453a84d9
commit
ae920edab0
|
@ -294,7 +294,6 @@ void free_messagelist(mlist *msgs)
|
||||||
|
|
||||||
message *add_message(message_list ** pm, message * m)
|
message *add_message(message_list ** pm, message * m)
|
||||||
{
|
{
|
||||||
assert(m && m->type);
|
|
||||||
if (m != NULL) {
|
if (m != NULL) {
|
||||||
struct mlist *mnew = malloc(sizeof(struct mlist));
|
struct mlist *mnew = malloc(sizeof(struct mlist));
|
||||||
if (!mnew) abort();
|
if (!mnew) abort();
|
||||||
|
|
Loading…
Reference in New Issue