summaryrefslogtreecommitdiff
path: root/src/caja-notes-viewer.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-04-12 19:38:16 +0200
committerraveit65 <[email protected]>2022-07-19 23:35:19 +0200
commit735a38e23c0cd67fefc25e6d13f26a187b56ea32 (patch)
treed88dcaf16a3764290a3a1c3a41a76c50ddf0e918 /src/caja-notes-viewer.c
parent8b1339ed071e9a031c4a9e4c41cea113967ac44b (diff)
downloadcaja-735a38e23c0cd67fefc25e6d13f26a187b56ea32.tar.bz2
caja-735a38e23c0cd67fefc25e6d13f26a187b56ea32.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-notes-viewer.c')
0 files changed, 0 insertions, 0 deletions