diff options
author | Pablo Barciela <[email protected]> | 2019-03-28 04:44:36 +0100 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-04-03 12:42:41 +0200 |
commit | cdd9cd5056fd9281f6e5f83cab40e92c29479f0a (patch) | |
tree | 66a5e024f904309af52cf79d89d8d39c255201ba /libcaja-private/caja-desktop-icon-file.c | |
parent | d98150680d446e641b5c9ba285b51e5ece45703b (diff) | |
download | caja-cdd9cd5056fd9281f6e5f83cab40e92c29479f0a.tar.bz2 caja-cdd9cd5056fd9281f6e5f83cab40e92c29479f0a.tar.xz |
caja-open-with-dialog: make sure there is error before showing it
Fixes Clang static analyzer warning:
caja-open-with-dialog.c:252:100: warning: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
message = g_strdup_printf (_("Could not add application to the application database: %s"), error->message);
^~~~~~~~~~~~~~
Diffstat (limited to 'libcaja-private/caja-desktop-icon-file.c')
0 files changed, 0 insertions, 0 deletions