|
|
|
|
|
by CJefferson
5274 days ago
|
|
Why do you think the compiler with optimizations will remove the assertion? The compiler will realise that: assert(assert(line != NULL && longest != NULL && "memory error");
Is equivalent to: assert(line != NULL && longest != NULL);
But there doesn't seem anything wrong with that. |
|
(That doesn't make these particular asserts an error).