aboutsummaryrefslogtreecommitdiff
path: root/qemu-queue.h
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2011-04-03 18:22:45 +0200
committerAurelien Jarno <aurelien@aurel32.net>2011-04-27 16:28:09 +0200
commit70afb8ff90e9d922ed729e6dbabaff6d67c461aa (patch)
tree1490038e6c0cd947a2c64bfbec40ecdd68ffb3d2 /qemu-queue.h
parentaa348082d8e89d2ab021caadbcc97c93038fffb2 (diff)
darwin-user: Remove unneeded null pointer check
cppcheck reports this error: commpage.c:223: error: Possible null pointer dereference: value - otherwise it is redundant to check if value is null at line 214 The null pointer check in line 214 is indeed not needed. If value were null, the code would crash in line 223. See do_compare_and_swap64 were for a reference. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'qemu-queue.h')
0 files changed, 0 insertions, 0 deletions