common: Turn assertions into expressions.
authorJustus Winter <justus@g10code.com>
Mon, 2 Jan 2017 15:30:45 +0000 (16:30 +0100)
committerJustus Winter <justus@g10code.com>
Mon, 2 Jan 2017 17:23:34 +0000 (18:23 +0100)
commita1e0d4a1e75fc6e6c3392a4e1d1d27005b38d6cc
tree7287d933527f021bb155497c04bade7e8b2375cb
parent6d065198337b5242889723481bfa9ce81aa108bb
common: Turn assertions into expressions.

* common/logging.h (log_assert): Turn this into an expression so it
can be used in expressions.

Signed-off-by: Justus Winter <justus@g10code.com>
common/logging.h