2022-06-25 07:50 ftp://ftp.de.debian.org/debian/pool/main/s/spacefm/spacefm_1.0.6.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j4 platform: Linux-5.10.0-15-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.25 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.8 head-info: 63e567e (2022-06-25 08:38:17 +0200) count: 465 465 elapsed-time: 150.1 176.4 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: spacefm-1.0.6/src/desktop/working-area.c:78:11: style: Variable 'desktops' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/exo/exo-binding.c:101:22: style: struct member '_ExoBinding::src_object' is never used. [unusedStructMember] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:323:53: style: Parameter 'parent' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:352:55: style: Parameter 'iter' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:366:54: style: Parameter 'parent' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/exo/exo-icon-chooser-dialog.c:546:62: style:inconclusive: Function 'exo_icon_chooser_dialog_entry_changed' argument 1 names different: declaration 'entry' definition 'combo'. [funcArgNamesDifferent] spacefm-1.0.6/src/exo/exo-icon-chooser-dialog.c:92:95: note: Function 'exo_icon_chooser_dialog_entry_changed' argument 1 names different: declaration 'entry' definition 'combo'. spacefm-1.0.6/src/exo/exo-icon-chooser-dialog.c:546:62: note: Function 'exo_icon_chooser_dialog_entry_changed' argument 1 names different: declaration 'entry' definition 'combo'. spacefm-1.0.6/src/find-files.c:289:21: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] spacefm-1.0.6/src/find-files.c:623:21: style: Condition '!data->task->cancel' is always true [knownConditionTrueFalse] spacefm-1.0.6/src/find-files.c:615:16: note: Assuming that condition '!data->task->cancel' is not redundant spacefm-1.0.6/src/find-files.c:623:21: note: Condition '!data->task->cancel' is always true spacefm-1.0.6/src/find-files.c:106:16: style: struct member '_FindFile::add_folder_btn' is never used. [unusedStructMember] spacefm-1.0.6/src/find-files.c:107:16: style: struct member '_FindFile::remove_folder_btn' is never used. [unusedStructMember] spacefm-1.0.6/src/find-files.c:190:25: style: Unused variable: sel_files [unusedVariable] spacefm-1.0.6/src/find-files.c:549:11: style: Unused variable: len [unusedVariable] spacefm-1.0.6/src/find-files.c:549:16: style: Unused variable: term [unusedVariable] spacefm-1.0.6/src/find-files.c:662:9: style: Unused variable: stdo [unusedVariable] spacefm-1.0.6/src/find-files.c:662:15: style: Unused variable: stde [unusedVariable] spacefm-1.0.6/src/find-files.c:888:17: style: Unused variable: it [unusedVariable] spacefm-1.0.6/src/go-dialog.c:41:31: style:inconclusive: Function 'fm_go' argument 1 names different: declaration 'parent' definition 'main_window'. [funcArgNamesDifferent] spacefm-1.0.6/src/go-dialog.h:9:31: note: Function 'fm_go' argument 1 names different: declaration 'parent' definition 'main_window'. spacefm-1.0.6/src/go-dialog.c:41:31: note: Function 'fm_go' argument 1 names different: declaration 'parent' definition 'main_window'. spacefm-1.0.6/src/desktop/desktop-window.c:4159:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] spacefm-1.0.6/src/desktop/desktop-window.c:1298:21: style: Condition 'old_focus' is always true [knownConditionTrueFalse] spacefm-1.0.6/src/desktop/desktop-window.c:1720:42: warning: Either the condition 'file' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] spacefm-1.0.6/src/desktop/desktop-window.c:1712:17: note: Assuming that condition 'file' is not redundant spacefm-1.0.6/src/desktop/desktop-window.c:1720:42: note: Null pointer addition spacefm-1.0.6/src/desktop/desktop-window.c:2032:59: style:inconclusive: Function 'desktop_window_rename_selected_files' argument 1 names different: declaration 'win' definition 'self'. [funcArgNamesDifferent] spacefm-1.0.6/src/desktop/desktop-window.h:190:59: note: Function 'desktop_window_rename_selected_files' argument 1 names different: declaration 'win' definition 'self'. spacefm-1.0.6/src/desktop/desktop-window.c:2032:59: note: Function 'desktop_window_rename_selected_files' argument 1 names different: declaration 'win' definition 'self'. spacefm-1.0.6/src/desktop/desktop-window.c:2318:51: style:inconclusive: Function 'on_key_press' argument 2 names different: declaration 'evt' definition 'event'. [funcArgNamesDifferent] spacefm-1.0.6/src/desktop/desktop-window.c:92:58: note: Function 'on_key_press' argument 2 names different: declaration 'evt' definition 'event'. spacefm-1.0.6/src/desktop/desktop-window.c:2318:51: note: Function 'on_key_press' argument 2 names different: declaration 'evt' definition 'event'. spacefm-1.0.6/src/desktop/desktop-window.c:1311:28: style: Local variable 'l' shadows outer variable [shadowVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1231:12: note: Shadowed declaration spacefm-1.0.6/src/desktop/desktop-window.c:1311:28: note: Shadow variable spacefm-1.0.6/src/desktop/desktop-window.c:2383:27: style: Local variable 'xname' shadows outer variable [shadowVariable] spacefm-1.0.6/src/desktop/desktop-window.c:2339:11: note: Shadowed declaration spacefm-1.0.6/src/desktop/desktop-window.c:2383:27: note: Shadow variable spacefm-1.0.6/src/desktop/desktop-window.c:561:65: style: Parameter 'clr' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/desktop/desktop-window.c:576:67: style: Parameter 'clr' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/desktop/desktop-window.c:576:82: style: Parameter 'shadow' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/desktop/desktop-window.c:3086:54: style: Parameter 'fi' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/desktop/desktop-window.c:3212:31: style: Parameter 'dir' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/desktop/desktop-window.c:3738:68: style: Parameter 'desktop' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/desktop/desktop-window.c:4368:43: style: Parameter 'win' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/desktop/desktop-window.c:1720:37: warning: Size of pointer 'file' used instead of size of its data. [pointerSize] spacefm-1.0.6/src/desktop/desktop-window.c:357:12: style: Variable 'font_h' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:358:12: style: Variable 'font_h' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:446:23: style: Variable 'xdisplay' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:550:16: style: Unused variable: pix [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:962:25: style: Unused variable: w [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:962:28: style: Unused variable: h [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1036:9: style: Unused variable: x1 [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1036:13: style: Unused variable: x2 [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1036:17: style: Unused variable: y1 [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1036:21: style: Unused variable: y2 [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1036:25: style: Unused variable: w [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1036:28: style: Unused variable: h [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1036:31: style: Unused variable: pattern_w [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1036:42: style: Unused variable: pattern_h [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1535:25: style: Variable 'self' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1541:29: style: Variable 'expected_target' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:1742:18: style: Unused variable: item [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:2023:25: style: Variable 'self' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:2178:13: style: Variable 'myline_x' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:2179:13: style: Variable 'myline_y' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:2518:12: style: Variable 'font_h' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:2519:12: style: Variable 'font_h' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:2793:16: style: Variable 'widget' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:2794:18: style: Unused variable: w [unusedVariable] spacefm-1.0.6/src/desktop/desktop-window.c:3089:18: style: Variable 'w' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/desktop/desktop-window.c:3763:20: style: Variable 'new_window' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/exo/exo-icon-view.c:3355:16: style: Redundant initialization for 'items'. The initialized value is overwritten before it is read. [redundantInitialization] spacefm-1.0.6/src/exo/exo-icon-view.c:3326:31: note: items is initialized spacefm-1.0.6/src/exo/exo-icon-view.c:3355:16: note: items is overwritten spacefm-1.0.6/src/exo/exo-icon-view.c:3456:16: style: Redundant initialization for 'items'. The initialized value is overwritten before it is read. [redundantInitialization] spacefm-1.0.6/src/exo/exo-icon-view.c:3428:31: note: items is initialized spacefm-1.0.6/src/exo/exo-icon-view.c:3456:16: note: items is overwritten spacefm-1.0.6/src/exo/exo-icon-view.c:4486:14: style: Variable 'cell' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/exo/exo-icon-view.c:4481:14: note: cell is assigned spacefm-1.0.6/src/exo/exo-icon-view.c:4486:14: note: cell is overwritten spacefm-1.0.6/src/exo/exo-icon-view.c:5212:15: style: Redundant initialization for 'icon_view'. The initialized value is overwritten before it is read. [redundantInitialization] spacefm-1.0.6/src/exo/exo-icon-view.c:5208:36: note: icon_view is initialized spacefm-1.0.6/src/exo/exo-icon-view.c:5212:15: note: icon_view is overwritten spacefm-1.0.6/src/exo/exo-icon-view.c:4117:65: style: Same expression on both sides of '||'. [duplicateExpression] spacefm-1.0.6/src/exo/exo-icon-view.c:2224:56: style:inconclusive: Function 'exo_icon_view_item_activate_cell' argument 3 names different: declaration 'cell_info' definition 'info'. [funcArgNamesDifferent] spacefm-1.0.6/src/exo/exo-icon-view.c:323:99: note: Function 'exo_icon_view_item_activate_cell' argument 3 names different: declaration 'cell_info' definition 'info'. spacefm-1.0.6/src/exo/exo-icon-view.c:2224:56: note: Function 'exo_icon_view_item_activate_cell' argument 3 names different: declaration 'cell_info' definition 'info'. spacefm-1.0.6/src/exo/exo-icon-view.c:2309:51: style:inconclusive: Function 'exo_icon_view_start_editing' argument 3 names different: declaration 'cell_info' definition 'info'. [funcArgNamesDifferent] spacefm-1.0.6/src/exo/exo-icon-view.c:333:99: note: Function 'exo_icon_view_start_editing' argument 3 names different: declaration 'cell_info' definition 'info'. spacefm-1.0.6/src/exo/exo-icon-view.c:2309:51: note: Function 'exo_icon_view_start_editing' argument 3 names different: declaration 'cell_info' definition 'info'. spacefm-1.0.6/src/exo/exo-icon-view.c:3718:51: style:inconclusive: Function 'exo_icon_view_get_cell_area' argument 3 names different: declaration 'cell_info' definition 'info'. [funcArgNamesDifferent] spacefm-1.0.6/src/exo/exo-icon-view.c:294:99: note: Function 'exo_icon_view_get_cell_area' argument 3 names different: declaration 'cell_info' definition 'info'. spacefm-1.0.6/src/exo/exo-icon-view.c:3718:51: note: Function 'exo_icon_view_get_cell_area' argument 3 names different: declaration 'cell_info' definition 'info'. spacefm-1.0.6/src/exo/exo-icon-view.c:4214:43: style: Parameter 'iter' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/exo/exo-icon-view.c:4301:45: style: Parameter 'new_order' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/exo/exo-icon-view.c:4985:47: style: Parameter 'renderer' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/exo/exo-icon-view.c:3574:12: error: Uninitialized variable: rows [uninitvar] spacefm-1.0.6/src/exo/exo-icon-view.c:3561:24: note: Assuming condition is false spacefm-1.0.6/src/exo/exo-icon-view.c:3574:12: note: Uninitialized variable: rows spacefm-1.0.6/src/exo/exo-icon-view.c:3613:12: error: Uninitialized variable: cols [uninitvar] spacefm-1.0.6/src/exo/exo-icon-view.c:3600:24: note: Assuming condition is false spacefm-1.0.6/src/exo/exo-icon-view.c:3613:12: note: Uninitialized variable: cols spacefm-1.0.6/src/item-prop.c:518:10: warning:inconclusive: Either the condition 'value' is redundant or there is possible null pointer dereference: value. [nullPointerRedundantCheck] spacefm-1.0.6/src/item-prop.c:2057:14: note: Assuming that condition 'value' is not redundant spacefm-1.0.6/src/item-prop.c:2048:44: note: Calling function 'context_display', 3rd argument 'value' value is 0 spacefm-1.0.6/src/item-prop.c:518:10: note: Null pointer dereference spacefm-1.0.6/src/item-prop.c:1293:13: style: Local variable 'item_type' shadows outer variable [shadowVariable] spacefm-1.0.6/src/item-prop.c:1283:9: note: Shadowed declaration spacefm-1.0.6/src/item-prop.c:1293:13: note: Shadow variable spacefm-1.0.6/src/item-prop.c:527:42: style: Parameter 'widget' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/item-prop.c:939:39: style: Parameter 'btn' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/item-prop.c:1216:43: style: Parameter 'widget' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/exo/exo-icon-view.c:1780:28: style: Variable 'icon_view' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/exo/exo-icon-view.c:4934:11: style: Variable 'width' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/item-prop.c:481:17: style: Unused variable: it [unusedVariable] spacefm-1.0.6/src/exo/exo-icon-view.c:4935:12: style: Variable 'height' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/item-prop.c:1283:9: style: Unused variable: item_type [unusedVariable] spacefm-1.0.6/src/mime-type/mime-action.c:441:15: style: Local variable 'name' shadows outer variable [shadowVariable] spacefm-1.0.6/src/mime-type/mime-action.c:433:11: note: Shadowed declaration spacefm-1.0.6/src/mime-type/mime-action.c:441:15: note: Shadow variable spacefm-1.0.6/src/mime-type/mime-action.c:645:15: style: Local variable 'path' shadows outer variable [shadowVariable] spacefm-1.0.6/src/mime-type/mime-action.c:626:11: note: Shadowed declaration spacefm-1.0.6/src/mime-type/mime-action.c:645:15: note: Shadow variable spacefm-1.0.6/src/mime-type/mime-action.c:626:11: style: Unused variable: path [unusedVariable] spacefm-1.0.6/src/mime-type/mime-cache.c:394:17: style: Unused variable: n_nodes [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:648:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] spacefm-1.0.6/src/cust-dialog.c:1678:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] spacefm-1.0.6/src/cust-dialog.c:1460:21: style: Redundant condition: cname. '!cname || (cname && cname[0]=='\0')' is equivalent to '!cname || cname[0]=='\0'' [redundantCondition] spacefm-1.0.6/src/cust-dialog.c:3354:24: style: Redundant condition: args. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] spacefm-1.0.6/src/cust-dialog.c:682:34: warning: Either the condition '!el' is redundant or there is possible null pointer dereference: el. [nullPointerRedundantCheck] spacefm-1.0.6/src/cust-dialog.c:692:10: note: Assuming that condition '!el' is not redundant spacefm-1.0.6/src/cust-dialog.c:682:34: note: Null pointer dereference spacefm-1.0.6/src/cust-dialog.c:3357:38: warning: Either the condition '!args' is redundant or there is possible null pointer dereference: args. [nullPointerRedundantCheck] spacefm-1.0.6/src/cust-dialog.c:3354:18: note: Assuming that condition '!args' is not redundant spacefm-1.0.6/src/cust-dialog.c:3357:38: note: Null pointer dereference spacefm-1.0.6/src/cust-dialog.c:122:12: style: Unused variable: l [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:125:11: style: Unused variable: str [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:252:18: style: Unused variable: tree_path [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:1056:12: style: Unused variable: l [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:1159:10: style: Unused variable: exit_status [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:1485:17: style: Variable 'icmd' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/cust-dialog.c:1481:11: style: Unused variable: str [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:1482:11: style: Unused variable: line [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:1483:11: style: Unused variable: arg [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:1484:12: style: Unused variable: l [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:3586:26: style: Variable 'modifier' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/cust-dialog.c:3610:11: style: Unused variable: str [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:3611:11: style: Unused variable: sep [unusedVariable] spacefm-1.0.6/src/cust-dialog.c:3823:12: style: Unused variable: l [unusedVariable] spacefm-1.0.6/src/mime-type/mime-type.c:441:14: style: Condition 'acc!=-1' is always true [knownConditionTrueFalse] spacefm-1.0.6/src/mime-type/mime-type.c:439:11: note: Assignment 'acc=0', assigned value is 0 spacefm-1.0.6/src/mime-type/mime-type.c:441:14: note: Condition 'acc!=-1' is always true spacefm-1.0.6/src/mime-type/mime-type.c:461:18: style: Condition 'acc!=-1' is always true [knownConditionTrueFalse] spacefm-1.0.6/src/mime-type/mime-type.c:459:15: note: Assignment 'acc=0', assigned value is 0 spacefm-1.0.6/src/mime-type/mime-type.c:461:18: note: Condition 'acc!=-1' is always true spacefm-1.0.6/src/mime-type/mime-type.c:758:23: style: Local variable 'type' shadows outer argument [shadowArgument] spacefm-1.0.6/src/mime-type/mime-type.c:744:41: note: Shadowed declaration spacefm-1.0.6/src/mime-type/mime-type.c:758:23: note: Shadow variable spacefm-1.0.6/src/mime-type/mime-type.c:259:12: error: Uninitialized variable: type [legacyUninitvar] spacefm-1.0.6/src/ptk/ptk-app-chooser.c:652:12: style: Variable 'cancel' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main.c:1585:16: style: Variable 'opened' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/main.c:1579:12: note: opened is assigned spacefm-1.0.6/src/main.c:1585:16: note: opened is overwritten spacefm-1.0.6/src/main.c:1305:1: style: Label 'out' is not used. [unusedLabel] spacefm-1.0.6/src/main.c:971:35: style:inconclusive: Function 'get_file_info_list' argument 1 names different: declaration 'files' definition 'file_paths'. [funcArgNamesDifferent] spacefm-1.0.6/src/main.c:177:42: note: Function 'get_file_info_list' argument 1 names different: declaration 'files' definition 'file_paths'. spacefm-1.0.6/src/main.c:971:35: note: Function 'get_file_info_list' argument 1 names different: declaration 'files' definition 'file_paths'. spacefm-1.0.6/src/main.c:1591:16: style: Local variable 'files' shadows outer variable [shadowVariable] spacefm-1.0.6/src/main.c:94:15: note: Shadowed declaration spacefm-1.0.6/src/main.c:1591:16: note: Shadow variable spacefm-1.0.6/src/main.c:202:17: style: Unused variable: cmd [unusedVariable] spacefm-1.0.6/src/main.c:483:9: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main.c:1127:9: style: Unused variable: p [unusedVariable] spacefm-1.0.6/src/ptk/ptk-clipboard.c:168:12: style: Unused variable: target [unusedVariable] spacefm-1.0.6/src/ptk/ptk-clipboard.c:221:12: style: Unused variable: target [unusedVariable] spacefm-1.0.6/src/ptk/ptk-clipboard.c:225:12: style: Unused variable: l [unusedVariable] spacefm-1.0.6/src/ptk/ptk-clipboard.c:226:18: style: Unused variable: file [unusedVariable] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:741:45: style:inconclusive: Function 'ptk_dir_tree_expand_row' argument 3 names different: declaration 'path' definition 'tree_path'. [funcArgNamesDifferent] spacefm-1.0.6/src/ptk/ptk-dir-tree.h:67:45: note: Function 'ptk_dir_tree_expand_row' argument 3 names different: declaration 'path' definition 'tree_path'. spacefm-1.0.6/src/ptk/ptk-dir-tree.c:741:45: note: Function 'ptk_dir_tree_expand_row' argument 3 names different: declaration 'path' definition 'tree_path'. spacefm-1.0.6/src/ptk/ptk-dir-tree.c:313:68: style: Parameter 'child' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:843:17: style: Unused variable: it [unusedVariable] spacefm-1.0.6/src/ptk/ptk-dir-tree.c:844:18: style: Unused variable: tree_path [unusedVariable] spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:66:18: style: struct member '_DirTreeNode::file' is never used. [unusedStructMember] spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:67:12: style: struct member '_DirTreeNode::children' is never used. [unusedStructMember] spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:68:9: style: struct member '_DirTreeNode::n_children' is never used. [unusedStructMember] spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:69:21: style: struct member '_DirTreeNode::monitor' is never used. [unusedStructMember] spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:70:9: style: struct member '_DirTreeNode::n_expand' is never used. [unusedStructMember] spacefm-1.0.6/src/ptk/ptk-dir-tree-view.c:512:18: style: Unused variable: file [unusedVariable] spacefm-1.0.6/src/pref-dialog.c:864:42: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] spacefm-1.0.6/src/pref-dialog.c:385:48: style: The statement 'if (app_settings.desk_no_single_hover!=desk_no_single_hover) app_settings.desk_no_single_hover=desk_no_single_hover' is logically equivalent to 'app_settings.desk_no_single_hover=desk_no_single_hover'. [duplicateConditionalAssign] spacefm-1.0.6/src/pref-dialog.c:386:47: note: Assignment 'app_settings.desk_no_single_hover=desk_no_single_hover' spacefm-1.0.6/src/pref-dialog.c:385:48: note: Condition 'app_settings.desk_no_single_hover!=desk_no_single_hover' is redundant spacefm-1.0.6/src/pref-dialog.c:769:45: warning: Either the condition 'terminal' is redundant or there is possible null pointer dereference: terminal. [nullPointerRedundantCheck] spacefm-1.0.6/src/pref-dialog.c:771:18: note: Assuming that condition 'terminal' is not redundant spacefm-1.0.6/src/pref-dialog.c:769:45: note: Null pointer dereference spacefm-1.0.6/src/pref-dialog.c:70:16: style: struct member '_FMPrefDlg::img_preview' is never used. [unusedStructMember] spacefm-1.0.6/src/pref-dialog.c:212:19: style: Variable 'ibig_icon' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/pref-dialog.c:212:37: style: Variable 'ismall_icon' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/pref-dialog.c:212:54: style: Variable 'itool_icon' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/pref-dialog.c:211:14: style: Unused variable: b [unusedVariable] spacefm-1.0.6/src/pref-dialog.c:213:17: style: Unused variable: filename_encoding [unusedVariable] spacefm-1.0.6/src/pref-dialog.c:223:14: style: Unused variable: single_hover [unusedVariable] spacefm-1.0.6/src/pref-dialog.c:237:9: style: Unused variable: cur_tabx [unusedVariable] spacefm-1.0.6/src/pref-dialog.c:916:54: style: Variable 'itool_icon' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/pref-dialog.c:914:17: style: Unused variable: filename_encoding [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:514:57: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:509:92: note: outer condition: (flags&(GTK_CELL_RENDERER_SELECTED))!=0 spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:514:57: note: identical inner condition: (flags>K_CELL_RENDERER_SELECTED)!=0 spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:238:44: style:inconclusive: Function 'ptk_file_icon_renderer_finalize' argument 1 names different: declaration 'gobject' definition 'object'. [funcArgNamesDifferent] spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:38:44: note: Function 'ptk_file_icon_renderer_finalize' argument 1 names different: declaration 'gobject' definition 'object'. spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:238:44: note: Function 'ptk_file_icon_renderer_finalize' argument 1 names different: declaration 'gobject' definition 'object'. spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:258:51: style:inconclusive: Function 'ptk_file_icon_renderer_get_property' argument 4 names different: declaration 'pspec' definition 'psec'. [funcArgNamesDifferent] spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:29:51: note: Function 'ptk_file_icon_renderer_get_property' argument 4 names different: declaration 'pspec' definition 'psec'. spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:258:51: note: Function 'ptk_file_icon_renderer_get_property' argument 4 names different: declaration 'pspec' definition 'psec'. spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:532:51: error: Uninitialized variable: color [legacyUninitvar] spacefm-1.0.6/src/ptk/ptk-file-icon-renderer.c:528:23: style: Variable 'state' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-list.c:346:9: style: Condition 'dir' is always true [knownConditionTrueFalse] spacefm-1.0.6/src/ptk/ptk-file-list.c:595:54: style: Parameter 'parent' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:1573:30: style: Variable 'task->task->exec_browser' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:1567:34: note: task->task->exec_browser is assigned spacefm-1.0.6/src/ptk/ptk-file-archiver.c:1573:30: note: task->task->exec_browser is overwritten spacefm-1.0.6/src/ptk/ptk-file-archiver.c:653:25: style: Local variable 'iter' shadows outer variable [shadowVariable] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:434:17: note: Shadowed declaration spacefm-1.0.6/src/ptk/ptk-file-archiver.c:653:25: note: Shadow variable spacefm-1.0.6/src/ptk/ptk-file-archiver.c:917:15: style: Local variable 'udest_quote' shadows outer variable [shadowVariable] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:331:10: note: Shadowed declaration spacefm-1.0.6/src/ptk/ptk-file-archiver.c:917:15: note: Shadow variable spacefm-1.0.6/src/ptk/ptk-file-archiver.c:326:30: style: Unused variable: hbox [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-archiver.c:1056:15: style: Unused variable: j [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-menu.c:3060:19: style: Expression is always false because 'else if' condition matches previous condition at line 3056. [multiCondition] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1162:21: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1151:21: note: set is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:1162:21: note: set is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:1273:13: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1271:13: note: set is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:1273:13: note: set is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:1275:13: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1273:13: note: set is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:1275:13: note: set is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:1276:13: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1275:13: note: set is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:1276:13: note: set is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:1407:17: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1402:13: note: set is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:1407:17: note: set is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:1506:13: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1505:13: note: set is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:1506:13: note: set is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:1580:13: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1506:13: note: set is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:1580:13: note: set is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:2290:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2284:13: note: newitem is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:2290:13: note: newitem is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:2294:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2290:13: note: newitem is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:2294:13: note: newitem is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:2326:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2294:13: note: newitem is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:2326:13: note: newitem is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:2326:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2319:17: note: newitem is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:2326:13: note: newitem is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:2330:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2326:13: note: newitem is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:2330:13: note: newitem is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:2365:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2361:13: note: newitem is assigned spacefm-1.0.6/src/ptk/ptk-file-menu.c:2365:13: note: newitem is overwritten spacefm-1.0.6/src/ptk/ptk-file-menu.c:2104:40: style:inconclusive: Function 'app_menu_keypress' argument 1 names different: declaration 'widget' definition 'menu'. [funcArgNamesDifferent] spacefm-1.0.6/src/ptk/ptk-file-menu.c:50:40: note: Function 'app_menu_keypress' argument 1 names different: declaration 'widget' definition 'menu'. spacefm-1.0.6/src/ptk/ptk-file-menu.c:2104:40: note: Function 'app_menu_keypress' argument 1 names different: declaration 'widget' definition 'menu'. spacefm-1.0.6/src/ptk/ptk-file-menu.c:421:60: style: Parameter 'desktop' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/ptk/ptk-file-menu.c:473:60: style: Parameter 'desktop' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1615:32: style: Variable 'book_item' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-menu.c:1664:14: style: Variable 'item' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-menu.c:735:30: style: Variable 'no_read_access' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2108:11: style: Unused variable: set [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2281:32: style: Variable 'accel_group' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2465:13: style: Variable 'job' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-menu.c:2895:11: style: Unused variable: cwd [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-properties.c:606:32: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] spacefm-1.0.6/src/ptk/ptk-file-properties.c:611:32: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] spacefm-1.0.6/src/ptk/ptk-file-properties.c:702:10: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] spacefm-1.0.6/src/ptk/ptk-file-properties.c:734:11: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] spacefm-1.0.6/src/ptk/ptk-file-properties.c:443:29: warning: Either the condition 'sel_files' is redundant or there is possible null pointer dereference: sel_files. [nullPointerRedundantCheck] spacefm-1.0.6/src/ptk/ptk-file-properties.c:544:10: note: Assuming that condition 'sel_files' is not redundant spacefm-1.0.6/src/ptk/ptk-file-properties.c:443:29: note: Null pointer dereference spacefm-1.0.6/src/ptk/ptk-file-properties.c:255:19: style: Local variable 'action' shadows outer variable [shadowVariable] spacefm-1.0.6/src/ptk/ptk-file-properties.c:250:21: note: Shadowed declaration spacefm-1.0.6/src/ptk/ptk-file-properties.c:255:19: note: Shadow variable spacefm-1.0.6/src/ptk/ptk-file-properties.c:338:25: style: Unused variable: file2 [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-properties.c:776:16: style: Unused variable: ask_recursive [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:1855:10: style: Condition '!templates_path' is always true [knownConditionTrueFalse] spacefm-1.0.6/src/ptk/ptk-file-misc.c:1849:28: note: Assignment 'templates_path=NULL', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-misc.c:1855:10: note: Condition '!templates_path' is always true spacefm-1.0.6/src/ptk/ptk-file-misc.c:2804:23: style: Local variable 'old_path' shadows outer variable [shadowVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2058:11: note: Shadowed declaration spacefm-1.0.6/src/ptk/ptk-file-misc.c:2804:23: note: Shadow variable spacefm-1.0.6/src/ptk/ptk-file-misc.c:292:33: style: Parameter 'widget' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/ptk/ptk-file-misc.c:813:45: style: Parameter 'widget' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/ptk/ptk-file-misc.c:876:48: style: Parameter 'widget' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/ptk/ptk-file-misc.c:1580:44: style: Parameter 'widget' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/ptk/ptk-file-misc.c:1716:42: style: Parameter 'widget' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/ptk/ptk-file-misc.c:4053:25: error: Uninitialized variable: parent [legacyUninitvar] spacefm-1.0.6/src/ptk/ptk-file-misc.c:200:11: style: Unused variable: canon [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:202:19: style: Unused variable: stat [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:1244:23: style: Variable 'new_link' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2069:11: style: Unused variable: touchfile [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:2837:22: style: Variable 'move' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:3755:17: style: Unused variable: cwd [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:3766:17: style: Variable 'app_desktop' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:3791:21: style: Unused variable: fb [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-misc.c:4012:11: style: Unused variable: str [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-task.c:2203:27: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] spacefm-1.0.6/src/ptk/ptk-file-task.c:2214:23: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] spacefm-1.0.6/src/ptk/ptk-file-task.c:2391:20: style: Local variable 'to_dir' shadows outer variable [shadowVariable] spacefm-1.0.6/src/ptk/ptk-file-task.c:2380:16: note: Shadowed declaration spacefm-1.0.6/src/ptk/ptk-file-task.c:2391:20: note: Shadow variable spacefm-1.0.6/src/ptk/ptk-file-task.c:455:71: style: Variable 'gsu' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-task.c:608:59: style: Variable 'gsu' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-task.c:1183:17: style: Unused variable: iter [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-task.c:1183:23: style: Unused variable: siter [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-task.c:1184:16: style: Unused variable: pixbuf [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-task.c:1856:16: style: Unused variable: dlg [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-task.c:1857:9: style: Unused variable: response [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-task.c:1946:18: style: Unused variable: can_rename [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-task.c:2121:9: style: Unused variable: response [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-task.c:2380:16: style: Variable 'to_dir' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-handler.c:2797:21: style: Redundant condition: folder. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] spacefm-1.0.6/src/ptk/ptk-handler.c:1297:21: warning: Either the condition 'stdout' is redundant or there is possible null pointer dereference: stdout. [nullPointerRedundantCheck] spacefm-1.0.6/src/ptk/ptk-handler.c:1311:10: note: Assuming that condition 'stdout' is not redundant spacefm-1.0.6/src/ptk/ptk-handler.c:1297:21: note: Null pointer dereference spacefm-1.0.6/src/ptk/ptk-handler.c:3584:15: style: Local variable 'str' shadows outer variable [shadowVariable] spacefm-1.0.6/src/ptk/ptk-handler.c:3023:11: note: Shadowed declaration spacefm-1.0.6/src/ptk/ptk-handler.c:3584:15: note: Shadow variable spacefm-1.0.6/src/ptk/ptk-handler.c:2571:51: style: Parameter 'widget' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/ptk/ptk-handler.c:2621:49: style: Parameter 'buf' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/ptk/ptk-handler.c:2637:44: style: Parameter 'buffer' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/ptk/ptk-handler.c:2851:51: style: Parameter 'btn' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/ptk/ptk-handler.c:574:15: style: Unused variable: str [unusedVariable] spacefm-1.0.6/src/ptk/ptk-handler.c:685:16: style: Variable 'file' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-handler.c:912:24: style: Variable 'supported' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-handler.c:956:11: style: Unused variable: msg [unusedVariable] spacefm-1.0.6/src/ptk/ptk-handler.c:1426:9: style: Unused variable: start [unusedVariable] spacefm-1.0.6/src/ptk/ptk-handler.c:2163:17: style: Unused variable: it_sel [unusedVariable] spacefm-1.0.6/src/ptk/ptk-path-entry.c:665:17: warning: Either the condition 'text' is redundant or there is possible null pointer dereference: text. [nullPointerRedundantCheck] spacefm-1.0.6/src/ptk/ptk-path-entry.c:669:27: note: Assuming that condition 'text' is not redundant spacefm-1.0.6/src/ptk/ptk-path-entry.c:665:17: note: Null pointer dereference spacefm-1.0.6/src/ptk/ptk-path-entry.c:77:11: style: Unused variable: str [unusedVariable] spacefm-1.0.6/src/ptk/ptk-path-entry.c:341:18: style: Variable 'long_len' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-path-entry.c:340:9: style: Unused variable: len [unusedVariable] spacefm-1.0.6/src/ptk/ptk-path-entry.c:347:11: style: Unused variable: str [unusedVariable] spacefm-1.0.6/src/ptk/ptk-text-renderer.c:1035:19: style: Variable 'flags' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-text-renderer.c:959:10: style: Unused variable: x [unusedVariable] spacefm-1.0.6/src/ptk/ptk-text-renderer.c:959:13: style: Unused variable: y [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:3632:35: style: Redundant condition: vol. '!vol || (vol && vol->is_mounted)' is equivalent to '!vol || vol->is_mounted' [redundantCondition] spacefm-1.0.6/src/ptk/ptk-location-view.c:3636:35: style: Redundant condition: vol. '!vol || (vol && vol->is_optical)' is equivalent to '!vol || vol->is_optical' [redundantCondition] spacefm-1.0.6/src/ptk/ptk-location-view.c:3044:14: style: The if condition is the same as the previous if condition [duplicateCondition] spacefm-1.0.6/src/ptk/ptk-location-view.c:3038:14: note: First condition spacefm-1.0.6/src/ptk/ptk-location-view.c:3044:14: note: Second condition spacefm-1.0.6/src/ptk/ptk-location-view.c:3546:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-location-view.c:3542:9: note: set is assigned spacefm-1.0.6/src/ptk/ptk-location-view.c:3546:9: note: set is overwritten spacefm-1.0.6/src/ptk/ptk-location-view.c:3652:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-location-view.c:3650:9: note: set is assigned spacefm-1.0.6/src/ptk/ptk-location-view.c:3652:9: note: set is overwritten spacefm-1.0.6/src/ptk/ptk-location-view.c:4146:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/ptk/ptk-location-view.c:4142:9: note: set is assigned spacefm-1.0.6/src/ptk/ptk-location-view.c:4146:9: note: set is overwritten spacefm-1.0.6/src/ptk/ptk-location-view.c:323:75: style:inconclusive: Function 'ptk_location_view_chdir' argument 2 names different: declaration 'path' definition 'cur_dir'. [funcArgNamesDifferent] spacefm-1.0.6/src/ptk/ptk-location-view.h:23:75: note: Function 'ptk_location_view_chdir' argument 2 names different: declaration 'path' definition 'cur_dir'. spacefm-1.0.6/src/ptk/ptk-location-view.c:323:75: note: Function 'ptk_location_view_chdir' argument 2 names different: declaration 'path' definition 'cur_dir'. spacefm-1.0.6/src/ptk/ptk-location-view.c:674:32: style: Parameter 'vol' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/ptk/ptk-location-view.c:4935:51: style: Parameter 'menuitem' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/ptk/ptk-location-view.c:5184:52: style: Parameter 'iter' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/ptk/ptk-location-view.c:166:9: style: Unused variable: i [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:364:18: style: Unused variable: tree_path [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:365:11: style: Variable 'real_path' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:500:17: style: Unused variable: it [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:501:12: style: Unused variable: name [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:502:12: style: Unused variable: real_path [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:1176:11: style: Unused variable: str [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:3490:16: style: Unused variable: item [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:3719:9: style: Unused variable: pos [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:4147:27: style: Variable 'auto_optical' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:4149:29: style: Variable 'auto_removable' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:4093:17: style: Unused variable: it [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:4283:11: style: Unused variable: name_len [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:4478:20: style: Variable 'app' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:5514:13: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:5488:14: style: Unused variable: popup [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:5489:16: style: Unused variable: item [unusedVariable] spacefm-1.0.6/src/ptk/ptk-location-view.c:5490:16: style: Unused variable: vol [unusedVariable] spacefm-1.0.6/src/vfs/vfs-app-desktop.c:284:11: style: Unused variable: p [unusedVariable] spacefm-1.0.6/src/vfs/vfs-execute.c:130:13: style: Redundant initialization for 'new_env'. The initialized value is overwritten before it is read. [redundantInitialization] spacefm-1.0.6/src/vfs/vfs-execute.c:120:20: note: new_env is initialized spacefm-1.0.6/src/vfs/vfs-execute.c:130:13: note: new_env is overwritten spacefm-1.0.6/src/vfs/vfs-execute.c:118:37: style: Variable 'setup_func' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/vfs/vfs-execute.c:123:46: style: Variable 'startup_id_index' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/vfs/vfs-execute.c:139:34: style: Variable 'startup_id_index' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/vfs/vfs-dir.c:798:5: warning:inconclusive: Either the condition 'file' is redundant or there is possible null pointer dereference: file. [nullPointerRedundantCheck] spacefm-1.0.6/src/vfs/vfs-dir.c:817:22: note: Assuming that condition 'file' is not redundant spacefm-1.0.6/src/vfs/vfs-dir.c:798:5: note: Null pointer dereference spacefm-1.0.6/src/vfs/vfs-dir.c:541:14: style: The comparison 'acc != 0' is always false. [knownConditionTrueFalse] spacefm-1.0.6/src/vfs/vfs-dir.c:539:11: note: 'acc' is assigned value '0' here. spacefm-1.0.6/src/vfs/vfs-dir.c:541:14: note: The comparison 'acc != 0' is always false. spacefm-1.0.6/src/vfs/vfs-dir.c:310:83: style: Parameter 'file' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/vfs/vfs-dir.c:330:12: style: Unused variable: l [unusedVariable] spacefm-1.0.6/src/vfs/vfs-file-info.c:716:19: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] spacefm-1.0.6/src/vfs/vfs-file-info.c:337:17: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] spacefm-1.0.6/src/vfs/vfs-file-info.c:346:18: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] spacefm-1.0.6/src/vfs/vfs-file-info.c:366:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] spacefm-1.0.6/src/vfs/vfs-file-monitor.c:289:54: style: Parameter 'cb' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/vfs/vfs-file-monitor.c:151:17: style: Unused variable: file_stat [unusedVariable] spacefm-1.0.6/src/vfs/vfs-file-info.c:898:23: style: Local variable 'len' shadows outer variable [shadowVariable] spacefm-1.0.6/src/vfs/vfs-file-info.c:854:9: note: Shadowed declaration spacefm-1.0.6/src/vfs/vfs-file-info.c:898:23: note: Shadow variable spacefm-1.0.6/src/vfs/vfs-file-info.c:821:25: style: Variable 'icon_name' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/vfs/vfs-file-task.c:444:13: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] spacefm-1.0.6/src/vfs/vfs-file-task.c:607:25: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] spacefm-1.0.6/src/vfs/vfs-file-task.c:1506:15: style: Redundant condition: tmp. '!tmp || (tmp && !g_file_test(tmp,G_FILE_TEST_IS_DIR))' is equivalent to '!tmp || !g_file_test(tmp,G_FILE_TEST_IS_DIR)' [redundantCondition] spacefm-1.0.6/src/vfs/vfs-file-task.c:2230:45: style:inconclusive: Function 'vfs_task_new' argument 1 names different: declaration 'task_type' definition 'type'. [funcArgNamesDifferent] spacefm-1.0.6/src/vfs/vfs-file-task.h:190:45: note: Function 'vfs_task_new' argument 1 names different: declaration 'task_type' definition 'type'. spacefm-1.0.6/src/vfs/vfs-file-task.c:2230:45: note: Function 'vfs_task_new' argument 1 names different: declaration 'task_type' definition 'type'. spacefm-1.0.6/src/vfs/vfs-file-task.c:2451:44: style: Parameter 'have_stat' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/vfs/vfs-file-task.c:1404:12: error: Uninitialized variable: sum [uninitvar] spacefm-1.0.6/src/vfs/vfs-file-task.c:1393:35: note: Assuming condition is false spacefm-1.0.6/src/vfs/vfs-file-task.c:1404:12: note: Uninitialized variable: sum spacefm-1.0.6/src/vfs/vfs-file-task.c:497:24: style: Variable 'wfd' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/vfs/vfs-file-task.c:781:15: style: Unused variable: kf [unusedVariable] spacefm-1.0.6/src/vfs/vfs-file-task.c:1266:12: style: Unused variable: line [unusedVariable] spacefm-1.0.6/src/vfs/vfs-file-task.c:1268:17: style: Unused variable: iter [unusedVariable] spacefm-1.0.6/src/vfs/vfs-file-task.c:2421:18: style: Variable 'parent' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:885:18: style: Redundant condition: cwd. '!cwd || (cwd && strcmp(cwd,"/"))' is equivalent to '!cwd || strcmp(cwd,"/")' [redundantCondition] spacefm-1.0.6/src/ptk/ptk-file-browser.c:650:48: style: Condition 'text[0]=='\0'' is always false [knownConditionTrueFalse] spacefm-1.0.6/src/ptk/ptk-file-browser.c:2146:10: style: Condition 'folder_path' is always true [knownConditionTrueFalse] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5287:9: style: Condition 'dest_dir' is always false [knownConditionTrueFalse] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5273:23: note: Assignment 'dest_dir=NULL', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:5287:9: note: Condition 'dest_dir' is always false spacefm-1.0.6/src/ptk/ptk-file-browser.c:5289:10: style: Condition 'dest_dir' is always false [knownConditionTrueFalse] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5273:23: note: Assignment 'dest_dir=NULL', assigned value is 0 spacefm-1.0.6/src/ptk/ptk-file-browser.c:5289:10: note: Condition 'dest_dir' is always false spacefm-1.0.6/src/ptk/ptk-file-browser.c:1951:13: style: Same expression on both sides of '=='. [duplicateExpression] spacefm-1.0.6/src/ptk/ptk-file-browser.c:1954:13: style: Same expression on both sides of '=='. [duplicateExpression] spacefm-1.0.6/src/ptk/ptk-file-browser.c:462:54: style: Parameter 'widget' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/ptk/ptk-file-browser.c:2475:66: style: Parameter 'file' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/ptk/ptk-file-browser.c:4979:12: error: Uninitialized variable: tree_path [legacyUninitvar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6600:48: error: Uninitialized variable: i [legacyUninitvar] spacefm-1.0.6/src/ptk/ptk-file-browser.c:381:18: style: Variable 'widget_class' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:626:12: style: Unused variable: l [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:1972:10: style: Variable 'icon' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:2006:19: style: Variable 'elementn' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:3379:14: style: Unused variable: select [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:3891:19: style: Variable 'model' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:3906:19: style: Variable 'model' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:4063:15: style: Unused variable: width [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5043:10: style: Variable 'vpos' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5249:12: style: Variable 'parent' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5272:18: style: Unused variable: file [unusedVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:5686:18: style: Variable 'dir_tree_sel' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6203:14: style: Variable 'mode' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6205:14: style: Variable 'mode' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/ptk/ptk-file-browser.c:6207:14: style: Variable 'mode' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/xml-purge.c:25:3: error: Resource leak: fd [resourceLeak] spacefm-1.0.6/src/xml-purge.c:32:4: error: Resource leak: fd [resourceLeak] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:1748:27: style: Redundant condition: mount_point. '!mount_point || (mount_point && mount_point[0]=='\0')' is equivalent to '!mount_point || mount_point[0]=='\0'' [redundantCondition] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:4714:23: style: Redundant condition: native_path. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:1057:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:1091:22: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:1680:14: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:1712:22: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:1732:25: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:2669:14: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:2770:16: warning: Either the condition 'nm->fstype' is redundant or there is possible null pointer dereference: nm->fstype. [nullPointerRedundantCheck] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:2777:16: note: Assuming that condition 'nm->fstype' is not redundant spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:2770:16: note: Null pointer dereference spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:2909:24: warning:inconclusive: Either the condition 'point' is redundant or there is possible null pointer dereference: point. [nullPointerRedundantCheck] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:2912:13: note: Assuming that condition 'point' is not redundant spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:2909:24: note: Null pointer dereference spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:3328:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:3340:9: note: Found duplicate branches for 'if' and 'else'. spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:3328:9: note: Found duplicate branches for 'if' and 'else'. spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:4537:52: style: Parameter 'cb' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:3848:10: error: Uninitialized variable: news [uninitvar] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:3830:20: note: Assuming condition is false spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:3848:10: note: Uninitialized variable: news spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:650:15: style: struct member 'Anonymous2::media_name' is never used. [unusedStructMember] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:412:9: style: Unused variable: q [unusedVariable] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:2281:13: style: Unused variable: total_size [unusedVariable] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:2282:10: style: Unused variable: size_str [unusedVariable] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:2627:11: style: Unused variable: str [unusedVariable] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:2628:11: style: Unused variable: file [unusedVariable] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:2900:19: style: Unused variable: statbuf [unusedVariable] spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:2902:11: style: Unused variable: set [unusedVariable] spacefm-1.0.6/src/main-window.c:5894:48: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] spacefm-1.0.6/src/main-window.c:393:27: style: Redundant condition: plug_dir. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] spacefm-1.0.6/src/main-window.c:5320:17: style: Redundant condition: model. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] spacefm-1.0.6/src/main-window.c:4301:5: warning: Either the condition 'context' is redundant or there is possible null pointer dereference: c. [nullPointerRedundantCheck] spacefm-1.0.6/src/main-window.c:7983:14: note: Assuming that condition 'context' is not redundant spacefm-1.0.6/src/main-window.c:7982:42: note: Calling function 'main_context_fill', 2nd argument 'context' value is 0 spacefm-1.0.6/src/main-window.c:4301:5: note: Null pointer dereference spacefm-1.0.6/src/main-window.c:3440:21: style: Variable 'panel_count' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/main-window.c:3437:21: note: panel_count is assigned spacefm-1.0.6/src/main-window.c:3440:21: note: panel_count is overwritten spacefm-1.0.6/src/main-window.c:3081:68: style:inconclusive: Function 'fm_main_window_get_current_file_browser' argument 1 names different: declaration 'mainWindow' definition 'main_window'. [funcArgNamesDifferent] spacefm-1.0.6/src/main-window.h:113:67: note: Function 'fm_main_window_get_current_file_browser' argument 1 names different: declaration 'mainWindow' definition 'main_window'. spacefm-1.0.6/src/main-window.c:3081:68: note: Function 'fm_main_window_get_current_file_browser' argument 1 names different: declaration 'mainWindow' definition 'main_window'. spacefm-1.0.6/src/main-window.c:5803:47: style:inconclusive: Function 'main_task_view_remove_task' argument 1 names different: declaration 'task' definition 'ptask'. [funcArgNamesDifferent] spacefm-1.0.6/src/main-window.h:142:47: note: Function 'main_task_view_remove_task' argument 1 names different: declaration 'task' definition 'ptask'. spacefm-1.0.6/src/main-window.c:5803:47: note: Function 'main_task_view_remove_task' argument 1 names different: declaration 'task' definition 'ptask'. spacefm-1.0.6/src/main-window.c:5841:47: style:inconclusive: Function 'main_task_view_update_task' argument 1 names different: declaration 'task' definition 'ptask'. [funcArgNamesDifferent] spacefm-1.0.6/src/main-window.h:141:47: note: Function 'main_task_view_update_task' argument 1 names different: declaration 'task' definition 'ptask'. spacefm-1.0.6/src/main-window.c:5841:47: note: Function 'main_task_view_update_task' argument 1 names different: declaration 'task' definition 'ptask'. spacefm-1.0.6/src/main-window.c:3196:21: style: Local variable 'builder' shadows outer variable [shadowVariable] spacefm-1.0.6/src/main-window.c:3193:17: note: Shadowed declaration spacefm-1.0.6/src/main-window.c:3196:21: note: Shadow variable spacefm-1.0.6/src/main-window.c:4615:48: style: Parameter 'view' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/main-window.c:8070:35: style: Parameter 'preset' can be declared as pointer to const [constParameter] spacefm-1.0.6/src/main-window.c:564:30: error: Uninitialized variable: i [uninitvar] spacefm-1.0.6/src/main-window.c:509:20: style: Variable 'found' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:510:28: style: Variable 'found_plugins' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:563:31: style: Variable 'found' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:565:43: style: Variable 'found_plugins' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:508:9: style: Variable 'i' is not assigned a value. [unassignedVariable] spacefm-1.0.6/src/main-window.c:601:16: style: Unused variable: item [unusedVariable] spacefm-1.0.6/src/main-window.c:863:16: style: Unused variable: label [unusedVariable] spacefm-1.0.6/src/main-window.c:864:19: style: Unused variable: hbox [unusedVariable] spacefm-1.0.6/src/main-window.c:865:15: style: Unused variable: text [unusedVariable] spacefm-1.0.6/src/main-window.c:866:12: style: Unused variable: children [unusedVariable] spacefm-1.0.6/src/main-window.c:867:15: style: Unused variable: icon [unusedVariable] spacefm-1.0.6/src/main-window.c:1399:22: style: Unused variable: i [unusedVariable] spacefm-1.0.6/src/main-window.c:1776:16: style: Unused variable: submenu [unusedVariable] spacefm-1.0.6/src/main-window.c:1964:16: style: Unused variable: bookmark_menu [unusedVariable] spacefm-1.0.6/src/main-window.c:1966:16: style: Unused variable: edit_menu_item [unusedVariable] spacefm-1.0.6/src/main-window.c:1966:33: style: Unused variable: edit_menu [unusedVariable] spacefm-1.0.6/src/main-window.c:1966:45: style: Unused variable: history_menu [unusedVariable] spacefm-1.0.6/src/main-window.c:1967:18: style: Unused variable: toolitem [unusedVariable] spacefm-1.0.6/src/main-window.c:1968:16: style: Unused variable: hbox [unusedVariable] spacefm-1.0.6/src/main-window.c:1969:15: style: Unused variable: label [unusedVariable] spacefm-1.0.6/src/main-window.c:1970:20: style: Unused variable: edit_accel_group [unusedVariable] spacefm-1.0.6/src/main-window.c:1971:15: style: Unused variable: closure [unusedVariable] spacefm-1.0.6/src/main-window.c:2967:14: style: Variable 'icon' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:3008:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:3193:25: style: Variable 'builder' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:3262:24: style: Variable 'new_win' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:3520:17: style: Unused variable: path [unusedVariable] spacefm-1.0.6/src/main-window.c:3521:11: style: Unused variable: disp_path [unusedVariable] spacefm-1.0.6/src/main-window.c:3778:19: style: Variable 'hnc' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:4293:9: style: Variable 'no_write_access' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:4293:30: style: Variable 'no_read_access' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:4617:19: style: Unused variable: a_window [unusedVariable] spacefm-1.0.6/src/main-window.c:5585:24: style: Variable 'col' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/main-window.c:5630:23: style: Unused variable: tree_sel [unusedVariable] spacefm-1.0.6/src/main-window.c:6076:11: style: Unused variable: elements [unusedVariable] spacefm-1.0.6/src/main-window.c:6077:11: style: Unused variable: space [unusedVariable] spacefm-1.0.6/src/main-window.c:6078:11: style: Unused variable: name [unusedVariable] spacefm-1.0.6/src/settings.c:767:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] spacefm-1.0.6/src/settings.c:772:32: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] spacefm-1.0.6/src/settings.c:3524:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] spacefm-1.0.6/src/settings.c:4993:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] spacefm-1.0.6/src/settings.c:4998:28: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] spacefm-1.0.6/src/settings.c:1584:26: style: Redundant condition: set->x. '!set->x || (set->x && set->x[0]=='\0')' is equivalent to '!set->x || set->x[0]=='\0'' [redundantCondition] spacefm-1.0.6/src/settings.c:4334:15: style: Redundant condition: set. '!set || (set && strncmp(set->name,"cstm_",5))' is equivalent to '!set || strncmp(set->name,"cstm_",5)' [redundantCondition] spacefm-1.0.6/src/settings.c:4691:39: style: Redundant condition: set->shared_key. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] spacefm-1.0.6/src/settings.c:6577:15: style: Redundant condition: set. '!set || (set && set->lock)' is equivalent to '!set || set->lock' [redundantCondition] spacefm-1.0.6/src/settings.c:7263:25: style: Redundant condition: folder. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] spacefm-1.0.6/src/settings.c:7768:29: style: Redundant condition: set->lock. '!set->lock || (set->lock && set->line)' is equivalent to '!set->lock || set->line' [redundantCondition] spacefm-1.0.6/src/settings.c:8237:51: style: Redundant condition: set->lock. '!set->lock || (set->lock && set->line)' is equivalent to '!set->lock || set->line' [redundantCondition] spacefm-1.0.6/src/settings.c:8699:22: style: The statement 'if (mset->b!=XSET_B_TRUE) mset->b=XSET_B_TRUE' is logically equivalent to 'mset->b=XSET_B_TRUE'. [duplicateConditionalAssign] spacefm-1.0.6/src/settings.c:8700:21: note: Assignment 'mset->b=XSET_B_TRUE' spacefm-1.0.6/src/settings.c:8699:22: note: Condition 'mset->b!=XSET_B_TRUE' is redundant spacefm-1.0.6/src/settings.c:4724:22: style: Condition 'stderr' is always false [knownConditionTrueFalse] spacefm-1.0.6/src/settings.c:4720:0: note: Assignment 'stderr=NULL', assigned value is 0 spacefm-1.0.6/src/settings.c:4724:22: note: Condition 'stderr' is always false spacefm-1.0.6/src/settings.c:4726:22: style: Condition 'stdout' is always false [knownConditionTrueFalse] spacefm-1.0.6/src/settings.c:4720:35: note: Assignment 'stdout=NULL', assigned value is 0 spacefm-1.0.6/src/settings.c:4726:22: note: Condition 'stdout' is always false spacefm-1.0.6/src/settings.c:9998:33: style: Condition 'set->tool>XSET_TOOL_CUSTOM' is always true [knownConditionTrueFalse] spacefm-1.0.6/src/settings.c:9993:24: note: Assuming that condition 'set->tool>XSET_TOOL_CUSTOM' is not redundant spacefm-1.0.6/src/settings.c:9998:33: note: Condition 'set->tool>XSET_TOOL_CUSTOM' is always true spacefm-1.0.6/src/settings.c:5720:43: error: Memory leak: select_path [memleak] spacefm-1.0.6/src/settings.c:4555:25: warning: Either the condition 'stdout' is redundant or there is possible null pointer dereference: stdout. [nullPointerRedundantCheck] spacefm-1.0.6/src/settings.c:4567:14: note: Assuming that condition 'stdout' is not redundant spacefm-1.0.6/src/settings.c:4555:25: note: Null pointer dereference spacefm-1.0.6/src/settings.c:4591:25: warning: Either the condition 'stdout' is redundant or there is possible null pointer dereference: stdout. [nullPointerRedundantCheck] spacefm-1.0.6/src/settings.c:4602:14: note: Assuming that condition 'stdout' is not redundant spacefm-1.0.6/src/settings.c:4591:25: note: Null pointer dereference spacefm-1.0.6/src/settings.c:6498:24: warning: Either the condition 'l' is redundant or there is possible null pointer dereference: l. [nullPointerRedundantCheck] spacefm-1.0.6/src/settings.c:6507:10: note: Assuming that condition 'l' is not redundant spacefm-1.0.6/src/settings.c:6498:24: note: Null pointer dereference spacefm-1.0.6/src/settings.c:9252:26: warning:inconclusive: Either the condition 'ans' is redundant or there is possible null pointer dereference: ans. [nullPointerRedundantCheck] spacefm-1.0.6/src/settings.c:9263:22: note: Assuming that condition 'ans' is not redundant spacefm-1.0.6/src/settings.c:9252:26: note: Null pointer dereference spacefm-1.0.6/src/settings.c:9861:14: warning: Either the condition 'set' is redundant or there is possible null pointer dereference: set. [nullPointerRedundantCheck] spacefm-1.0.6/src/settings.c:9865:21: note: Assuming that condition 'set' is not redundant spacefm-1.0.6/src/settings.c:9861:14: note: Null pointer dereference spacefm-1.0.6/src/settings.c:8163:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:8159:13: note: newitem is assigned spacefm-1.0.6/src/settings.c:8163:13: note: newitem is overwritten spacefm-1.0.6/src/settings.c:8167:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:8163:13: note: newitem is assigned spacefm-1.0.6/src/settings.c:8167:13: note: newitem is overwritten spacefm-1.0.6/src/settings.c:8180:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:8174:13: note: newitem is assigned spacefm-1.0.6/src/settings.c:8180:13: note: newitem is overwritten spacefm-1.0.6/src/settings.c:8184:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:8180:13: note: newitem is assigned spacefm-1.0.6/src/settings.c:8184:13: note: newitem is overwritten spacefm-1.0.6/src/settings.c:8198:17: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:8196:17: note: newitem is assigned spacefm-1.0.6/src/settings.c:8198:17: note: newitem is overwritten spacefm-1.0.6/src/settings.c:8234:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:8198:17: note: newitem is assigned spacefm-1.0.6/src/settings.c:8234:13: note: newitem is overwritten spacefm-1.0.6/src/settings.c:8234:13: style: Variable 'newitem' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:8201:21: note: newitem is assigned spacefm-1.0.6/src/settings.c:8234:13: note: newitem is overwritten spacefm-1.0.6/src/settings.c:11603:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:11601:9: note: set is assigned spacefm-1.0.6/src/settings.c:11603:9: note: set is overwritten spacefm-1.0.6/src/settings.c:12015:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12013:9: note: set is assigned spacefm-1.0.6/src/settings.c:12015:9: note: set is overwritten spacefm-1.0.6/src/settings.c:12169:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12167:9: note: set is assigned spacefm-1.0.6/src/settings.c:12169:9: note: set is overwritten spacefm-1.0.6/src/settings.c:12215:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12213:9: note: set is assigned spacefm-1.0.6/src/settings.c:12215:9: note: set is overwritten spacefm-1.0.6/src/settings.c:12338:13: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12337:13: note: set is assigned spacefm-1.0.6/src/settings.c:12338:13: note: set is overwritten spacefm-1.0.6/src/settings.c:12377:13: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12376:13: note: set is assigned spacefm-1.0.6/src/settings.c:12377:13: note: set is overwritten spacefm-1.0.6/src/settings.c:12409:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12407:9: note: set is assigned spacefm-1.0.6/src/settings.c:12409:9: note: set is overwritten spacefm-1.0.6/src/settings.c:12414:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12412:9: note: set is assigned spacefm-1.0.6/src/settings.c:12414:9: note: set is overwritten spacefm-1.0.6/src/settings.c:12416:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12414:9: note: set is assigned spacefm-1.0.6/src/settings.c:12416:9: note: set is overwritten spacefm-1.0.6/src/settings.c:12418:9: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12416:9: note: set is assigned spacefm-1.0.6/src/settings.c:12418:9: note: set is overwritten spacefm-1.0.6/src/settings.c:12424:13: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12423:13: note: set is assigned spacefm-1.0.6/src/settings.c:12424:13: note: set is overwritten spacefm-1.0.6/src/settings.c:12425:13: style: Variable 'set' is reassigned a value before the old one has been used. [redundantAssignment] spacefm-1.0.6/src/settings.c:12424:13: note: set is assigned spacefm-1.0.6/src/settings.c:12425:13: note: set is overwritten spacefm-1.0.6/src/settings.c:7044:9: warning: Label '_XSET_JOB_CUSTOM' is not used. Should this be a 'case' of the enclosing switch()? [unusedLabelSwitch] spacefm-1.0.6/src/settings.c:1977:38: style:inconclusive: Function 'on_autosave_timer' argument 1 names different: declaration 'main_window' definition 'ptr'. [funcArgNamesDifferent] spacefm-1.0.6/src/settings.c:134:38: note: Function 'on_autosave_timer' argument 1 names different: declaration 'main_window' definition 'ptr'. spacefm-1.0.6/src/settings.c:1977:38: note: Function 'on_autosave_timer' argument 1 names different: declaration 'main_window' definition 'ptr'. spacefm-1.0.6/src/settings.c:4952:54: style:inconclusive: Function 'xset_import_plugin' argument 2 names different: declaration 'is_bookmarks' definition 'use'. [funcArgNamesDifferent] spacefm-1.0.6/src/settings.h:488:59: note: Function 'xset_import_plugin' argument 2 names different: declaration 'is_bookmarks' definition 'use'. spacefm-1.0.6/src/settings.c:4952:54: note: Function 'xset_import_plugin' argument 2 names different: declaration 'is_bookmarks' definition 'use'. spacefm-1.0.6/src/settings.c:10552:76: style:inconclusive: Function 'clean_label' argument 3 names different: declaration 'convert_amp' definition 'escape'. [funcArgNamesDifferent] spacefm-1.0.6/src/settings.h:491:76: note: Function 'clean_label' argument 3 names different: declaration 'convert_amp' definition 'escape'. spacefm-1.0.6/src/settings.c:10552:76: note: Function 'clean_label' argument 3 names different: declaration 'convert_amp' definition 'escape'. spacefm-1.0.6/src/settings.c:2623:11: style: Unused variable: set [unusedVariable] spacefm-1.0.6/src/settings.c:4679:11: style: Unused variable: set_key [unusedVariable] spacefm-1.0.6/src/settings.c:5885:23: style: Unused variable: path [unusedVariable] spacefm-1.0.6/src/settings.c:6921:11: style: Unused variable: keymsg [unusedVariable] spacefm-1.0.6/src/settings.c:6922:16: style: Unused variable: vbox [unusedVariable] spacefm-1.0.6/src/settings.c:6923:9: style: Variable 'newkey' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/settings.c:6923:21: style: Variable 'newkeymod' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/settings.c:6924:11: style: Unused variable: keyset [unusedVariable] spacefm-1.0.6/src/settings.c:7707:14: style: Variable 'toolexecsub' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/settings.c:7710:11: style: Unused variable: sett [unusedVariable] spacefm-1.0.6/src/settings.c:8054:23: style: Variable 'open_all' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/settings.c:8067:14: style: Variable 'mset' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/settings.c:8069:14: style: Variable 'mset' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/settings.c:8098:18: style: Variable 'open_all' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/settings.c:8044:16: style: Unused variable: newitem2 [unusedVariable] spacefm-1.0.6/src/settings.c:8045:16: style: Unused variable: newitem3 [unusedVariable] spacefm-1.0.6/src/settings.c:8046:16: style: Unused variable: newitem4 [unusedVariable] spacefm-1.0.6/src/settings.c:8049:13: style: Unused variable: radio_group [unusedVariable] spacefm-1.0.6/src/settings.c:8050:11: style: Unused variable: label [unusedVariable] spacefm-1.0.6/src/settings.c:8051:11: style: Unused variable: path [unusedVariable] spacefm-1.0.6/src/settings.c:8055:11: style: Unused variable: sett [unusedVariable] spacefm-1.0.6/src/settings.c:8729:20: style: Variable 'file' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/settings.c:9037:17: style: Unused variable: iter [unusedVariable] spacefm-1.0.6/src/settings.c:9037:23: style: Unused variable: siter [unusedVariable] spacefm-1.0.6/src/settings.c:9528:26: style: Variable 'dlgparent' is assigned a value that is never used. [unreadVariable] spacefm-1.0.6/src/settings.c:12537:12: style: Unused variable: i [unusedVariable] spacefm-1.0.6/src/settings.c:12753:11: style: Unused variable: set [unusedVariable] diff: head spacefm-1.0.6/src/desktop/desktop-window.c:3086:54: style: Parameter 'fi' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/desktop/desktop-window.c:3086:54: style: Parameter 'fi' can be declared with const [constParameter] head spacefm-1.0.6/src/desktop/desktop-window.c:3212:31: style: Parameter 'dir' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/desktop/desktop-window.c:3212:31: style: Parameter 'dir' can be declared with const [constParameter] head spacefm-1.0.6/src/desktop/desktop-window.c:3738:68: style: Parameter 'desktop' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/desktop/desktop-window.c:3738:68: style: Parameter 'desktop' can be declared with const [constParameter] head spacefm-1.0.6/src/desktop/desktop-window.c:4368:43: style: Parameter 'win' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/desktop/desktop-window.c:4368:43: style: Parameter 'win' can be declared with const [constParameter] head spacefm-1.0.6/src/desktop/desktop-window.c:561:65: style: Parameter 'clr' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/desktop/desktop-window.c:561:65: style: Parameter 'clr' can be declared with const [constParameter] head spacefm-1.0.6/src/desktop/desktop-window.c:576:67: style: Parameter 'clr' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/desktop/desktop-window.c:576:67: style: Parameter 'clr' can be declared with const [constParameter] head spacefm-1.0.6/src/desktop/desktop-window.c:576:82: style: Parameter 'shadow' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/desktop/desktop-window.c:576:82: style: Parameter 'shadow' can be declared with const [constParameter] head spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:323:53: style: Parameter 'parent' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:323:53: style: Parameter 'parent' can be declared with const [constParameter] head spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:352:55: style: Parameter 'iter' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:352:55: style: Parameter 'iter' can be declared with const [constParameter] head spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:366:54: style: Parameter 'parent' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/exo/exo-icon-chooser-model.c:366:54: style: Parameter 'parent' can be declared with const [constParameter] head spacefm-1.0.6/src/exo/exo-icon-view.c:4214:43: style: Parameter 'iter' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/exo/exo-icon-view.c:4214:43: style: Parameter 'iter' can be declared with const [constParameter] head spacefm-1.0.6/src/exo/exo-icon-view.c:4301:45: style: Parameter 'new_order' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/exo/exo-icon-view.c:4301:45: style: Parameter 'new_order' can be declared with const [constParameter] head spacefm-1.0.6/src/exo/exo-icon-view.c:4985:47: style: Parameter 'renderer' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/exo/exo-icon-view.c:4985:47: style: Parameter 'renderer' can be declared with const [constParameter] head spacefm-1.0.6/src/item-prop.c:1216:43: style: Parameter 'widget' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/item-prop.c:1216:43: style: Parameter 'widget' can be declared with const [constParameter] head spacefm-1.0.6/src/item-prop.c:527:42: style: Parameter 'widget' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/item-prop.c:527:42: style: Parameter 'widget' can be declared with const [constParameter] head spacefm-1.0.6/src/item-prop.c:939:39: style: Parameter 'btn' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/item-prop.c:939:39: style: Parameter 'btn' can be declared with const [constParameter] head spacefm-1.0.6/src/main-window.c:4615:48: style: Parameter 'view' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/main-window.c:4615:48: style: Parameter 'view' can be declared with const [constParameter] head spacefm-1.0.6/src/main-window.c:8070:35: style: Parameter 'preset' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/main-window.c:8070:35: style: Parameter 'preset' can be declared with const [constParameter] head spacefm-1.0.6/src/ptk/ptk-dir-tree.c:313:68: style: Parameter 'child' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/ptk/ptk-dir-tree.c:313:68: style: Parameter 'child' can be declared with const [constParameter] head spacefm-1.0.6/src/ptk/ptk-file-browser.c:2475:66: style: Parameter 'file' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/ptk/ptk-file-browser.c:2475:66: style: Parameter 'file' can be declared with const [constParameter] head spacefm-1.0.6/src/ptk/ptk-file-browser.c:462:54: style: Parameter 'widget' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/ptk/ptk-file-browser.c:462:54: style: Parameter 'widget' can be declared with const [constParameter] head spacefm-1.0.6/src/ptk/ptk-file-list.c:595:54: style: Parameter 'parent' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/ptk/ptk-file-list.c:595:54: style: Parameter 'parent' can be declared with const [constParameter] head spacefm-1.0.6/src/ptk/ptk-file-menu.c:421:60: style: Parameter 'desktop' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/ptk/ptk-file-menu.c:421:60: style: Parameter 'desktop' can be declared with const [constParameter] head spacefm-1.0.6/src/ptk/ptk-file-menu.c:473:60: style: Parameter 'desktop' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/ptk/ptk-file-menu.c:473:60: style: Parameter 'desktop' can be declared with const [constParameter] head spacefm-1.0.6/src/ptk/ptk-file-misc.c:1580:44: style: Parameter 'widget' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/ptk/ptk-file-misc.c:1580:44: style: Parameter 'widget' can be declared with const [constParameter] head spacefm-1.0.6/src/ptk/ptk-file-misc.c:1716:42: style: Parameter 'widget' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/ptk/ptk-file-misc.c:1716:42: style: Parameter 'widget' can be declared with const [constParameter] head spacefm-1.0.6/src/ptk/ptk-file-misc.c:292:33: style: Parameter 'widget' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/ptk/ptk-file-misc.c:292:33: style: Parameter 'widget' can be declared with const [constParameter] head spacefm-1.0.6/src/ptk/ptk-file-misc.c:813:45: style: Parameter 'widget' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/ptk/ptk-file-misc.c:813:45: style: Parameter 'widget' can be declared with const [constParameter] head spacefm-1.0.6/src/ptk/ptk-file-misc.c:876:48: style: Parameter 'widget' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/ptk/ptk-file-misc.c:876:48: style: Parameter 'widget' can be declared with const [constParameter] head spacefm-1.0.6/src/ptk/ptk-handler.c:2571:51: style: Parameter 'widget' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/ptk/ptk-handler.c:2571:51: style: Parameter 'widget' can be declared with const [constParameter] head spacefm-1.0.6/src/ptk/ptk-handler.c:2621:49: style: Parameter 'buf' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/ptk/ptk-handler.c:2621:49: style: Parameter 'buf' can be declared with const [constParameter] head spacefm-1.0.6/src/ptk/ptk-handler.c:2637:44: style: Parameter 'buffer' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/ptk/ptk-handler.c:2637:44: style: Parameter 'buffer' can be declared with const [constParameter] head spacefm-1.0.6/src/ptk/ptk-handler.c:2851:51: style: Parameter 'btn' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/ptk/ptk-handler.c:2851:51: style: Parameter 'btn' can be declared with const [constParameter] head spacefm-1.0.6/src/ptk/ptk-location-view.c:4935:51: style: Parameter 'menuitem' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/ptk/ptk-location-view.c:4935:51: style: Parameter 'menuitem' can be declared with const [constParameter] head spacefm-1.0.6/src/ptk/ptk-location-view.c:5184:52: style: Parameter 'iter' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/ptk/ptk-location-view.c:5184:52: style: Parameter 'iter' can be declared with const [constParameter] head spacefm-1.0.6/src/ptk/ptk-location-view.c:674:32: style: Parameter 'vol' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/ptk/ptk-location-view.c:674:32: style: Parameter 'vol' can be declared with const [constParameter] head spacefm-1.0.6/src/vfs/vfs-dir.c:310:83: style: Parameter 'file' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/vfs/vfs-dir.c:310:83: style: Parameter 'file' can be declared with const [constParameter] head spacefm-1.0.6/src/vfs/vfs-file-monitor.c:289:54: style: Parameter 'cb' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/vfs/vfs-file-monitor.c:289:54: style: Parameter 'cb' can be declared with const [constParameter] head spacefm-1.0.6/src/vfs/vfs-file-task.c:2451:44: style: Parameter 'have_stat' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/vfs/vfs-file-task.c:2451:44: style: Parameter 'have_stat' can be declared with const [constParameter] head spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:4537:52: style: Parameter 'cb' can be declared as pointer to const [constParameter] 2.8 spacefm-1.0.6/src/vfs/vfs-volume-nohal.c:4537:52: style: Parameter 'cb' can be declared with const [constParameter] DONE