include/list.h:224:17: warning: ISO C forbids omitting the middle term of a ?: expression [-pedantic]
include/list.h:255:19: warning: ISO C forbids omitting the middle term of a ?: expression [-pedantic]
Compilation warned about that at least 110 times.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
}
tail = tail->next;
}
- tail->next = a?:b;
+ tail->next = a ? a : b;
return head.next;
}
}
tail = tail->next;
}
- tail->next = a ? : b;
+ tail->next = a ? a : b;
do {
/*