aboutsummaryrefslogtreecommitdiff
path: root/pc-bios
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2021-01-28 22:17:27 +0000
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2021-02-07 20:38:20 +0000
commitf71407ed2fe7a66aa52b1c49a0ebba311d887376 (patch)
tree773b3edfd1535f2e1ebd414292a9cb153b69f4e0 /pc-bios
parent5b19cb63d9dfda41b412373b8c9fe14641bcab60 (diff)
downloadqemu-f71407ed2fe7a66aa52b1c49a0ebba311d887376.zip
qemu-f71407ed2fe7a66aa52b1c49a0ebba311d887376.tar.gz
qemu-f71407ed2fe7a66aa52b1c49a0ebba311d887376.tar.bz2
utils/fifo8: change fatal errors from abort() to assert()
Developer errors are better represented with assert() rather than abort(). Also improve the strictness of the checks by using range checks within the assert() rather than converting the existing equality checks to inequality checks. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20210121102518.20112-1-mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'pc-bios')
0 files changed, 0 insertions, 0 deletions