2026-07-26 17:17 ftp://ftp.de.debian.org/debian/pool/main/a/anypaper/anypaper_2.4.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --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.12.90+deb13.1-amd64-x86_64-with-glibc2.41 python: 3.12.13 client-version: 1.4.0 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.21.0 head-info: 6640862 (2026-07-26 07:32:28 -0400) count: 129 128 elapsed-time: 0.7 0.3 head-timing-info: old-timing-info: head results: anypaper-2.4/anypaper/anypaper.c:79:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_command.c:38:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_command.c:95:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_image.c:52:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable anypaper_image_parent_class [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_image.c:112:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANYPAPER_DATA [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_image.c:62:2: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] anypaper-2.4/anypaper/anypaper_image.c:301:13: style: Variable 'y' is reassigned a value before the old one has been used. [redundantAssignment] anypaper-2.4/anypaper/anypaper_image.c:272:4: note: y is assigned anypaper-2.4/anypaper/anypaper_image.c:301:13: note: y is overwritten anypaper-2.4/anypaper/anypaper_image.c:298:4: style: Variable 'oy' is reassigned a value before the old one has been used. [redundantAssignment] anypaper-2.4/anypaper/anypaper_image.c:273:5: note: oy is assigned anypaper-2.4/anypaper/anypaper_image.c:298:4: note: oy is overwritten anypaper-2.4/anypaper/anypaper_image.c:298:4: style: Variable 'oy' is reassigned a value before the old one has been used. [redundantAssignment] anypaper-2.4/anypaper/anypaper_image.c:279:5: note: oy is assigned anypaper-2.4/anypaper/anypaper_image.c:298:4: note: oy is overwritten anypaper-2.4/anypaper/anypaper_image.c:299:13: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] anypaper-2.4/anypaper/anypaper_image.c:284:4: note: x is assigned anypaper-2.4/anypaper/anypaper_image.c:299:13: note: x is overwritten anypaper-2.4/anypaper/anypaper_image.c:297:4: style: Variable 'ox' is reassigned a value before the old one has been used. [redundantAssignment] anypaper-2.4/anypaper/anypaper_image.c:285:5: note: ox is assigned anypaper-2.4/anypaper/anypaper_image.c:297:4: note: ox is overwritten anypaper-2.4/anypaper/anypaper_image.c:297:4: style: Variable 'ox' is reassigned a value before the old one has been used. [redundantAssignment] anypaper-2.4/anypaper/anypaper_image.c:291:5: note: ox is assigned anypaper-2.4/anypaper/anypaper_image.c:297:4: note: ox is overwritten anypaper-2.4/anypaper/anypaper_image.c:50:17: style: Variable 'self' can be declared as pointer to const [constVariablePointer] anypaper-2.4/anypaper/anypaper_image.c:50:22: style: Variable 'self' is assigned a value that is never used. [unreadVariable] anypaper-2.4/anypaper/anypaper_image.c:98:31: style: Variable 'dx' is assigned a value that is never used. [unreadVariable] anypaper-2.4/anypaper/anypaper_image.c:98:37: style: Variable 'dy' is assigned a value that is never used. [unreadVariable] anypaper-2.4/anypaper/anypaper_image.c:188:5: style: Variable 'x' is assigned a value that is never used. [unreadVariable] anypaper-2.4/anypaper/anypaper_image.c:189:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] anypaper-2.4/anypaper/anypaper_image.c:190:6: style: Variable 'dx' is assigned a value that is never used. [unreadVariable] anypaper-2.4/anypaper/anypaper_image.c:191:6: style: Variable 'dy' is assigned a value that is never used. [unreadVariable] anypaper-2.4/anypaper/anypaper_image.c:199:5: style: Variable 'x' is assigned a value that is never used. [unreadVariable] anypaper-2.4/anypaper/anypaper_image.c:200:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] anypaper-2.4/anypaper/anypaper_image.c:201:6: style: Variable 'dx' is assigned a value that is never used. [unreadVariable] anypaper-2.4/anypaper/anypaper_image.c:202:6: style: Variable 'dy' is assigned a value that is never used. [unreadVariable] anypaper-2.4/anypaper/anypaper_image.c:216:4: style: Variable 'x' is assigned a value that is never used. [unreadVariable] anypaper-2.4/anypaper/anypaper_image.c:216:6: style: Variable 'y' is assigned a value that is never used. [unreadVariable] anypaper-2.4/anypaper/anypaper_image.c:217:5: style: Variable 'dx' is assigned a value that is never used. [unreadVariable] anypaper-2.4/anypaper/anypaper_image.c:218:5: style: Variable 'dy' is assigned a value that is never used. [unreadVariable] anypaper-2.4/anypaper/anypaper_image.c:94:39: style: Unused variable: endptr [unusedVariable] anypaper-2.4/anypaper/anypaper_image.c:254:13: style: Unused variable: tempbuf [unusedVariable] anypaper-2.4/anypaper/anypaper_image.c:255:10: style: Unused variable: min [unusedVariable] anypaper-2.4/anypaper/anypaper_image.c:255:15: style: Unused variable: max [unusedVariable] anypaper-2.4/anypaper/anypaper_parameters.c:69:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_NEAREST [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_parameters.c:83:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable anypaper_parameters_parent_class [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_parameters.c:96:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANYPAPER_DATA [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_parameters.c:244:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_NEAREST [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_parameters.c:242:2: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] anypaper-2.4/anypaper/anypaper_parameters.c:254:2: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] anypaper-2.4/anypaper/anypaper_parameters.c:228:30: error: Memory leak: style [memleak] anypaper-2.4/anypaper/anypaper_parameters.c:229:30: error: Memory leak: style [memleak] anypaper-2.4/anypaper/anypaper_parameters.c:230:30: error: Memory leak: style [memleak] anypaper-2.4/anypaper/anypaper_parameters.c:231:30: error: Memory leak: style [memleak] anypaper-2.4/anypaper/anypaper_parameters.c:246:56: error: Memory leak: interpolation [memleak] anypaper-2.4/anypaper/anypaper_parameters.c:247:53: error: Memory leak: interpolation [memleak] anypaper-2.4/anypaper/anypaper_parameters.c:256:1: error: Memory leak: style [memleak] anypaper-2.4/anypaper/anypaper_parameters.c:256:1: error: Memory leak: interpolation [memleak] anypaper-2.4/anypaper/anypaper_parameters.c:54:32: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] anypaper-2.4/anypaper/anypaper_parameters.c:66:50: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] anypaper-2.4/anypaper/anypaper_parameters.c:81:22: style: Variable 'self' can be declared as pointer to const [constVariablePointer] anypaper-2.4/anypaper/anypaper_parameters.c:120:71: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] anypaper-2.4/anypaper/anypaper_parameters.c:222:53: style: Parameter 'parameters' can be declared as pointer to const [constParameterPointer] anypaper-2.4/anypaper/anypaper_parameters.c:222:72: style: Parameter 'lastWallpaperFile' can be declared as pointer to const [constParameterPointer] anypaper-2.4/anypaper/anypaper_parameters.c:222:98: style: Parameter 'rcFile' can be declared as pointer to const [constParameterPointer] anypaper-2.4/anypaper/anypaper_parameters.c:224:18: style: Variable 'style' can be declared as pointer to const [constVariablePointer] anypaper-2.4/anypaper/anypaper_parameters.c:224:26: style: Variable 'interpolation' can be declared as pointer to const [constVariablePointer] anypaper-2.4/anypaper/anypaper_parameters.c:73:9: warning: Uninitialized variable: interpolation [uninitvar] anypaper-2.4/anypaper/anypaper_parameters.c:69:23: note: Assuming condition is false anypaper-2.4/anypaper/anypaper_parameters.c:73:9: note: Uninitialized variable: interpolation anypaper-2.4/anypaper/anypaper_parameters.c:81:27: style: Variable 'self' is assigned a value that is never used. [unreadVariable] anypaper-2.4/anypaper/anypaper_preview.c:59:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable anypaper_preview_parent_class [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_preview.c:121:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_preview.c:199:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_PRESS_MASK [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_preview.c:88:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] anypaper-2.4/anypaper/anypaper_preview.c:154:2: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] anypaper-2.4/anypaper/anypaper_preview.c:69:2: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] anypaper-2.4/anypaper/anypaper_preview.c:207:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] anypaper-2.4/anypaper/anypaper_preview.c:218:24: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] anypaper-2.4/anypaper/anypaper_preview.c:186:104: style:inconclusive: Function 'anypaper_preview_create' argument 3 names different: declaration 'image' definition 'image_object'. [funcArgNamesDifferent] anypaper-2.4/anypaper/anypaper_preview.h:58:104: note: Function 'anypaper_preview_create' argument 3 names different: declaration 'image' definition 'image_object'. anypaper-2.4/anypaper/anypaper_preview.c:186:104: note: Function 'anypaper_preview_create' argument 3 names different: declaration 'image' definition 'image_object'. anypaper-2.4/anypaper/anypaper_preview.c:57:19: style: Variable 'self' can be declared as pointer to const [constVariablePointer] anypaper-2.4/anypaper/anypaper_preview.c:157:67: style: Parameter 'event' can be declared as pointer to const. However it seems that 'window_key_press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] anypaper-2.4/anypaper/anypaper_preview.c:238:2: note: You might need to cast the function pointer here anypaper-2.4/anypaper/anypaper_preview.c:157:67: note: Parameter 'event' can be declared as pointer to const anypaper-2.4/anypaper/anypaper_preview.c:186:77: style: Parameter 'parameters' can be declared as pointer to const [constParameterPointer] anypaper-2.4/anypaper/anypaper_preview.c:57:24: style: Variable 'self' is assigned a value that is never used. [unreadVariable] anypaper-2.4/anypaper/anypaper_wallpapersetter.c:49:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable anypaper_wallpapersetter_parent_class [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_wallpapersetter.c:91:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prev [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_wallpapersetter.c:161:2: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] anypaper-2.4/anypaper/anypaper_wallpapersetter.c:116:9: error: Return value of allocation function 'g_find_program_in_path' is not stored. [leakReturnValNotUsed] anypaper-2.4/anypaper/anypaper_wallpapersetter.c:47:27: style: Variable 'self' can be declared as pointer to const [constVariablePointer] anypaper-2.4/anypaper/anypaper_wallpapersetter.c:77:88: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] anypaper-2.4/anypaper/anypaper_wallpapersetter.c:146:43: style: Parameter 'wallpapersetterFile' can be declared as pointer to const [constParameterPointer] anypaper-2.4/anypaper/anypaper_wallpapersetter.c:47:32: style: Variable 'self' is assigned a value that is never used. [unreadVariable] anypaper-2.4/anypaper/anypaper_wallpapersetter.c:63:34: style: Unused variable: priv [unusedVariable] anypaper-2.4/anypaper/anypaper_wallpapersetter.c:81:17: style: Variable 'par_counter' is assigned a value that is never used. [unreadVariable] anypaper-2.4/anypaper/anypaper_window.c:82:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable anypaper_window_parent_class [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_window.c:143:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_window.c:184:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_window.c:219:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_window.c:322:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_NEAREST [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_window.c:342:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_window.c:424:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_window.c:489:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_window.c:543:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_window.c:594:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_window.c:632:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_window.c:675:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_Escape [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_window.c:708:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANYPAPER_DATA [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_window.c:729:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_window.c:824:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_NEAREST [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_window.c:857:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANYPAPER_DATA [valueFlowBailoutIncompleteVar] anypaper-2.4/anypaper/anypaper_window.c:345:7: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] anypaper-2.4/anypaper/anypaper_window.c:92:2: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] anypaper-2.4/anypaper/anypaper_window.c:740:9: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] anypaper-2.4/anypaper/anypaper_window.c:861:2: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] anypaper-2.4/anypaper/anypaper_window.c:866:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] anypaper-2.4/anypaper/anypaper_window.c:872:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] anypaper-2.4/anypaper/anypaper_window.c:980:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] anypaper-2.4/anypaper/anypaper_window.c:1047:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] anypaper-2.4/anypaper/anypaper_window.c:1067:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] anypaper-2.4/anypaper/anypaper_window.c:1164:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] anypaper-2.4/anypaper/anypaper_window.c:1181:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] anypaper-2.4/anypaper/anypaper_window.c:233:1: error: Memory leak: file [memleak] anypaper-2.4/anypaper/anypaper_window.c:342:52: error: Memory leak: field [memleak] anypaper-2.4/anypaper/anypaper_window.c:346:1: error: Memory leak: field [memleak] anypaper-2.4/anypaper/anypaper_window.c:479:2: error: Memory leak: down_filename [memleak] anypaper-2.4/anypaper/anypaper_window.c:340:6: error: Return value of allocation function 'g_find_program_in_path' is not stored. [leakReturnValNotUsed] anypaper-2.4/anypaper/anypaper_window.c:560:66: error: Allocation with g_path_get_dirname, gtk_file_chooser_set_current_folder doesn't release it. [leakNoVarFunctionCall] anypaper-2.4/anypaper/anypaper_window.c:838:46: style:inconclusive: Function 'anypaper_window_create' argument 1 names different: declaration 'window' definition 'self'. [funcArgNamesDifferent] anypaper-2.4/anypaper/anypaper_window.h:77:46: note: Function 'anypaper_window_create' argument 1 names different: declaration 'window' definition 'self'. anypaper-2.4/anypaper/anypaper_window.c:838:46: note: Function 'anypaper_window_create' argument 1 names different: declaration 'window' definition 'self'. anypaper-2.4/anypaper/anypaper_window.c:71:42: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'delete_event' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] anypaper-2.4/anypaper/anypaper_window.c:1218:3: note: You might need to cast the function pointer here anypaper-2.4/anypaper/anypaper_window.c:71:42: note: Parameter 'widget' can be declared as pointer to const anypaper-2.4/anypaper/anypaper_window.c:71:59: style: Parameter 'data' can be declared as pointer to const. However it seems that 'delete_event' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] anypaper-2.4/anypaper/anypaper_window.c:1218:3: note: You might need to cast the function pointer here anypaper-2.4/anypaper/anypaper_window.c:71:59: note: Parameter 'data' can be declared as pointer to const anypaper-2.4/anypaper/anypaper_window.c:80:18: style: Variable 'self' can be declared as pointer to const [constVariablePointer] anypaper-2.4/anypaper/anypaper_window.c:285:9: style: Variable 'background_buffer' can be declared as pointer to const [constVariablePointer] anypaper-2.4/anypaper/anypaper_window.c:336:37: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] anypaper-2.4/anypaper/anypaper_window.c:673:60: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'key_press' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] anypaper-2.4/anypaper/anypaper_window.c:861:62: note: You might need to cast the function pointer here anypaper-2.4/anypaper/anypaper_window.c:673:60: note: Parameter 'ev' can be declared as pointer to const anypaper-2.4/anypaper/anypaper_window.c:735:23: style: Variable 'atual_com' can be declared as pointer to const [constVariablePointer] anypaper-2.4/anypaper/anypaper_window.c:80:23: style: Variable 'self' is assigned a value that is never used. [unreadVariable] anypaper-2.4/anypaper/anypaper_window.c:217:18: style: Variable 'down_filename' is allocated memory that is never used. [unusedAllocatedMemory] anypaper-2.4/anypaper/anypaper_window.c:751:13: style: Variable 'atual_com' is assigned a value that is never used. [unreadVariable] anypaper-2.4/anypaper/anypaper_window.c:844:21: style: Unused variable: background [unusedVariable] anypaper-2.4/anypaper/anypaper_window.c:845:13: style: Unused variable: rmenu [unusedVariable] anypaper-2.4/anypaper/anypaper_window.c:848:9: style: Unused variable: filename [unusedVariable] anypaper-2.4/anypaper/anypaper_window.c:848:20: style: Unused variable: buffer [unusedVariable] anypaper-2.4/anypaper/anypaper_window.c:849:13: style: Unused variable: tempbuf [unusedVariable] diff: head anypaper-2.4/anypaper/anypaper_parameters.c:73:9: warning: Uninitialized variable: interpolation [uninitvar] anypaper-2.4/anypaper/anypaper_parameters.c:69:23: note: Assuming condition is false anypaper-2.4/anypaper/anypaper_parameters.c:73:9: note: Uninitialized variable: interpolation DONE