Use (and ignore) the expression provided to log_assert in NDEBUG builds.
authorwhitequark <whitequark@whitequark.org>
Wed, 17 Jun 2020 19:30:53 +0000 (19:30 +0000)
committerwhitequark <whitequark@whitequark.org>
Fri, 19 Jun 2020 15:48:58 +0000 (15:48 +0000)
commit2ffdb74fb1b12e9f3730d0f152b795838934547d
tree5b8c8b443fcee553e620a236235cd151a84ed883
parentd5d0cc88d272b85c3be3677993596dcfa82d579f
Use (and ignore) the expression provided to log_assert in NDEBUG builds.

This avoids warnings in NDEBUG builds emitted when a variable is only
used in log_assert, but is always defined.
backends/ilang/ilang_backend.cc
kernel/log.h
kernel/macc.h