2025-07-12 08:38 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 --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 8244dfa (2025-07-11 19:55:56 +0200) count: 227 284 elapsed-time: 6.3 6.6 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/about.c:46:1: 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:69:44: warning: If resource allocation fails, then there is a possible null pointer dereference: pf [nullPointerOutOfResources] yad-7.2/src/entry.c:68:22: note: Assuming allocation function fails yad-7.2/src/entry.c:68:22: note: Assignment 'pf=popen(cmd,"r")', assigned value is 0 yad-7.2/src/entry.c:69:44: note: Null pointer dereference 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/file.c:36:14: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] 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:392:26: style: Variable 'ptr' 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/option.c:1090:75: style: Parameter 'data' can be declared as pointer to const. However it seems that 'set_scale_value' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/option.c:579:43: note: You might need to cast the function pointer here yad-7.2/src/option.c:1090:75: note: Parameter 'data' can be declared as pointer to const yad-7.2/src/option.c:1168:68: style: Parameter 'data' can be declared as pointer to const. However it seems that 'set_posx' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/option.c:103:42: note: You might need to cast the function pointer here yad-7.2/src/option.c:1168:68: note: Parameter 'data' can be declared as pointer to const yad-7.2/src/option.c:1177:68: style: Parameter 'data' can be declared as pointer to const. However it seems that 'set_posy' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] yad-7.2/src/option.c:105:42: note: You might need to cast the function pointer here yad-7.2/src/option.c:1177:68: note: Parameter 'data' can be declared as pointer to const 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:96:3: warning: Return value of function g_file_get_contents() is not used. [ignoredReturnValue] 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/progress.c:235:36: style: Parameter 'dlg' can be declared as pointer to const [constParameterPointer] 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:383:16: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] yad-7.2/src/util.c:423:16: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] 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: head yad-7.2/src/about.c:46:1: error: failed to expand '_', it is invalid to use a preprocessor directive as macro parameter [preprocessorErrorDirective] 2.17.0 yad-7.2/src/browser.c:169:48: warning: If memory allocation fails, then there is a possible null pointer dereference: sizes [nullPointerOutOfMemory] yad-7.2/src/browser.c:156:24: note: Assuming allocation function fails yad-7.2/src/browser.c:156:24: note: Assignment 'sizes=g_string_new("")', assigned value is 0 yad-7.2/src/browser.c:169:48: note: Null pointer dereference 2.17.0 yad-7.2/src/calendar.c:54:41: warning: If memory allocation fails, then there is a possible null pointer dereference: dtl [nullPointerOutOfMemory] yad-7.2/src/calendar.c:53:28: note: Assuming allocation function fails yad-7.2/src/calendar.c:53:28: note: Assignment 'dtl=g_strsplit(buf," ",2)', assigned value is 0 yad-7.2/src/calendar.c:54:41: note: Null pointer dereference 2.17.0 yad-7.2/src/entry.c:70:30: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] yad-7.2/src/entry.c:67:30: note: Assuming allocation function fails yad-7.2/src/entry.c:67:30: note: Assignment 'str=g_string_new("")', assigned value is 0 yad-7.2/src/entry.c:70:30: note: Null pointer dereference head yad-7.2/src/file.c:36:14: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] 2.17.0 yad-7.2/src/form.c:203:11: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] yad-7.2/src/form.c:202:22: note: Assuming allocation function fails yad-7.2/src/form.c:202:22: note: Assignment 's=g_strsplit(value,options.common_data.item_separator,-1)', assigned value is 0 yad-7.2/src/form.c:203:11: note: Null pointer dereference 2.17.0 yad-7.2/src/form.c:210:19: warning: If memory allocation fails, then there is a possible null pointer dereference: s1 [nullPointerOutOfMemory] yad-7.2/src/form.c:209:39: note: Assuming allocation function fails yad-7.2/src/form.c:209:39: note: Assignment 's1=g_strsplit(s[1],"..",2)', assigned value is 0 yad-7.2/src/form.c:210:19: note: Null pointer dereference 2.17.0 yad-7.2/src/form.c:254:16: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] yad-7.2/src/form.c:253:24: note: Assuming allocation function fails yad-7.2/src/form.c:253:24: note: Assignment 's=g_strsplit(value,options.common_data.item_separator,-1)', assigned value is 0 yad-7.2/src/form.c:254:16: note: Null pointer dereference 2.17.0 yad-7.2/src/form.c:257:17: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] yad-7.2/src/form.c:253:24: note: Assuming allocation function fails yad-7.2/src/form.c:253:24: note: Assignment 's=g_strsplit(value,options.common_data.item_separator,-1)', assigned value is 0 yad-7.2/src/form.c:257:17: note: Null pointer dereference 2.17.0 yad-7.2/src/form.c:286:16: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] yad-7.2/src/form.c:285:24: note: Assuming allocation function fails yad-7.2/src/form.c:285:24: note: Assignment 's=g_strsplit(value,options.common_data.item_separator,-1)', assigned value is 0 yad-7.2/src/form.c:286:16: note: Null pointer dereference 2.17.0 yad-7.2/src/form.c:290:17: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] yad-7.2/src/form.c:285:24: note: Assuming allocation function fails yad-7.2/src/form.c:285:24: note: Assignment 's=g_strsplit(value,options.common_data.item_separator,-1)', assigned value is 0 yad-7.2/src/form.c:290:17: note: Null pointer dereference 2.17.0 yad-7.2/src/form.c:389:22: warning: If memory allocation fails, then there is a possible null pointer dereference: lines [nullPointerOutOfMemory] yad-7.2/src/form.c:388:42: note: Assuming allocation function fails yad-7.2/src/form.c:388:42: note: Assignment 'lines=g_strsplit(data,"\n",0)', assigned value is 0 yad-7.2/src/form.c:389:22: note: Null pointer dereference 2.17.0 yad-7.2/src/form.c:392:32: warning: If memory allocation fails, then there is a possible null pointer dereference: lines [nullPointerOutOfMemory] yad-7.2/src/form.c:388:42: note: Assuming allocation function fails yad-7.2/src/form.c:388:42: note: Assignment 'lines=g_strsplit(data,"\n",0)', assigned value is 0 yad-7.2/src/form.c:392:32: note: Null pointer dereference 2.17.0 yad-7.2/src/form.c:399:45: warning: If memory allocation fails, then there is a possible null pointer dereference: ln [nullPointerOutOfMemory] yad-7.2/src/form.c:398:47: note: Assuming allocation function fails yad-7.2/src/form.c:398:47: note: Assignment 'ln=g_strsplit(ptr,":",2)', assigned value is 0 yad-7.2/src/form.c:399:45: note: Null pointer dereference 2.17.0 yad-7.2/src/form.c:400:33: warning: If memory allocation fails, then there is a possible null pointer dereference: ln [nullPointerOutOfMemory] yad-7.2/src/form.c:398:47: note: Assuming allocation function fails yad-7.2/src/form.c:398:47: note: Assignment 'ln=g_strsplit(ptr,":",2)', assigned value is 0 yad-7.2/src/form.c:400:33: note: Null pointer dereference 2.17.0 yad-7.2/src/form.c:504:11: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] yad-7.2/src/form.c:489:30: note: Assuming allocation function fails yad-7.2/src/form.c:489:30: note: Assignment 'str=g_string_new("")', assigned value is 0 yad-7.2/src/form.c:504:11: note: Null pointer dereference 2.17.0 yad-7.2/src/form.c:505:38: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] yad-7.2/src/form.c:489:30: note: Assuming allocation function fails yad-7.2/src/form.c:489:30: note: Assignment 'str=g_string_new("")', assigned value is 0 yad-7.2/src/form.c:505:38: note: Null pointer dereference 2.17.0 yad-7.2/src/form.c:53:38: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] yad-7.2/src/form.c:52:31: note: Assuming allocation function fails yad-7.2/src/form.c:52:31: note: Assignment 'buf=g_strndup(cmd+i,j-i)', assigned value is 0 yad-7.2/src/form.c:53:38: note: Null pointer dereference 2.17.0 yad-7.2/src/form.c:693:27: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] yad-7.2/src/form.c:652:38: note: Assuming allocation function fails yad-7.2/src/form.c:652:38: note: Assignment 'string=g_string_new(NULL)', assigned value is 0 yad-7.2/src/form.c:680:22: note: Assuming condition is false yad-7.2/src/form.c:693:27: note: Null pointer dereference 2.17.0 yad-7.2/src/html.c:120:36: warning: If memory allocation fails, then there is a possible null pointer dereference: v1 [nullPointerOutOfMemory] yad-7.2/src/html.c:108:25: note: Assuming allocation function fails yad-7.2/src/html.c:108:25: note: Assignment 'v1=g_strdup("")', assigned value is 0 yad-7.2/src/html.c:120:36: note: Null pointer dereference 2.17.0 yad-7.2/src/html.c:121:35: warning: If memory allocation fails, then there is a possible null pointer dereference: v2 [nullPointerOutOfMemory] yad-7.2/src/html.c:109:25: note: Assuming allocation function fails yad-7.2/src/html.c:109:25: note: Assignment 'v2=g_strdup("")', assigned value is 0 yad-7.2/src/html.c:121:35: note: Null pointer dereference 2.17.0 yad-7.2/src/icons.c:188:27: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] yad-7.2/src/icons.c:170:38: note: Assuming allocation function fails yad-7.2/src/icons.c:170:38: note: Assignment 'string=g_string_new(NULL)', assigned value is 0 yad-7.2/src/icons.c:188:27: note: Null pointer dereference 2.17.0 yad-7.2/src/icons.c:204:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] yad-7.2/src/icons.c:170:38: note: Assuming allocation function fails yad-7.2/src/icons.c:170:38: note: Assignment 'string=g_string_new(NULL)', assigned value is 0 yad-7.2/src/icons.c:190:22: note: Assuming condition is false yad-7.2/src/icons.c:204:15: note: Null pointer dereference 2.17.0 yad-7.2/src/list.c:1137:18: warning: If memory allocation fails, then there is a possible null pointer dereference: cnum [nullPointerOutOfMemory] yad-7.2/src/list.c:1135:29: note: Assuming allocation function fails yad-7.2/src/list.c:1135:29: note: Assignment 'cnum=g_strsplit(options.list_data.editable_cols,",",-1)', assigned value is 0 yad-7.2/src/list.c:1137:18: note: Null pointer dereference 2.17.0 yad-7.2/src/list.c:1139:32: warning: If memory allocation fails, then there is a possible null pointer dereference: cnum [nullPointerOutOfMemory] yad-7.2/src/list.c:1135:29: note: Assuming allocation function fails yad-7.2/src/list.c:1135:29: note: Assignment 'cnum=g_strsplit(options.list_data.editable_cols,",",-1)', assigned value is 0 yad-7.2/src/list.c:1139:32: note: Null pointer dereference 2.17.0 yad-7.2/src/list.c:1171:18: warning: If memory allocation fails, then there is a possible null pointer dereference: cnum [nullPointerOutOfMemory] yad-7.2/src/list.c:1169:29: note: Assuming allocation function fails yad-7.2/src/list.c:1169:29: note: Assignment 'cnum=g_strsplit(options.list_data.wrap_cols,",",-1)', assigned value is 0 yad-7.2/src/list.c:1171:18: note: Null pointer dereference 2.17.0 yad-7.2/src/list.c:1173:32: warning: If memory allocation fails, then there is a possible null pointer dereference: cnum [nullPointerOutOfMemory] yad-7.2/src/list.c:1169:29: note: Assuming allocation function fails yad-7.2/src/list.c:1169:29: note: Assignment 'cnum=g_strsplit(options.list_data.wrap_cols,",",-1)', assigned value is 0 yad-7.2/src/list.c:1173:32: note: Null pointer dereference 2.17.0 yad-7.2/src/list.c:1205:18: warning: If memory allocation fails, then there is a possible null pointer dereference: cnum [nullPointerOutOfMemory] yad-7.2/src/list.c:1203:29: note: Assuming allocation function fails yad-7.2/src/list.c:1203:29: note: Assignment 'cnum=g_strsplit(options.list_data.ellipsize_cols,",",-1)', assigned value is 0 yad-7.2/src/list.c:1205:18: note: Null pointer dereference 2.17.0 yad-7.2/src/list.c:1207:32: warning: If memory allocation fails, then there is a possible null pointer dereference: cnum [nullPointerOutOfMemory] yad-7.2/src/list.c:1203:29: note: Assuming allocation function fails yad-7.2/src/list.c:1203:29: note: Assignment 'cnum=g_strsplit(options.list_data.ellipsize_cols,",",-1)', assigned value is 0 yad-7.2/src/list.c:1207:32: note: Null pointer dereference 2.17.0 yad-7.2/src/list.c:310:40: warning: If memory allocation fails, then there is a possible null pointer dereference: sz [nullPointerOutOfMemory] yad-7.2/src/list.c:308:24: note: Assuming allocation function fails yad-7.2/src/list.c:308:24: note: Assignment 'sz=g_strdup_printf("%d",val)', assigned value is 0 yad-7.2/src/list.c:310:40: note: Null pointer dereference 2.17.0 yad-7.2/src/list.c:606:27: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] yad-7.2/src/list.c:574:38: note: Assuming allocation function fails yad-7.2/src/list.c:574:38: note: Assignment 'string=g_string_new(NULL)', assigned value is 0 yad-7.2/src/list.c:593:22: note: Assuming condition is false yad-7.2/src/list.c:606:27: note: Null pointer dereference 2.17.0 yad-7.2/src/list.c:609:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] yad-7.2/src/list.c:574:38: note: Assuming allocation function fails yad-7.2/src/list.c:574:38: note: Assignment 'string=g_string_new(NULL)', assigned value is 0 yad-7.2/src/list.c:593:22: note: Assuming condition is false yad-7.2/src/list.c:609:15: note: Null pointer dereference 2.17.0 yad-7.2/src/list.c:630:72: warning: If memory allocation fails, then there is a possible null pointer dereference: ids [nullPointerOutOfMemory] yad-7.2/src/list.c:629:48: note: Assuming allocation function fails yad-7.2/src/list.c:629:48: note: Assignment 'ids=g_strsplit(string->str,":",2)', assigned value is 0 yad-7.2/src/list.c:630:72: note: Null pointer dereference 2.17.0 yad-7.2/src/list.c:648:72: warning: If memory allocation fails, then there is a possible null pointer dereference: ids [nullPointerOutOfMemory] yad-7.2/src/list.c:647:48: note: Assuming allocation function fails yad-7.2/src/list.c:647:48: note: Assignment 'ids=g_strsplit(string->str,":",2)', assigned value is 0 yad-7.2/src/list.c:648:72: note: Null pointer dereference 2.17.0 yad-7.2/src/list.c:706:47: warning: If memory allocation fails, then there is a possible null pointer dereference: ids [nullPointerOutOfMemory] yad-7.2/src/list.c:705:40: note: Assuming allocation function fails yad-7.2/src/list.c:705:40: note: Assignment 'ids=g_strsplit(args[i],":",2)', assigned value is 0 yad-7.2/src/list.c:706:47: note: Null pointer dereference 2.17.0 yad-7.2/src/list.c:751:3: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] yad-7.2/src/list.c:739:22: note: Assuming allocation function fails yad-7.2/src/list.c:739:22: note: Assignment 'str=g_string_new(NULL)', assigned value is 0 yad-7.2/src/list.c:751:3: note: Null pointer dereference 2.17.0 yad-7.2/src/list.c:752:9: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] yad-7.2/src/list.c:739:22: note: Assuming allocation function fails yad-7.2/src/list.c:739:22: note: Assignment 'str=g_string_new(NULL)', assigned value is 0 yad-7.2/src/list.c:752:9: note: Null pointer dereference 2.17.0 yad-7.2/src/list.c:789:11: warning: If memory allocation fails, then there is a possible null pointer dereference: cmd [nullPointerOutOfMemory] yad-7.2/src/list.c:786:31: note: Assuming allocation function fails yad-7.2/src/list.c:786:31: note: Assignment 'cmd=g_strdup_printf("%s %s",options.list_data.dclick_action,args)', assigned value is 0 yad-7.2/src/list.c:789:11: note: Null pointer dereference 2.17.0 yad-7.2/src/list.c:802:23: warning: If memory allocation fails, then there is a possible null pointer dereference: lines [nullPointerOutOfMemory] yad-7.2/src/list.c:798:42: note: Assuming allocation function fails yad-7.2/src/list.c:798:42: note: Assignment 'lines=g_strsplit(data,"\n",0)', assigned value is 0 yad-7.2/src/list.c:802:23: note: Null pointer dereference 2.17.0 yad-7.2/src/list.c:805:44: warning: If memory allocation fails, then there is a possible null pointer dereference: lines [nullPointerOutOfMemory] yad-7.2/src/list.c:798:42: note: Assuming allocation function fails yad-7.2/src/list.c:798:42: note: Assignment 'lines=g_strsplit(data,"\n",0)', assigned value is 0 yad-7.2/src/list.c:802:32: note: Assuming condition is false yad-7.2/src/list.c:805:44: note: Null pointer dereference 2.17.0 yad-7.2/src/list.c:917:19: warning: If memory allocation fails, then there is a possible null pointer dereference: lines [nullPointerOutOfMemory] yad-7.2/src/list.c:913:38: note: Assuming allocation function fails yad-7.2/src/list.c:913:38: note: Assignment 'lines=g_strsplit(out,"\n",0)', assigned value is 0 yad-7.2/src/list.c:917:19: note: Null pointer dereference 2.17.0 yad-7.2/src/list.c:920:40: warning: If memory allocation fails, then there is a possible null pointer dereference: lines [nullPointerOutOfMemory] yad-7.2/src/list.c:913:38: note: Assuming allocation function fails yad-7.2/src/list.c:913:38: note: Assignment 'lines=g_strsplit(out,"\n",0)', assigned value is 0 yad-7.2/src/list.c:917:28: note: Assuming condition is false yad-7.2/src/list.c:920:40: note: Null pointer dereference 2.17.0 yad-7.2/src/list.c:960:19: warning: If memory allocation fails, then there is a possible null pointer dereference: lines [nullPointerOutOfMemory] yad-7.2/src/list.c:956:38: note: Assuming allocation function fails yad-7.2/src/list.c:956:38: note: Assignment 'lines=g_strsplit(out,"\n",0)', assigned value is 0 yad-7.2/src/list.c:960:19: note: Null pointer dereference 2.17.0 yad-7.2/src/list.c:963:40: warning: If memory allocation fails, then there is a possible null pointer dereference: lines [nullPointerOutOfMemory] yad-7.2/src/list.c:956:38: note: Assuming allocation function fails yad-7.2/src/list.c:956:38: note: Assignment 'lines=g_strsplit(out,"\n",0)', assigned value is 0 yad-7.2/src/list.c:960:28: note: Assuming condition is false yad-7.2/src/list.c:963:40: note: Null pointer dereference 2.17.0 yad-7.2/src/main.c:795:24: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] yad-7.2/src/main.c:794:25: note: Assuming allocation function fails yad-7.2/src/main.c:794:25: note: Assignment 'str=g_strdup_printf("%d",getpid())', assigned value is 0 yad-7.2/src/main.c:795:24: note: Null pointer dereference 2.17.0 yad-7.2/src/main.c:869:32: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] yad-7.2/src/main.c:868:33: note: Assuming allocation function fails yad-7.2/src/main.c:868:33: note: Assignment 'str=g_strdup_printf("0x%X",(unsigned int)GDK_WINDOW_XID(gtk_widget_get_window(dialog)))', assigned value is 0 yad-7.2/src/main.c:869:32: note: Null pointer dereference 2.17.0 yad-7.2/src/notification.c:299:27: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] yad-7.2/src/notification.c:268:29: note: Assuming allocation function fails yad-7.2/src/notification.c:268:29: note: Assignment 'string=g_string_new(NULL)', assigned value is 0 yad-7.2/src/notification.c:286:22: note: Assuming condition is false yad-7.2/src/notification.c:299:27: note: Null pointer dereference 2.17.0 yad-7.2/src/notification.c:300:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] yad-7.2/src/notification.c:268:29: note: Assuming allocation function fails yad-7.2/src/notification.c:268:29: note: Assignment 'string=g_string_new(NULL)', assigned value is 0 yad-7.2/src/notification.c:286:22: note: Assuming condition is false yad-7.2/src/notification.c:300:16: note: Null pointer dereference 2.17.0 yad-7.2/src/notification.c:304:31: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] yad-7.2/src/notification.c:303:29: note: Assuming allocation function fails yad-7.2/src/notification.c:303:29: note: Assignment 'args=g_strsplit(string->str,":",2)', assigned value is 0 yad-7.2/src/notification.c:304:31: note: Null pointer dereference 2.17.0 yad-7.2/src/notification.c:305:15: warning: If memory allocation fails, then there is a possible null pointer dereference: args [nullPointerOutOfMemory] yad-7.2/src/notification.c:303:29: note: Assuming allocation function fails yad-7.2/src/notification.c:303:29: note: Assignment 'args=g_strsplit(string->str,":",2)', assigned value is 0 yad-7.2/src/notification.c:305:15: note: Null pointer dereference 2.17.0 yad-7.2/src/notification.c:311:36: warning: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] yad-7.2/src/notification.c:304:30: note: Assuming allocation function fails yad-7.2/src/notification.c:304:30: note: Assignment 'command=g_strdup(args[0])', assigned value is 0 yad-7.2/src/notification.c:311:36: note: Null pointer dereference 2.17.0 yad-7.2/src/notification.c:72:10: warning: If memory allocation fails, then there is a possible null pointer dereference: menu_vals [nullPointerOutOfMemory] yad-7.2/src/notification.c:70:26: note: Assuming allocation function fails yad-7.2/src/notification.c:70:26: note: Assignment 'menu_vals=g_strsplit(str,options.common_data.separator,-1)', assigned value is 0 yad-7.2/src/notification.c:72:10: note: Null pointer dereference 2.17.0 yad-7.2/src/notification.c:75:31: warning: If memory allocation fails, then there is a possible null pointer dereference: menu_vals [nullPointerOutOfMemory] yad-7.2/src/notification.c:70:26: note: Assuming allocation function fails yad-7.2/src/notification.c:70:26: note: Assignment 'menu_vals=g_strsplit(str,options.common_data.separator,-1)', assigned value is 0 yad-7.2/src/notification.c:75:31: note: Null pointer dereference 2.17.0 yad-7.2/src/notification.c:77:11: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] yad-7.2/src/notification.c:75:30: note: Assuming allocation function fails yad-7.2/src/notification.c:75:30: note: Assignment 's=g_strsplit(menu_vals[i],options.common_data.item_separator,3)', assigned value is 0 yad-7.2/src/notification.c:77:11: note: Null pointer dereference 2.17.0 yad-7.2/src/option.c:778:7: warning: If memory allocation fails, then there is a possible null pointer dereference: names [nullPointerOutOfMemory] yad-7.2/src/option.c:777:22: note: Assuming allocation function fails yad-7.2/src/option.c:777:22: note: Assignment 'names=g_strsplit(fstr[0],options.common_data.item_separator,3)', assigned value is 0 yad-7.2/src/option.c:778:7: note: Null pointer dereference 2.17.0 yad-7.2/src/pfd.c:61:27: warning: If memory allocation fails, then there is a possible null pointer dereference: fnt [nullPointerOutOfMemory] yad-7.2/src/pfd.c:59:20: note: Assuming allocation function fails yad-7.2/src/pfd.c:59:20: note: Assignment 'fnt=g_strsplit(fn,":",-1)', assigned value is 0 yad-7.2/src/pfd.c:61:27: note: Null pointer dereference 2.17.0 yad-7.2/src/pfd.c:64:10: warning: If memory allocation fails, then there is a possible null pointer dereference: fnt [nullPointerOutOfMemory] yad-7.2/src/pfd.c:59:20: note: Assuming allocation function fails yad-7.2/src/pfd.c:59:20: note: Assignment 'fnt=g_strsplit(fn,":",-1)', assigned value is 0 yad-7.2/src/pfd.c:61:42: note: Assuming condition is false yad-7.2/src/pfd.c:64:10: note: Null pointer dereference 2.17.0 yad-7.2/src/print.c:100:10: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] yad-7.2/src/print.c:97:21: note: Assuming allocation function fails yad-7.2/src/print.c:97:21: note: Assignment 'text=g_strsplit(buf,"\n",0)', assigned value is 0 yad-7.2/src/print.c:100:10: note: Null pointer dereference head yad-7.2/src/print.c:96:3: warning: Return value of function g_file_get_contents() is not used. [ignoredReturnValue] 2.17.0 yad-7.2/src/progress.c:105:15: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] yad-7.2/src/progress.c:96:34: note: Assuming allocation function fails yad-7.2/src/progress.c:96:34: note: Assignment 'value=g_strsplit(string->str,":",2)', assigned value is 0 yad-7.2/src/progress.c:98:27: note: Assuming condition is false yad-7.2/src/progress.c:105:15: note: Null pointer dereference head yad-7.2/src/progress.c:235:36: style: Parameter 'dlg' can be declared as pointer to const [constParameterPointer] 2.17.0 yad-7.2/src/progress.c:97:27: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] yad-7.2/src/progress.c:96:34: note: Assuming allocation function fails yad-7.2/src/progress.c:96:34: note: Assignment 'value=g_strsplit(string->str,":",2)', assigned value is 0 yad-7.2/src/progress.c:97:27: note: Null pointer dereference 2.17.0 yad-7.2/src/text.c:297:11: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: string [nullPointerOutOfMemory] yad-7.2/src/text.c:272:29: note: Assuming allocation function fails yad-7.2/src/text.c:272:29: note: Assignment 'string=g_string_new(NULL)', assigned value is 0 yad-7.2/src/text.c:284:18: note: Assuming condition is false yad-7.2/src/text.c:297:11: note: Null pointer dereference 2.17.0 yad-7.2/src/text.c:462:24: warning: If memory allocation fails, then there is a possible null pointer dereference: css [nullPointerOutOfMemory] yad-7.2/src/text.c:451:26: note: Assuming allocation function fails yad-7.2/src/text.c:451:26: note: Assignment 'css=g_string_new(".view, .view text {\n")', assigned value is 0 yad-7.2/src/text.c:462:24: note: Null pointer dereference 2.17.0 yad-7.2/src/text.c:465:50: warning: If memory allocation fails, then there is a possible null pointer dereference: css [nullPointerOutOfMemory] yad-7.2/src/text.c:451:26: note: Assuming allocation function fails yad-7.2/src/text.c:451:26: note: Assignment 'css=g_string_new(".view, .view text {\n")', assigned value is 0 yad-7.2/src/text.c:465:50: note: Null pointer dereference DONE