2026-05-04 05:20 ftp://ftp.de.debian.org/debian/pool/main/p/parcellite/parcellite_1.2.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=motif --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 189 182 elapsed-time: 2.5 2.0 head-timing-info: old-timing-info: head results: parcellite-1.2.1/src/attr_list.c:46:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ATTR_UNDERLINE [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/attr_list.c:103:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ATTR_STRIKETHROUGH [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/attr_list.c:184:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/attr_list.c:106:7: style: Condition '0&&NULL==attr' is always false [knownConditionTrueFalse] parcellite-1.2.1/src/attr_list.c:58:16: style: Variable 'strike' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/attr_list.c:72:16: style: Variable 'strike' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/attr_list.c:121:16: style: Variable 'strike' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/attr_list.c:135:16: style: Variable 'strike' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/attr_list.c:154:43: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] parcellite-1.2.1/src/attr_list.c:154:53: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] parcellite-1.2.1/src/attr_list.c:158:23: style: Variable 'it' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/attr_list.c:174:9: style: Variable 'ele' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/daemon.c:54:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON1_MASK [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/daemon.c:88:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/daemon.c:99:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_PRIMARY [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/daemon.c:83:35: style: Parameter 'data' can be declared as pointer to const. However it seems that 'reset_daemon' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/daemon.c:106:51: note: You might need to cast the function pointer here parcellite-1.2.1/src/daemon.c:83:35: note: Parameter 'data' can be declared as pointer to const parcellite-1.2.1/src/eggaccelerators.c:540:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_Num_Lock [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/eggaccelerators.c:290:11: style: Same expression on both sides of '-='. [duplicateExpression] parcellite-1.2.1/src/eggaccelerators.c:330:10: style: Variable 'keyval_name' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/history.c:57:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/history.c:185:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/history.c:306:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/history.c:320:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/history.c:551:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/history.c:390:11: style: Condition 'node>-1' is always false [knownConditionTrueFalse] parcellite-1.2.1/src/history.c:384:9: note: Assuming that condition '-1!=node' is not redundant parcellite-1.2.1/src/history.c:388:11: note: Assuming condition is false parcellite-1.2.1/src/history.c:390:11: note: Condition 'node>-1' is always false parcellite-1.2.1/src/history.c:212:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] parcellite-1.2.1/src/history.c:212:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] parcellite-1.2.1/src/history.c:216:5: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] parcellite-1.2.1/src/history.c:220:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] parcellite-1.2.1/src/history.c:277:4: error: Memory leak: history_path [memleak] parcellite-1.2.1/src/history.c:355:8: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parcellite-1.2.1/src/history.c:334:48: style:inconclusive: Function 'is_duplicate' argument 3 names different: declaration 'type' definition 'flags'. [funcArgNamesDifferent] parcellite-1.2.1/src/history.h:58:46: note: Function 'is_duplicate' argument 3 names different: declaration 'type' definition 'flags'. parcellite-1.2.1/src/history.c:334:48: note: Function 'is_duplicate' argument 3 names different: declaration 'type' definition 'flags'. parcellite-1.2.1/src/history.c:121:12: style: Variable 'element' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/history.c:145:24: style: Parameter 'fmagic' can be declared as pointer to const [constParameterPointer] parcellite-1.2.1/src/history.c:284:26: style: Variable 'c' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/history.c:316:66: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] parcellite-1.2.1/src/history.c:334:26: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] parcellite-1.2.1/src/history.c:342:25: style: Variable 'c' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/history.c:413:30: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] parcellite-1.2.1/src/history.c:420:25: style: Variable 'c' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/history.c:515:33: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] parcellite-1.2.1/src/history.c:525:26: style: Variable 'c' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/keybinder.c:167:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_FILTER_CONTINUE [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/keybinder.c:312:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdk_display [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/keybinder.c:336:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CURRENT_TIME [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/keybinder.c:257:32: style:inconclusive: Function 'keybinder_bind' argument 3 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] parcellite-1.2.1/src/main.c:399:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON1_MASK [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/main.c:712:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/main.c:768:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/main.c:1020:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/main.c:1078:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONS_OK_CANCEL [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/main.c:1194:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/main.c:1345:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/main.c:1421:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_MOTION_NOTIFY [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/main.c:1609:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/main.c:1673:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_MOTION_NOTIFY [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/main.c:1734:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_PRESS [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/main.c:1935:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/main.c:2098:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/main.c:2131:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_MOD2_MASK [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/main.c:2230:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_PRIMARY [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/main.c:2292:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/main.c:2328:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/main.c:2372:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] parcellite-1.2.1/src/main.c:2391:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] parcellite-1.2.1/src/main.c:2411:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] parcellite-1.2.1/src/main.c:402:7: style: Condition '0&&NULL!=intext' is always false [knownConditionTrueFalse] parcellite-1.2.1/src/main.c:1420:6: style: Condition '0&&NULL!=e' is always false [knownConditionTrueFalse] parcellite-1.2.1/src/main.c:1676:10: style: Condition 'NULL!=h' is always true [knownConditionTrueFalse] parcellite-1.2.1/src/main.c:1856:11: style: Condition '0&&get_pref_int32("reverse_history")' is always false [knownConditionTrueFalse] parcellite-1.2.1/src/main.c:160:17: warning: Either the condition 'str1' is redundant or there is possible null pointer dereference: str1. [nullPointerRedundantCheck] parcellite-1.2.1/src/main.c:158:21: note: Assuming that condition 'str1' is not redundant parcellite-1.2.1/src/main.c:160:17: note: Null pointer dereference parcellite-1.2.1/src/main.c:193:6: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] parcellite-1.2.1/src/main.c:2329:3: warning: Redundant code: Found a statement that begins with string constant. [constStatement] parcellite-1.2.1/src/main.c:188:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/main.c:523:24: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] parcellite-1.2.1/src/main.c:560:17: style: Variable 'ctext' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/main.c:651:40: style: Parameter 'data' can be declared as pointer to const. However it seems that 'check_clipboards_tic' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/main.c:2257:33: note: You might need to cast the function pointer here parcellite-1.2.1/src/main.c:651:40: note: Parameter 'data' can be declared as pointer to const parcellite-1.2.1/src/main.c:736:46: style: Parameter 'button' can be declared as pointer to const. However it seems that 'edit_actions_selected' is a callback function, if 'button' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/main.c:1291:3: note: You might need to cast the function pointer here parcellite-1.2.1/src/main.c:736:46: note: Parameter 'button' can be declared as pointer to const parcellite-1.2.1/src/main.c:736:63: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'edit_actions_selected' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/main.c:1291:3: note: You might need to cast the function pointer here parcellite-1.2.1/src/main.c:736:63: note: Parameter 'user_data' can be declared as pointer to const parcellite-1.2.1/src/main.c:868:27: style: Variable 'd' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/main.c:921:8: style: Variable 'delim' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/main.c:923:23: style: Variable 'h' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/main.c:960:23: style: Variable 'c' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/main.c:1012:23: style: Variable 'c' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/main.c:1163:47: style: Parameter 'menu_item' can be declared as pointer to const. However it seems that 'preferences_selected' is a callback function, if 'menu_item' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/main.c:2094:3: note: You might need to cast the function pointer here parcellite-1.2.1/src/main.c:1163:47: note: Parameter 'menu_item' can be declared as pointer to const parcellite-1.2.1/src/main.c:1163:67: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'preferences_selected' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/main.c:2094:3: note: You might need to cast the function pointer here parcellite-1.2.1/src/main.c:1163:67: note: Parameter 'user_data' can be declared as pointer to const parcellite-1.2.1/src/main.c:1174:40: style: Parameter 'menu_item' can be declared as pointer to const. However it seems that 'quit_selected' is a callback function, if 'menu_item' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/main.c:2109:3: note: You might need to cast the function pointer here parcellite-1.2.1/src/main.c:1174:40: note: Parameter 'menu_item' can be declared as pointer to const parcellite-1.2.1/src/main.c:1174:60: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'quit_selected' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/main.c:2109:3: note: You might need to cast the function pointer here parcellite-1.2.1/src/main.c:1174:60: note: Parameter 'user_data' can be declared as pointer to const parcellite-1.2.1/src/main.c:1366:82: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'postition_history' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/main.c:2031:76: note: You might need to cast the function pointer here parcellite-1.2.1/src/main.c:1366:82: note: Parameter 'user_data' can be declared as pointer to const parcellite-1.2.1/src/main.c:1430:20: style: Variable 'b' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/main.c:1541:11: style: Variable 'l' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/main.c:1662:13: style: Variable 'menu' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/main.c:1677:21: style: Variable 'enter' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/main.c:1689:19: style: Variable 'b' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/main.c:1722:40: style: Parameter 'menu_item' can be declared as pointer to const. However it seems that 'item_selected' is a callback function, if 'menu_item' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/main.c:1918:5: note: You might need to cast the function pointer here parcellite-1.2.1/src/main.c:1722:40: note: Parameter 'menu_item' can be declared as pointer to const parcellite-1.2.1/src/main.c:1731:15: style: Variable 'k' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/main.c:1803:44: style: Parameter 'data' can be declared as pointer to const. However it seems that 'show_history_menu' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/main.c:2202:32: note: You might need to cast the function pointer here parcellite-1.2.1/src/main.c:1803:44: note: Parameter 'data' can be declared as pointer to const parcellite-1.2.1/src/main.c:1882:14: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/main.c:1883:20: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/main.c:2065:39: style: Parameter 'm' can be declared as pointer to const. However it seems that '_show_history_menu' is a callback function, if 'm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/main.c:2101:4: note: You might need to cast the function pointer here parcellite-1.2.1/src/main.c:2065:39: note: Parameter 'm' can be declared as pointer to const parcellite-1.2.1/src/main.c:2065:51: style: Parameter 'data' can be declared as pointer to const. However it seems that '_show_history_menu' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/main.c:2101:4: note: You might need to cast the function pointer here parcellite-1.2.1/src/main.c:2065:51: note: Parameter 'data' can be declared as pointer to const parcellite-1.2.1/src/main.c:2118:50: style: Parameter 'status_icon' can be declared as pointer to const. However it seems that 'show_parcellite_menu' is a callback function, if 'status_icon' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/main.c:2157:4: note: You might need to cast the function pointer here parcellite-1.2.1/src/main.c:2118:50: note: Parameter 'status_icon' can be declared as pointer to const parcellite-1.2.1/src/main.c:2118:108: style: Parameter 'data' can be declared as pointer to const. However it seems that 'show_parcellite_menu' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/main.c:2157:4: note: You might need to cast the function pointer here parcellite-1.2.1/src/main.c:2118:108: note: Parameter 'data' can be declared as pointer to const parcellite-1.2.1/src/main.c:2194:27: style: Parameter 'keystring' can be declared as pointer to const. However it seems that 'history_hotkey' is a callback function, if 'keystring' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/main.c:2438:52: note: You might need to cast the function pointer here parcellite-1.2.1/src/main.c:2194:27: note: Parameter 'keystring' can be declared as pointer to const parcellite-1.2.1/src/main.c:2194:47: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'history_hotkey' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/main.c:2438:52: note: You might need to cast the function pointer here parcellite-1.2.1/src/main.c:2194:47: note: Parameter 'user_data' can be declared as pointer to const parcellite-1.2.1/src/main.c:2199:28: style: Parameter 'keystring' can be declared as pointer to const. However it seems that 'phistory_hotkey' is a callback function, if 'keystring' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/main.c:2437:52: note: You might need to cast the function pointer here parcellite-1.2.1/src/main.c:2199:28: note: Parameter 'keystring' can be declared as pointer to const parcellite-1.2.1/src/main.c:2199:48: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'phistory_hotkey' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/main.c:2437:52: note: You might need to cast the function pointer here parcellite-1.2.1/src/main.c:2199:48: note: Parameter 'user_data' can be declared as pointer to const parcellite-1.2.1/src/main.c:2206:27: style: Parameter 'keystring' can be declared as pointer to const. However it seems that 'actions_hotkey' is a callback function, if 'keystring' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/main.c:2439:52: note: You might need to cast the function pointer here parcellite-1.2.1/src/main.c:2206:27: note: Parameter 'keystring' can be declared as pointer to const parcellite-1.2.1/src/main.c:2206:47: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'actions_hotkey' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/main.c:2439:52: note: You might need to cast the function pointer here parcellite-1.2.1/src/main.c:2206:47: note: Parameter 'user_data' can be declared as pointer to const parcellite-1.2.1/src/main.c:1539:16: style: Variable 'first' is assigned a value that is never used. [unreadVariable] parcellite-1.2.1/src/main.c:1671:6: style: Variable 'menu' is assigned a value that is never used. [unreadVariable] parcellite-1.2.1/src/preferences.c:450:37: debug: Function::addArguments found argument 'fhk' with varid 0. [varid0] parcellite-1.2.1/src/preferences.c:205:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/preferences.c:502:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/preferences.c:558:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/preferences.c:1014:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_NONE [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/preferences.c:1116:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_NO_SEPARATOR [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/preferences.c:649:3: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] parcellite-1.2.1/src/preferences.c:525:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] parcellite-1.2.1/src/preferences.c:1006:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] parcellite-1.2.1/src/preferences.c:1021:14: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] parcellite-1.2.1/src/preferences.c:1033:13: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] parcellite-1.2.1/src/preferences.c:1047:13: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] parcellite-1.2.1/src/preferences.c:1135:30: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] parcellite-1.2.1/src/preferences.c:1149:29: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] parcellite-1.2.1/src/preferences.c:1164:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] parcellite-1.2.1/src/preferences.c:1168:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] parcellite-1.2.1/src/preferences.c:1188:29: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] parcellite-1.2.1/src/preferences.c:1268:28: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] parcellite-1.2.1/src/preferences.c:1280:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] parcellite-1.2.1/src/preferences.c:457:21: style: Redundant condition: If 'NULL!=p->cval', the comparison 'p->cval != 0' is always true. [redundantCondition] parcellite-1.2.1/src/preferences.c:327:10: style: Condition 'NULL==p' is always false [knownConditionTrueFalse] parcellite-1.2.1/src/preferences.c:340:10: style: Condition 'NULL==p' is always false [knownConditionTrueFalse] parcellite-1.2.1/src/preferences.c:352:10: style: Condition 'NULL==p' is always false [knownConditionTrueFalse] parcellite-1.2.1/src/preferences.c:366:10: style: Condition 'NULL==p' is always false [knownConditionTrueFalse] parcellite-1.2.1/src/preferences.c:378:10: style: Condition 'NULL==p' is always false [knownConditionTrueFalse] parcellite-1.2.1/src/preferences.c:392:10: style: Condition 'NULL==p' is always false [knownConditionTrueFalse] parcellite-1.2.1/src/preferences.c:405:10: style: Condition 'NULL==p' is always false [knownConditionTrueFalse] parcellite-1.2.1/src/preferences.c:421:10: style: Condition 'NULL==p' is always false [knownConditionTrueFalse] parcellite-1.2.1/src/preferences.c:435:10: style: Condition 'NULL==p' is always false [knownConditionTrueFalse] parcellite-1.2.1/src/preferences.c:453:10: style: Condition 'NULL==p' is always false [knownConditionTrueFalse] parcellite-1.2.1/src/preferences.c:649:32: error: Allocation with g_key_file_to_data, g_file_set_contents doesn't release it. [leakNoVarFunctionCall] parcellite-1.2.1/src/preferences.c:1225:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] parcellite-1.2.1/src/preferences.c:674:9: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] parcellite-1.2.1/src/preferences.c:672:4: note: i is assigned parcellite-1.2.1/src/preferences.c:674:9: note: i is overwritten parcellite-1.2.1/src/preferences.c:450:37: style:inconclusive: Function 'bind_itemkey' argument 2 names different: declaration '' definition 'fhk'. [funcArgNamesDifferentUnnamed] parcellite-1.2.1/src/preferences.c:195:66: style: Parameter 'data' can be declared as pointer to const. However it seems that 'check_for_tools_exit' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/preferences.c:224:43: note: You might need to cast the function pointer here parcellite-1.2.1/src/preferences.c:195:66: note: Parameter 'data' can be declared as pointer to const parcellite-1.2.1/src/preferences.c:234:34: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] parcellite-1.2.1/src/preferences.c:258:21: style: Variable 'p' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/preferences.c:268:49: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] parcellite-1.2.1/src/preferences.c:339:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/preferences.c:365:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/preferences.c:391:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/preferences.c:420:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/preferences.c:452:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/preferences.c:467:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] parcellite-1.2.1/src/preferences.c:521:9: style: Variable 'val' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/preferences.c:819:44: style: Parameter 'togglebutton' can be declared as pointer to const. However it seems that 'check_toggled' is a callback function, if 'togglebutton' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/preferences.c:125:58: note: You might need to cast the function pointer here parcellite-1.2.1/src/preferences.c:819:44: note: Parameter 'togglebutton' can be declared as pointer to const parcellite-1.2.1/src/preferences.c:819:67: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'check_toggled' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/preferences.c:125:58: note: You might need to cast the function pointer here parcellite-1.2.1/src/preferences.c:819:67: note: Parameter 'user_data' can be declared as pointer to const parcellite-1.2.1/src/preferences.c:929:43: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'delete_key_pressed' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/preferences.c:1240:3: note: You might need to cast the function pointer here parcellite-1.2.1/src/preferences.c:929:43: note: Parameter 'widget' can be declared as pointer to const parcellite-1.2.1/src/preferences.c:929:64: style: Parameter 'event' can be declared as pointer to const. However it seems that 'delete_key_pressed' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/preferences.c:1240:3: note: You might need to cast the function pointer here parcellite-1.2.1/src/preferences.c:929:64: note: Parameter 'event' can be declared as pointer to const parcellite-1.2.1/src/preferences.c:929:80: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'delete_key_pressed' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/preferences.c:1240:3: note: You might need to cast the function pointer here parcellite-1.2.1/src/preferences.c:929:80: note: Parameter 'user_data' can be declared as pointer to const parcellite-1.2.1/src/preferences.c:1000:11: style: Variable 'single_st' is assigned a value that is never used. [unreadVariable] parcellite-1.2.1/src/utils.c:80:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/utils.c:130:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_REGEX_CASELESS [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/utils.c:146:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/utils.c:226:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/utils.c:293:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/utils.c:366:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/utils.c:405:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/utils.c:496:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/utils.c:560:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/utils.c:647:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/utils.c:664:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/utils.c:728:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/utils.c:763:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/utils.c:815:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/utils.c:899:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONS_OK [valueFlowBailoutIncompleteVar] parcellite-1.2.1/src/utils.c:268:16: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] parcellite-1.2.1/src/utils.c:124:30: style:inconclusive: Function 'is_hyperlink' argument 1 names different: declaration 'link' definition 'text'. [funcArgNamesDifferent] parcellite-1.2.1/src/utils.h:40:30: note: Function 'is_hyperlink' argument 1 names different: declaration 'link' definition 'text'. parcellite-1.2.1/src/utils.c:124:30: note: Function 'is_hyperlink' argument 1 names different: declaration 'link' definition 'text'. parcellite-1.2.1/src/utils.c:870:33: style:inconclusive: Function 'close_fifos' argument 1 names different: declaration 'p' definition 'f'. [funcArgNamesDifferent] parcellite-1.2.1/src/utils.h:83:33: note: Function 'close_fifos' argument 1 names different: declaration 'p' definition 'f'. parcellite-1.2.1/src/utils.c:870:33: note: Function 'close_fifos' argument 1 names different: declaration 'p' definition 'f'. parcellite-1.2.1/src/utils.c:203:10: style: Variable 'v' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/utils.c:286:42: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] parcellite-1.2.1/src/utils.c:319:10: style: Variable 'f' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/utils.c:494:17: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/utils.c:517:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] parcellite-1.2.1/src/utils.c:549:36: style: Parameter 'src' can be declared as pointer to const. However it seems that 'fifo_read_cb' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/utils.c:685:51: note: You might need to cast the function pointer here parcellite-1.2.1/src/utils.c:549:36: note: Parameter 'src' can be declared as pointer to const parcellite-1.2.1/src/utils.c:757:31: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] parcellite-1.2.1/src/utils.c:757:51: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] parcellite-1.2.1/src/utils.c:580:4: style: Variable 's' is assigned a value that is never used. [unreadVariable] diff: head parcellite-1.2.1/src/keybinder.c:257:32: style:inconclusive: Function 'keybinder_bind' argument 3 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] head parcellite-1.2.1/src/main.c:1803:44: style: Parameter 'data' can be declared as pointer to const. However it seems that 'show_history_menu' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/main.c:2202:32: note: You might need to cast the function pointer here parcellite-1.2.1/src/main.c:1803:44: note: Parameter 'data' can be declared as pointer to const head parcellite-1.2.1/src/preferences.c:450:37: style:inconclusive: Function 'bind_itemkey' argument 2 names different: declaration '' definition 'fhk'. [funcArgNamesDifferentUnnamed] head parcellite-1.2.1/src/preferences.c:819:44: style: Parameter 'togglebutton' can be declared as pointer to const. However it seems that 'check_toggled' is a callback function, if 'togglebutton' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/preferences.c:125:58: note: You might need to cast the function pointer here parcellite-1.2.1/src/preferences.c:819:44: note: Parameter 'togglebutton' can be declared as pointer to const head parcellite-1.2.1/src/preferences.c:819:67: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'check_toggled' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/preferences.c:125:58: note: You might need to cast the function pointer here parcellite-1.2.1/src/preferences.c:819:67: note: Parameter 'user_data' can be declared as pointer to const head parcellite-1.2.1/src/preferences.c:929:43: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'delete_key_pressed' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/preferences.c:1240:3: note: You might need to cast the function pointer here parcellite-1.2.1/src/preferences.c:929:43: note: Parameter 'widget' can be declared as pointer to const head parcellite-1.2.1/src/preferences.c:929:80: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'delete_key_pressed' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] parcellite-1.2.1/src/preferences.c:1240:3: note: You might need to cast the function pointer here parcellite-1.2.1/src/preferences.c:929:80: note: Parameter 'user_data' can be declared as pointer to const DONE