diff options
author | Pablo Barciela <[email protected]> | 2019-04-12 19:38:16 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-04-16 16:22:40 +0200 |
commit | 238abcc94644169c9716c12901c14429767637d0 (patch) | |
tree | 393a017e28c5e780a15226fa2cc7120b114e8b83 /src/caja-sidebar-title.h | |
parent | 46e73ec24b89415e260faf0280795f3a8e436237 (diff) | |
download | caja-238abcc94644169c9716c12901c14429767637d0.tar.bz2 caja-238abcc94644169c9716c12901c14429767637d0.tar.xz |
caja-location-dialog: Fix 'cppcheck' and 'clang' warnings
Fixes 'cppcheck' warnings:
[src/caja-location-dialog.c:229] -> [src/caja-location-dialog.c:237]: (warning) Either the condition 'window' is redundant or there is possible null pointer dereference: window.
[src/caja-location-dialog.c:224]: (style) The scope of the variable 'formatted_location' can be reduced.
Fixes Clang static analyzer warning:
caja-location-dialog.c:237:12: warning: Access to field 'details' results in a dereference of a null pointer (loaded from variable 'window')
slot = window->details->active_pane->active_slot;
^~~~~~~~~~~~~~~
Diffstat (limited to 'src/caja-sidebar-title.h')
0 files changed, 0 insertions, 0 deletions