resolve several possible null pointer dereference
authorIlya Shipitsin <chipitsine@gmail.com>
Sat, 24 Mar 2018 12:46:39 +0000 (17:46 +0500)
committerIlya Shipitsin <chipitsine@gmail.com>
Sat, 24 Mar 2018 12:46:39 +0000 (17:46 +0500)
commit14c15c680d50db831f780c97823535f8b2fc14b9
tree411c3f5746c65405e6212eaf28d119f5e83a4684
parent68c4bab68f3a279833a51b5b53421a48a43ac281
resolve several possible null pointer dereference

issue detected by cppcheck

[channels/drive/client/drive_main.c:454] -> [channels/drive/client/drive_main.c:443]: (warning) Either the condition '!irp' is redundant or there is possible null pointer dereference: irp.
[client/X11/xf_window.c:582] -> [client/X11/xf_window.c:580]: (warning) Either the condition '!xfc' is redundant or there is possible null pointer dereference: xfc.
[winpr/libwinpr/path/test/TestPathShell.c:40] -> [winpr/libwinpr/path/test/TestPathShell.c:43]: (warning) Either the condition '!path' is redundant or there is possible null pointer dereference: path.
[winpr/libwinpr/path/test/TestPathShell.c:49] -> [winpr/libwinpr/path/test/TestPathShell.c:52]: (warning) Either the condition '!path' is redundant or there is possible null pointer dereference: path.
channels/drive/client/drive_main.c
client/X11/xf_window.c
winpr/libwinpr/path/test/TestPathShell.c