diff options
author | Philippe Mathieu-Daudé | 2017-04-08 00:20:14 +0200 |
---|---|---|
committer | Michael Tokarev | 2017-05-07 08:57:51 +0200 |
commit | 21a9ad2f159e4cafd090cc2b47ce322e024c7363 (patch) | |
tree | fbca156db6899b91aab9c89cd6af028617d45be3 /bsd-user/syscall.c | |
parent | usb-ccid: make ccid_write_data_block() cope with null buffers (diff) | |
download | qemu-21a9ad2f159e4cafd090cc2b47ce322e024c7363.tar.gz qemu-21a9ad2f159e4cafd090cc2b47ce322e024c7363.tar.xz qemu-21a9ad2f159e4cafd090cc2b47ce322e024c7363.zip |
device_tree: fix compiler warnings (clang 5)
static code analyzer complain:
device_tree.c:155:18: warning: Null pointer passed as an argument to a 'nonnull' parameter
while ((de = readdir(d)) != NULL) {
^~~~~~~~~~
Reported-by: Clang Static Analyzer
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'bsd-user/syscall.c')
0 files changed, 0 insertions, 0 deletions