summary refs log tree commit diff
path: root/all.h
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-09-04 17:23:53 -0700
committerQuentin Carbonneaux <quentin@c9x.me>2021-09-07 08:31:48 +0200
commit649a546d702b41474fe76e9c779086cc8d35f3d2 (patch)
tree71ff9c3fdcf2931865aca4a8c3d8c9b1b723b5f5 /all.h
parent028534d9897079bf64559dca0402bc59a956ce46 (diff)
downloadroux-649a546d702b41474fe76e9c779086cc8d35f3d2.tar.gz
test: assign result of print functions to temporary
Though I am not aware of any architecture where this matters, it
is technically incorrect to call these stdio functions as if they
had no result.

The QBE documentation says

> Unless the called function does not return a value, a return
> temporary must be specified, even if it is never used afterwards.

so we should follow it in the tests as well.
Diffstat (limited to 'all.h')
0 files changed, 0 insertions, 0 deletions