aboutsummaryrefslogtreecommitdiff
path: root/test_crypto.c
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2016-06-22 23:29:15 +0200
committerMarkus Teich <markus.teich@stusta.mhn.de>2016-06-22 23:29:15 +0200
commit42c804470c346fc0f796464d3adec9768a2bcc26 (patch)
tree4a2e7aa72d535ff8868e6679866162ff44010ea4 /test_crypto.c
parent0fc7fb86b84e16daeabaea1fea455e65cc48b66e (diff)
fix warning with unused return codes only used in assertions.
It's common knowledge to not cause any writes inside an assertion condition since they are not guaranteed to be executed, so we can still evaluate them and cast to void, which the compiler can optimize away. It's better than having a `(void)rc;` for every variable that is only used in assertions.
Diffstat (limited to 'test_crypto.c')
0 files changed, 0 insertions, 0 deletions