qemu-e2k/util
Markus Armbruster 84d18f065f Use error_is_set() only when necessary
error_is_set(&var) is the same as var != NULL, but it takes
whole-program analysis to figure that out.  Unnecessarily hard for
optimizers, static checkers, and human readers.  Dumb it down to
obvious.

Gets rid of several dozen Coverity false positives.

Note that the obvious form is already used in many places.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2014-02-17 11:57:23 -05:00
..
acl.c
aes.c
bitmap.c bitmap: use long as index 2014-01-13 14:04:53 +01:00
bitops.c
cache-utils.c util: Use qemu_getauxval in linux qemu_cache_utils_init 2013-11-30 07:45:30 +13:00
compatfd.c
crc32c.c
cutils.c
envlist.c
error.c Revert "error: Don't use error_report() for assertion msgs." 2014-01-17 09:50:11 +10:00
event_notifier-posix.c
event_notifier-win32.c
fifo8.c util/fifo8: clear fifo head upon reset 2014-02-08 14:50:48 +00:00
getauxval.c
hbitmap.c
hexdump.c
host-utils.c
iov.c
Makefile.objs readline: move readline to a generic location 2014-01-22 12:07:17 +01:00
module.c
notify.c
osdep.c osdep: drop unused #include "trace.h" 2014-02-01 13:42:38 +04:00
oslib-posix.c qemu_memalign: Allow small alignments 2014-01-24 17:40:01 +01:00
oslib-win32.c osdep: add qemu_set_tty_echo() 2014-01-22 12:07:17 +01:00
path.c
qemu-config.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
qemu-error.c
qemu-openpty.c
qemu-option.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
qemu-progress.c qemu-progress: Fix progress printing on SIGUSR1 2014-01-24 14:33:00 +01:00
qemu-sockets.c qemu-option: Remove qemu_opts_create_nofail 2014-01-06 15:02:30 -05:00
qemu-thread-posix.c
qemu-thread-win32.c
qemu-timer-common.c
readline.c readline: move readline to a generic location 2014-01-22 12:07:17 +01:00
throttle.c
unicode.c
uri.c