commit | ff20215db27b390e29ca44e5a63d9e870fa7825d | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <neels@hofmeyr.de> | Tue Sep 26 13:35:23 2017 +0200 |
committer | Neels Hofmeyr <neels@hofmeyr.de> | Thu Oct 05 15:30:05 2017 +0200 |
tree | ba773f14c726fbefa5eccb1c65acbceef4b5ef98 | |
parent | 2da93fc05be36b4494f5903af727a044c2dccdd1 [diff] |
add ';' after OSMO_ASSERT() Currently, OSMO_ASSERT() is defined such that it ends in a semicolon, hence an added ';' is redundant. However, the usual way this kind of macro should be defined is #define OSMO_ASSERT(x) do { ... } while(0) so that the compiler requires a trailing semicolon. To prepare for such a change possibly coming up in libosmocore, add ';' to all OSMO_ASSERT() users. Change-Id: If6dce81faee9177737a6e1b572a871aaf7e37138