Add LOGGER_ASSERT for checking fatal error conditions.#1230
Conversation
There was a problem hiding this comment.
Reviewable status: 0 of 1 approvals obtained (waiting on @iphydf)
toxcore/logger.c, line 107 at r1 (raw file):
log = &logger_stderr; #else fprintf(stderr, "NULL logger not permitted\n");
Since this is a direct fprintf statement, punctuation would be appropriate, no?
toxcore/tox.c, line 1135 at r1 (raw file):
set_message
I get that the case is here for documentation purposes but it's still superfluous
hugbubby
left a comment
There was a problem hiding this comment.
Reviewable status: 1 change requests, 0 of 1 approvals obtained (waiting on @iphydf)
toxcore/tox.c, line 1135 at r1 (raw file):
Previously, hugbubby wrote…
set_messageI get that the case is here for documentation purposes but it's still superfluous
(meant to point to case -5: and not set_message)
iphydf
left a comment
There was a problem hiding this comment.
Reviewable status: 1 change requests, 0 of 1 approvals obtained (waiting on @hugbubby)
toxcore/logger.h, line 103 at r1 (raw file):
Previously, hugbubby wrote…
Capitalize the A here
Done.
toxcore/logger.c, line 107 at r1 (raw file):
Previously, hugbubby wrote…
Since this is a direct fprintf statement, punctuation would be appropriate, no?
Done.
toxcore/tox.c, line 1135 at r1 (raw file):
Previously, hugbubby wrote…
(meant to point to case -5: and not set_message)
Done.
hugbubby
left a comment
There was a problem hiding this comment.
Reviewed 3 of 3 files at r2.
Reviewable status: 1 change requests, 0 of 1 approvals obtained
|
Wouldn't know what Travis is complaining about, but I approved it because it LGTM |
These are not compiled out under `NDEBUG` and should be provably correct.
174585f to
aa5c782
Compare
These are not compiled out under
NDEBUGand should be provably correct.This change is