summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-file.h
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-03-28 21:40:41 +0100
committerraveit65 <[email protected]>2022-07-19 23:16:06 +0200
commitfab059e8cdfb57112dac5b54492ff33fcbbdb62d (patch)
treea112341de9e084371ace3f94eb47cd2030066aa9 /libcaja-private/caja-file.h
parent485e3d8990ca9e4f4c39587db01d0facf954830a (diff)
downloadcaja-fab059e8cdfb57112dac5b54492ff33fcbbdb62d.tar.bz2
caja-fab059e8cdfb57112dac5b54492ff33fcbbdb62d.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-file.h')
0 files changed, 0 insertions, 0 deletions