2024-04-23 09:32 ftp://ftp.de.debian.org/debian/pool/main/y/yad/yad_7.2.orig.tar.xz 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 -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-105-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.14.0 head-info: 9b87f67 (2024-04-23 10:17:07 +0200) count: 216 216 elapsed-time: 27.6 27.0 head-timing-info: old-timing-info: head results: yad-7.2/src/about.c:46:0: error: failed to expand '_', it is invalid to use a preprocessor directive as macro parameter [preprocessorErrorDirective] yad-7.2/src/app.c:25:40: style: Parameter 'w' can be declared as pointer to const. However it seems that 'app_activated_cb' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/app.c:51:3: note: You might need to cast the function pointer here yad-7.2/src/app.c:25:40: note: Parameter 'w' can be declared as pointer to const yad-7.2/src/app.c:25:53: style: Parameter 'app' can be declared as pointer to const. However it seems that 'app_activated_cb' is a callback function, if 'app' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/app.c:51:3: note: You might need to cast the function pointer here yad-7.2/src/app.c:25:53: note: Parameter 'app' can be declared as pointer to const yad-7.2/src/app.c:25:67: style: Parameter 'd' can be declared as pointer to const. However it seems that 'app_activated_cb' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/app.c:51:3: note: You might need to cast the function pointer here yad-7.2/src/app.c:25:67: note: Parameter 'd' can be declared as pointer to const yad-7.2/src/browser.c:46:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] yad-7.2/src/browser.c:61:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] yad-7.2/src/browser.c:144:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_DIALOG [valueFlowBailoutIncompleteVar] yad-7.2/src/browser.c:214:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_NONE [valueFlowBailoutIncompleteVar] yad-7.2/src/browser.c:229:3: error: Memory leak: data [memleak] yad-7.2/src/browser.c:229:8: style: Variable 'data' is reassigned a value before the old one has been used. [redundantAssignment] yad-7.2/src/browser.c:221:8: note: data is assigned yad-7.2/src/browser.c:229:8: note: data is overwritten yad-7.2/src/browser.c:44:27: style: Parameter 'w' can be declared as pointer to const. However it seems that 'key_press_cb' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/browser.c:260:3: note: You might need to cast the function pointer here yad-7.2/src/browser.c:44:27: note: Parameter 'w' can be declared as pointer to const yad-7.2/src/browser.c:44:44: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'key_press_cb' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/browser.c:260:3: note: You might need to cast the function pointer here yad-7.2/src/browser.c:44:44: note: Parameter 'ev' can be declared as pointer to const yad-7.2/src/browser.c:44:57: style: Parameter 'data' can be declared as pointer to const. However it seems that 'key_press_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/browser.c:260:3: note: You might need to cast the function pointer here yad-7.2/src/browser.c:44:57: note: Parameter 'data' can be declared as pointer to const yad-7.2/src/browser.c:136:17: style: Variable 'file' can be declared as pointer to const [constVariablePointer] yad-7.2/src/calendar.c:39:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] yad-7.2/src/calendar.c:108:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CALENDAR_SHOW_HEADING [valueFlowBailoutIncompleteVar] yad-7.2/src/calendar.c:78:10: warning: Identical condition and return expression 'str', return value is always 0 [identicalConditionAfterEarlyExit] yad-7.2/src/calendar.c:76:7: note: If condition 'str' is true, the function will return/exit yad-7.2/src/calendar.c:78:10: note: Returning identical expression 'str' yad-7.2/src/calendar.c:129:1: error: Memory leak: date [memleak] yad-7.2/src/calendar.c:105:55: error: Allocation with get_details, gtk_calendar_set_detail_func doesn't release it. [leakNoVarFunctionCall] yad-7.2/src/calendar.c:82:30: style: Parameter 'w' can be declared as pointer to const. However it seems that 'double_click_cb' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/calendar.c:113:3: note: You might need to cast the function pointer here yad-7.2/src/calendar.c:82:30: note: Parameter 'w' can be declared as pointer to const yad-7.2/src/calendar.c:82:42: style: Parameter 'data' can be declared as pointer to const. However it seems that 'double_click_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/calendar.c:113:3: note: You might need to cast the function pointer here yad-7.2/src/calendar.c:82:42: note: Parameter 'data' can be declared as pointer to const yad-7.2/src/color.c:59:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RGB_FILE [valueFlowBailoutIncompleteVar] yad-7.2/src/color.c:151:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_ETCHED_IN [valueFlowBailoutIncompleteVar] yad-7.2/src/color.c:30:10: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] yad-7.2/src/color.c:203:10: style: Variable 'cs' can be declared as pointer to const [constVariablePointer] yad-7.2/src/dnd.c:57:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] yad-7.2/src/dnd.c:115:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DEST_DEFAULT_ALL [valueFlowBailoutIncompleteVar] yad-7.2/src/entry.c:35:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Return [valueFlowBailoutIncompleteVar] yad-7.2/src/entry.c:94:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] yad-7.2/src/entry.c:26:31: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'entry_activate_cb' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/entry.c:295:5: note: You might need to cast the function pointer here yad-7.2/src/entry.c:26:31: note: Parameter 'entry' can be declared as pointer to const yad-7.2/src/entry.c:26:47: style: Parameter 'data' can be declared as pointer to const. However it seems that 'entry_activate_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/entry.c:295:5: note: You might need to cast the function pointer here yad-7.2/src/entry.c:26:47: note: Parameter 'data' can be declared as pointer to const yad-7.2/src/entry.c:33:32: style: Parameter 'w' can be declared as pointer to const. However it seems that 'combo_activate_cb' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/entry.c:297:5: note: You might need to cast the function pointer here yad-7.2/src/entry.c:33:32: note: Parameter 'w' can be declared as pointer to const yad-7.2/src/entry.c:33:49: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'combo_activate_cb' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/entry.c:297:5: note: You might need to cast the function pointer here yad-7.2/src/entry.c:33:49: note: Parameter 'ev' can be declared as pointer to const yad-7.2/src/entry.c:33:62: style: Parameter 'data' can be declared as pointer to const. However it seems that 'combo_activate_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/entry.c:297:5: note: You might need to cast the function pointer here yad-7.2/src/entry.c:33:62: note: Parameter 'data' can be declared as pointer to const yad-7.2/src/entry.c:45:71: style: Parameter 'event' can be declared as pointer to const. However it seems that 'icon_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/entry.c:300:5: note: You might need to cast the function pointer here yad-7.2/src/entry.c:45:71: note: Parameter 'event' can be declared as pointer to const yad-7.2/src/file.c:38:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] yad-7.2/src/file.c:63:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] yad-7.2/src/file.c:105:64: error: Allocation with g_get_current_dir, gtk_file_chooser_set_current_folder doesn't release it. [leakNoVarFunctionCall] yad-7.2/src/file.c:143:25: error: Allocation with g_filename_to_utf8, g_printf doesn't release it. [leakNoVarFunctionCall] yad-7.2/src/file.c:25:37: style: Parameter 'chooser' can be declared as pointer to const. However it seems that 'file_activated_cb' is a callback function, if 'chooser' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/file.c:123:3: note: You might need to cast the function pointer here yad-7.2/src/file.c:25:37: note: Parameter 'chooser' can be declared as pointer to const yad-7.2/src/file.c:25:55: style: Parameter 'data' can be declared as pointer to const. However it seems that 'file_activated_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/file.c:123:3: note: You might need to cast the function pointer here yad-7.2/src/file.c:25:55: note: Parameter 'data' can be declared as pointer to const yad-7.2/src/font.c:76:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] yad-7.2/src/font.c:25:36: style: Parameter 'w' can be declared as pointer to const. However it seems that 'font_activated_cb' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/font.c:48:3: note: You might need to cast the function pointer here yad-7.2/src/font.c:25:36: note: Parameter 'w' can be declared as pointer to const yad-7.2/src/font.c:25:46: style: Parameter 'fn' can be declared as pointer to const. However it seems that 'font_activated_cb' is a callback function, if 'fn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/font.c:48:3: note: You might need to cast the function pointer here yad-7.2/src/font.c:25:46: note: Parameter 'fn' can be declared as pointer to const yad-7.2/src/font.c:25:59: style: Parameter 'd' can be declared as pointer to const. However it seems that 'font_activated_cb' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/font.c:48:3: note: You might need to cast the function pointer here yad-7.2/src/font.c:25:59: note: Parameter 'd' can be declared as pointer to const yad-7.2/src/form.c:445:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] yad-7.2/src/form.c:532:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] yad-7.2/src/form.c:587:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] yad-7.2/src/form.c:601:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] yad-7.2/src/form.c:649:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] yad-7.2/src/form.c:748:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_NONE [valueFlowBailoutIncompleteVar] yad-7.2/src/form.c:1227:36: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] yad-7.2/src/form.c:919:74: error: Allocation with g_get_current_dir, gtk_file_chooser_set_current_folder doesn't release it. [leakNoVarFunctionCall] yad-7.2/src/form.c:949:74: error: Allocation with g_get_current_dir, gtk_file_chooser_set_current_folder doesn't release it. [leakNoVarFunctionCall] yad-7.2/src/form.c:381:18: style: Local variable 'data' shadows outer argument [shadowArgument] yad-7.2/src/form.c:373:44: note: Shadowed declaration yad-7.2/src/form.c:381:18: note: Shadow variable yad-7.2/src/form.c:1160:28: style: Local variable 'l' shadows outer variable [shadowVariable] yad-7.2/src/form.c:730:18: note: Shadowed declaration yad-7.2/src/form.c:1160:28: note: Shadow variable yad-7.2/src/form.c:1443:53: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] yad-7.2/src/form.c:176:13: style: Variable 'fld' can be declared as pointer to const [constVariablePointer] yad-7.2/src/form.c:424:30: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'form_activate_cb' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/form.c:1057:15: note: You might need to cast the function pointer here yad-7.2/src/form.c:424:30: note: Parameter 'entry' can be declared as pointer to const yad-7.2/src/form.c:424:46: style: Parameter 'data' can be declared as pointer to const. However it seems that 'form_activate_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/form.c:1057:15: note: You might need to cast the function pointer here yad-7.2/src/form.c:424:46: note: Parameter 'data' can be declared as pointer to const yad-7.2/src/form.c:431:79: style: Parameter 'event' can be declared as pointer to const. However it seems that 'select_files_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/form.c:1015:15: note: You might need to cast the function pointer here yad-7.2/src/form.c:431:79: note: Parameter 'event' can be declared as pointer to const yad-7.2/src/form.c:518:79: style: Parameter 'event' can be declared as pointer to const. However it seems that 'create_files_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/form.c:1035:15: note: You might need to cast the function pointer here yad-7.2/src/form.c:518:79: note: Parameter 'event' can be declared as pointer to const yad-7.2/src/form.c:591:78: style: Parameter 'event' can be declared as pointer to const. However it seems that 'select_date_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/form.c:1056:15: note: You might need to cast the function pointer here yad-7.2/src/form.c:591:78: note: Parameter 'event' can be declared as pointer to const yad-7.2/src/html.c:45:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] yad-7.2/src/html.c:72:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEBKIT_LOAD_FINISHED [valueFlowBailoutIncompleteVar] yad-7.2/src/html.c:88:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEBKIT_NAVIGATION_TYPE_LINK_CLICKED [valueFlowBailoutIncompleteVar] yad-7.2/src/html.c:173:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] yad-7.2/src/html.c:197:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] yad-7.2/src/html.c:207:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] yad-7.2/src/html.c:379:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] yad-7.2/src/html.c:380:5: error: Memory leak: ch [memleak] yad-7.2/src/html.c:58:11: error: Return value of allocation function 'g_uri_parse_scheme' is not stored. [leakReturnValNotUsed] yad-7.2/src/html.c:323:19: style: Local variable 'settings' shadows outer variable [shadowVariable] yad-7.2/src/yad.h:551:19: note: Shadowed declaration yad-7.2/src/html.c:323:19: note: Shadow variable yad-7.2/src/html.c:70:27: style: Parameter 'v' can be declared as pointer to const. However it seems that 'loaded_cb' is a callback function, if 'v' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/html.c:344:3: note: You might need to cast the function pointer here yad-7.2/src/html.c:70:27: note: Parameter 'v' can be declared as pointer to const yad-7.2/src/html.c:70:59: style: Parameter 'd' can be declared as pointer to const. However it seems that 'loaded_cb' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/html.c:344:3: note: You might need to cast the function pointer here yad-7.2/src/html.c:70:59: note: Parameter 'd' can be declared as pointer to const yad-7.2/src/html.c:163:76: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'select_file_cb' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/html.c:225:3: note: You might need to cast the function pointer here yad-7.2/src/html.c:163:76: note: Parameter 'ev' can be declared as pointer to const yad-7.2/src/html.c:235:25: style: Parameter 'act' can be declared as pointer to const. However it seems that 'quit_cb' is a callback function, if 'act' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/html.c:259:3: note: You might need to cast the function pointer here yad-7.2/src/html.c:235:25: note: Parameter 'act' can be declared as pointer to const yad-7.2/src/html.c:235:40: style: Parameter 'param' can be declared as pointer to const. However it seems that 'quit_cb' is a callback function, if 'param' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/html.c:259:3: note: You might need to cast the function pointer here yad-7.2/src/html.c:235:40: note: Parameter 'param' can be declared as pointer to const yad-7.2/src/html.c:235:56: style: Parameter 'd' can be declared as pointer to const. However it seems that 'quit_cb' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/html.c:259:3: note: You might need to cast the function pointer here yad-7.2/src/html.c:235:56: note: Parameter 'd' can be declared as pointer to const yad-7.2/src/html.c:336:14: style: Variable 'uri' can be declared as pointer to const [constVariablePointer] yad-7.2/src/icons.c:65:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] yad-7.2/src/icons.c:167:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] yad-7.2/src/icons.c:437:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_MONITOR_EVENT_DELETED [valueFlowBailoutIncompleteVar] yad-7.2/src/icons.c:447:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_ETCHED_IN [valueFlowBailoutIncompleteVar] yad-7.2/src/icons.c:173:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] yad-7.2/src/icons.c:513:5: error: Memory leak: channel [memleak] yad-7.2/src/icons.c:435:31: style: Parameter 'mon' can be declared as pointer to const. However it seems that 'dir_changed_cb' is a callback function, if 'mon' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/icons.c:527:11: note: You might need to cast the function pointer here yad-7.2/src/icons.c:435:31: note: Parameter 'mon' can be declared as pointer to const yad-7.2/src/icons.c:435:43: style: Parameter 'file' can be declared as pointer to const. However it seems that 'dir_changed_cb' is a callback function, if 'file' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/icons.c:527:11: note: You might need to cast the function pointer here yad-7.2/src/icons.c:435:43: note: Parameter 'file' can be declared as pointer to const yad-7.2/src/icons.c:435:56: style: Parameter 'ofile' can be declared as pointer to const. However it seems that 'dir_changed_cb' is a callback function, if 'ofile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/icons.c:527:11: note: You might need to cast the function pointer here yad-7.2/src/icons.c:435:56: note: Parameter 'ofile' can be declared as pointer to const yad-7.2/src/icons.c:435:94: style: Parameter 'data' can be declared as pointer to const. However it seems that 'dir_changed_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/icons.c:527:11: note: You might need to cast the function pointer here yad-7.2/src/icons.c:435:94: note: Parameter 'data' can be declared as pointer to const yad-7.2/src/list.c:66:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Return [valueFlowBailoutIncompleteVar] yad-7.2/src/list.c:198:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_REGEX_CASELESS [valueFlowBailoutIncompleteVar] yad-7.2/src/list.c:247:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_BOOLEAN [valueFlowBailoutIncompleteVar] yad-7.2/src/list.c:571:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] yad-7.2/src/list.c:728:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] yad-7.2/src/list.c:782:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_REGEX_OPTIMIZE [valueFlowBailoutIncompleteVar] yad-7.2/src/list.c:863:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_REGEX_OPTIMIZE [valueFlowBailoutIncompleteVar] yad-7.2/src/list.c:1258:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_ETCHED_IN [valueFlowBailoutIncompleteVar] yad-7.2/src/list.c:52:36: error: Using pointer to local variable 'pit' that is out of scope. [invalidLifetime] yad-7.2/src/list.c:47:22: note: Address of variable taken here. yad-7.2/src/list.c:45:23: note: Variable created here. yad-7.2/src/list.c:52:36: note: Using pointer to local variable 'pit' that is out of scope. yad-7.2/src/list.c:54:35: error: Using pointer to local variable 'pit' that is out of scope. [invalidLifetime] yad-7.2/src/list.c:47:22: note: Address of variable taken here. yad-7.2/src/list.c:45:23: note: Variable created here. yad-7.2/src/list.c:54:35: note: Using pointer to local variable 'pit' that is out of scope. yad-7.2/src/list.c:578:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] yad-7.2/src/list.c:308:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] yad-7.2/src/list.c:339:1: error: Memory leak: str [memleak] yad-7.2/src/list.c:1053:73: error: Allocation with g_strdup, gtk_tree_store_set doesn't release it. [leakNoVarFunctionCall] yad-7.2/src/list.c:791:18: style: Local variable 'data' shadows outer argument [shadowArgument] yad-7.2/src/list.c:761:92: note: Shadowed declaration yad-7.2/src/list.c:791:18: note: Shadow variable yad-7.2/src/list.c:64:30: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'list_activate_cb' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/list.c:1321:7: note: You might need to cast the function pointer here yad-7.2/src/list.c:64:30: note: Parameter 'widget' can be declared as pointer to const yad-7.2/src/list.c:64:51: style: Parameter 'event' can be declared as pointer to const. However it seems that 'list_activate_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/list.c:1321:7: note: You might need to cast the function pointer here yad-7.2/src/list.c:64:51: note: Parameter 'event' can be declared as pointer to const yad-7.2/src/list.c:64:67: style: Parameter 'data' can be declared as pointer to const. However it seems that 'list_activate_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/list.c:1321:7: note: You might need to cast the function pointer here yad-7.2/src/list.c:64:67: note: Parameter 'data' can be declared as pointer to const yad-7.2/src/list.c:171:14: style: Variable 'col' can be declared as pointer to const [constVariablePointer] yad-7.2/src/list.c:241:18: style: Variable 'col' can be declared as pointer to const [constVariablePointer] yad-7.2/src/list.c:470:14: style: Variable 'col' can be declared as pointer to const [constVariablePointer] yad-7.2/src/list.c:517:14: style: Variable 'col' can be declared as pointer to const [constVariablePointer] yad-7.2/src/list.c:1028:22: style: Variable 'col' can be declared as pointer to const [constVariablePointer] yad-7.2/src/list.c:1061:46: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'popup_menu_cb' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/list.c:1276:5: note: You might need to cast the function pointer here yad-7.2/src/list.c:1061:46: note: Parameter 'ev' can be declared as pointer to const yad-7.2/src/list.c:1293:18: style: Variable 'col' can be declared as pointer to const [constVariablePointer] yad-7.2/src/list.c:1336:14: style: Variable 'col' can be declared as pointer to const [constVariablePointer] yad-7.2/src/main.c:91:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] yad-7.2/src/main.c:185:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ALIGN_CENTER [valueFlowBailoutIncompleteVar] yad-7.2/src/main.c:344:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] yad-7.2/src/main.c:672:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] yad-7.2/src/main.c:593:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] yad-7.2/src/main.c:598:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] yad-7.2/src/main.c:278:11: style: Condition 'mw' is always true [knownConditionTrueFalse] yad-7.2/src/main.c:76:21: style: Parameter 'w' can be declared as pointer to const. However it seems that 'keys_cb' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/main.c:351:3: note: You might need to cast the function pointer here yad-7.2/src/main.c:76:21: note: Parameter 'w' can be declared as pointer to const yad-7.2/src/main.c:76:37: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'keys_cb' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/main.c:351:3: note: You might need to cast the function pointer here yad-7.2/src/main.c:76:37: note: Parameter 'ev' can be declared as pointer to const yad-7.2/src/main.c:76:50: style: Parameter 'd' can be declared as pointer to const. However it seems that 'keys_cb' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/main.c:351:3: note: You might need to cast the function pointer here yad-7.2/src/main.c:76:50: note: Parameter 'd' can be declared as pointer to const yad-7.2/src/main.c:146:24: style: Parameter 'w' can be declared as pointer to const. However it seems that 'unfocus_cb' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/main.c:352:3: note: You might need to cast the function pointer here yad-7.2/src/main.c:146:24: note: Parameter 'w' can be declared as pointer to const yad-7.2/src/main.c:146:42: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'unfocus_cb' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/main.c:352:3: note: You might need to cast the function pointer here yad-7.2/src/main.c:146:42: note: Parameter 'ev' can be declared as pointer to const yad-7.2/src/main.c:146:55: style: Parameter 'd' can be declared as pointer to const. However it seems that 'unfocus_cb' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/main.c:352:3: note: You might need to cast the function pointer here yad-7.2/src/main.c:146:55: note: Parameter 'd' can be declared as pointer to const yad-7.2/src/notebook.c:156:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_RMID [valueFlowBailoutIncompleteVar] yad-7.2/src/notebook.c:92:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] yad-7.2/src/notebook.c:151:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] yad-7.2/src/notification.c:123:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] yad-7.2/src/notification.c:166:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CURRENT_TIME [valueFlowBailoutIncompleteVar] yad-7.2/src/notification.c:263:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] yad-7.2/src/notification.c:427:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] yad-7.2/src/notification.c:270:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] yad-7.2/src/notification.c:441:3: error: Memory leak: channel [memleak] yad-7.2/src/notification.c:59:25: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] yad-7.2/src/notification.c:103:22: style: Parameter 'data' can be declared as pointer to const. However it seems that 'timeout_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/notification.c:437:64: note: You might need to cast the function pointer here yad-7.2/src/notification.c:103:22: note: Parameter 'data' can be declared as pointer to const yad-7.2/src/notification.c:175:33: style: Parameter 'icon' can be declared as pointer to const. However it seems that 'middle_quit_cb' is a callback function, if 'icon' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/notification.c:418:5: note: You might need to cast the function pointer here yad-7.2/src/notification.c:175:33: note: Parameter 'icon' can be declared as pointer to const yad-7.2/src/notification.c:175:56: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'middle_quit_cb' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/notification.c:418:5: note: You might need to cast the function pointer here yad-7.2/src/notification.c:175:56: note: Parameter 'ev' can be declared as pointer to const yad-7.2/src/notification.c:175:69: style: Parameter 'data' can be declared as pointer to const. However it seems that 'middle_quit_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/notification.c:418:5: note: You might need to cast the function pointer here yad-7.2/src/notification.c:175:69: note: Parameter 'data' can be declared as pointer to const yad-7.2/src/option.c:1014:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONBOX_SPREAD [valueFlowBailoutIncompleteVar] yad-7.2/src/option.c:1102:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ELLIPSIZE_NONE [valueFlowBailoutIncompleteVar] yad-7.2/src/option.c:1260:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_POLICY_AUTOMATIC [valueFlowBailoutIncompleteVar] yad-7.2/src/option.c:1401:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] yad-7.2/src/option.c:1489:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_POLICY_AUTOMATIC [valueFlowBailoutIncompleteVar] yad-7.2/src/option.c:1793:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] yad-7.2/src/option.c:961:11: style: Condition 'name' is always false [knownConditionTrueFalse] yad-7.2/src/option.c:948:21: note: Assignment 'name=NULL', assigned value is 0 yad-7.2/src/option.c:954:24: note: Assuming condition is false yad-7.2/src/option.c:961:11: note: Condition 'name' is always false yad-7.2/src/paned.c:121:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_RMID [valueFlowBailoutIncompleteVar] yad-7.2/src/paned.c:75:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] yad-7.2/src/paned.c:117:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] yad-7.2/src/pfd.c:97:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] yad-7.2/src/pfd.c:62:5: error: Memory leak: fnt [memleak] yad-7.2/src/pfd.c:62:5: error: Memory leak: pfd [memleak] yad-7.2/src/pfd.c:110:7: error: Memory leak: ctx [memleak] yad-7.2/src/pfd.c:116:7: error: Memory leak: ctx [memleak] yad-7.2/src/pfd.c:122:7: error: Memory leak: ctx [memleak] yad-7.2/src/pfd.c:130:7: error: Memory leak: ctx [memleak] yad-7.2/src/pfd.c:35:57: style: Parameter 'd' can be declared as pointer to const. However it seems that 'set_type' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/pfd.c:84:64: note: You might need to cast the function pointer here yad-7.2/src/pfd.c:35:57: note: Parameter 'd' can be declared as pointer to const yad-7.2/src/pfd.c:53:20: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] yad-7.2/src/picture.c:64:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_DIALOG [valueFlowBailoutIncompleteVar] yad-7.2/src/picture.c:85:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] yad-7.2/src/picture.c:121:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] yad-7.2/src/picture.c:155:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE [valueFlowBailoutIncompleteVar] yad-7.2/src/picture.c:252:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_NONE [valueFlowBailoutIncompleteVar] yad-7.2/src/picture.c:229:47: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'button_handler' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/picture.c:275:7: note: You might need to cast the function pointer here yad-7.2/src/picture.c:229:47: note: Parameter 'ev' can be declared as pointer to const yad-7.2/src/picture.c:241:25: style: Parameter 'w' can be declared as pointer to const. However it seems that 'key_handler' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/picture.c:276:7: note: You might need to cast the function pointer here yad-7.2/src/picture.c:241:25: note: Parameter 'w' can be declared as pointer to const yad-7.2/src/picture.c:241:41: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'key_handler' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/picture.c:276:7: note: You might need to cast the function pointer here yad-7.2/src/picture.c:241:41: note: Parameter 'ev' can be declared as pointer to const yad-7.2/src/picture.c:241:54: style: Parameter 'data' can be declared as pointer to const. However it seems that 'key_handler' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/picture.c:276:7: note: You might need to cast the function pointer here yad-7.2/src/picture.c:241:54: note: Parameter 'data' can be declared as pointer to const yad-7.2/src/print.c:62:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ELLIPSIZE_START [valueFlowBailoutIncompleteVar] yad-7.2/src/print.c:117:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] yad-7.2/src/print.c:182:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] yad-7.2/src/print.c:218:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_PRINT_OPERATION_ACTION_PRINT [valueFlowBailoutIncompleteVar] yad-7.2/src/print.c:170:25: style: The if condition is the same as the previous if condition [duplicateCondition] yad-7.2/src/print.c:166:25: note: First condition yad-7.2/src/print.c:170:25: note: Second condition yad-7.2/src/print.c:265:57: error: Allocation with g_filename_to_uri, gtk_print_settings_set doesn't release it. [leakNoVarFunctionCall] yad-7.2/src/print.c:195:57: style: Parameter 'err' can be declared as pointer to const. However it seems that 'raw_print_done' is a callback function, if 'err' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/print.c:405:70: note: You might need to cast the function pointer here yad-7.2/src/print.c:195:57: note: Parameter 'err' can be declared as pointer to const yad-7.2/src/print.c:206:50: style: Parameter 'al' can be declared as pointer to const. However it seems that 'size_allocate_cb' is a callback function, if 'al' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/print.c:321:11: note: You might need to cast the function pointer here yad-7.2/src/print.c:206:50: note: Parameter 'al' can be declared as pointer to const yad-7.2/src/progress.c:49:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] yad-7.2/src/progress.c:346:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_ETCHED_IN [valueFlowBailoutIncompleteVar] yad-7.2/src/progress.c:58:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] yad-7.2/src/progress.c:64:27: style: Variable 'b' can be declared as pointer to const [constVariablePointer] yad-7.2/src/progress.c:198:47: style: Variable 'cb' can be declared as pointer to const [constVariablePointer] yad-7.2/src/scale.c:158:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RELIEF_NONE [valueFlowBailoutIncompleteVar] yad-7.2/src/text.c:56:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_REGEX_EXTENDED [valueFlowBailoutIncompleteVar] yad-7.2/src/text.c:89:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] yad-7.2/src/text.c:109:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_POPUP [valueFlowBailoutIncompleteVar] yad-7.2/src/text.c:148:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] yad-7.2/src/text.c:164:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] yad-7.2/src/text.c:194:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TEXT_WINDOW_WIDGET [valueFlowBailoutIncompleteVar] yad-7.2/src/text.c:239:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_REGEX_MATCH_NOTEMPTY [valueFlowBailoutIncompleteVar] yad-7.2/src/text.c:266:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] yad-7.2/src/text.c:415:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] yad-7.2/src/text.c:424:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_ETCHED_IN [valueFlowBailoutIncompleteVar] yad-7.2/src/text.c:274:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] yad-7.2/src/text.c:416:1: error: Memory leak: channel [memleak] yad-7.2/src/text.c:374:11: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] yad-7.2/src/text.c:201:19: style: Local variable 'tag' shadows outer variable [shadowVariable] yad-7.2/src/text.c:26:20: note: Shadowed declaration yad-7.2/src/text.c:201:19: note: Shadow variable yad-7.2/src/text.c:87:45: style: Parameter 'key' can be declared as pointer to const. However it seems that 'search_key_cb' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/text.c:130:3: note: You might need to cast the function pointer here yad-7.2/src/text.c:87:45: note: Parameter 'key' can be declared as pointer to const yad-7.2/src/text.c:98:29: style: Parameter 'w' can be declared as pointer to const. However it seems that 'search_changed' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/text.c:129:3: note: You might need to cast the function pointer here yad-7.2/src/text.c:98:29: note: Parameter 'w' can be declared as pointer to const yad-7.2/src/text.c:98:41: style: Parameter 'd' can be declared as pointer to const. However it seems that 'search_changed' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/text.c:129:3: note: You might need to cast the function pointer here yad-7.2/src/text.c:98:41: note: Parameter 'd' can be declared as pointer to const yad-7.2/src/text.c:146:27: style: Parameter 'w' can be declared as pointer to const. However it seems that 'key_press_cb' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/text.c:519:3: note: You might need to cast the function pointer here yad-7.2/src/text.c:146:27: note: Parameter 'w' can be declared as pointer to const yad-7.2/src/text.c:146:44: style: Parameter 'key' can be declared as pointer to const. However it seems that 'key_press_cb' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/text.c:519:3: note: You might need to cast the function pointer here yad-7.2/src/text.c:146:44: note: Parameter 'key' can be declared as pointer to const yad-7.2/src/text.c:146:58: style: Parameter 'data' can be declared as pointer to const. However it seems that 'key_press_cb' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/text.c:519:3: note: You might need to cast the function pointer here yad-7.2/src/text.c:146:58: note: Parameter 'data' can be declared as pointer to const yad-7.2/src/text.c:158:77: style: Parameter 'iter' can be declared as pointer to const. However it seems that 'tag_event_cb' is a callback function, if 'iter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/text.c:535:7: note: You might need to cast the function pointer here yad-7.2/src/text.c:158:77: note: Parameter 'iter' can be declared as pointer to const yad-7.2/src/text.c:166:23: style: Variable 'bev' can be declared as pointer to const [constVariablePointer] yad-7.2/src/util.c:90:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_DIALOG [valueFlowBailoutIncompleteVar] yad-7.2/src/util.c:173:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CHECKSUM_MD5 [valueFlowBailoutIncompleteVar] yad-7.2/src/util.c:275:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] yad-7.2/src/util.c:329:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ALIGN_CENTER [valueFlowBailoutIncompleteVar] yad-7.2/src/util.c:498:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_REGEX_CASELESS [valueFlowBailoutIncompleteVar] yad-7.2/src/util.c:707:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_FONT_MASK_STYLE [valueFlowBailoutIncompleteVar] yad-7.2/src/util.c:59:22: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] yad-7.2/src/util.c:513:17: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] yad-7.2/src/util.c:566:22: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] diff: DONE