summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-clipboard-monitor.h
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-03-28 21:40:41 +0100
committerZenWalker <[email protected]>2019-04-05 11:53:16 +0200
commita27a915a138df43f4cde6a964f7ef9991996be6f (patch)
tree068d22bf0534be83cf3a6bb9064b46a8c0f954e1 /libcaja-private/caja-clipboard-monitor.h
parentcdd9cd5056fd9281f6e5f83cab40e92c29479f0a (diff)
downloadcaja-a27a915a138df43f4cde6a964f7ef9991996be6f.tar.bz2
caja-a27a915a138df43f4cde6a964f7ef9991996be6f.tar.xz
caja-file-operations: make sure 'error' isn't NULL
Fixes Clang static analyzer warnings: caja-file-operations.c:2165:7: warning: Access to field 'code' results in a dereference of a null pointer (loaded from variable 'error') if (error->code != G_IO_ERROR_FAILED_HANDLED) { ^~~~~~~~~~~ caja-file-operations.c:5448:14: warning: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error') details = error->message; ^~~~~~~~~~~~~~
Diffstat (limited to 'libcaja-private/caja-clipboard-monitor.h')
0 files changed, 0 insertions, 0 deletions