summaryrefslogtreecommitdiff
path: root/src/caja-navigation-window.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-04-12 19:38:16 +0200
committermonsta <[email protected]>2019-07-23 16:41:53 +0300
commit9800844b41eb32c612ceb7ea272edca9bde1a17e (patch)
tree4e5fbb2a667c5b25c496554d16934cccaa6c452e /src/caja-navigation-window.c
parentfbdab96b5913c8aa7117e3dbee07efc42eea00c1 (diff)
downloadcaja-9800844b41eb32c612ceb7ea272edca9bde1a17e.tar.bz2
caja-9800844b41eb32c612ceb7ea272edca9bde1a17e.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-navigation-window.c')
0 files changed, 0 insertions, 0 deletions