diff options
author | Pablo Barciela <[email protected]> | 2019-03-28 21:40:41 +0100 |
---|---|---|
committer | monsta <[email protected]> | 2019-07-23 16:11:51 +0300 |
commit | 374757b8ff53c4e1a19827ccd04c1ac026e1e69e (patch) | |
tree | 4ffd877074e82bca87954720c43710c008f00e71 /src/file-manager | |
parent | 32b41e72a508636947fc3c107caf504fe74da224 (diff) | |
download | caja-374757b8ff53c4e1a19827ccd04c1ac026e1e69e.tar.bz2 caja-374757b8ff53c4e1a19827ccd04c1ac026e1e69e.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 'src/file-manager')
0 files changed, 0 insertions, 0 deletions