2024-04-24 02:59 ftp://ftp.de.debian.org/debian/pool/main/c/colorhug-client/colorhug-client_0.2.8.orig.tar.xz 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 -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-105-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.14.0 head-info: 7dab204 (2024-04-23 22:20:29 +0200) count: 171 171 elapsed-time: 5.3 4.8 head-timing-info: old-timing-info: head results: colorhug-client-0.2.8/src/ch-ambient.c:105:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GdkRGBA [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ambient.c:150:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GdkRGBA [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ambient.c:181:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GdkRGBA [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ambient.c:222:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ambient.c:352:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_FREQ_SCALE_20 [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ambient.c:412:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ambient.c:439:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SYSTEM [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ambient.c:491:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SYSTEM [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ambient.c:516:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ch_ambient_parent_class [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ambient.c:314: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] colorhug-client-0.2.8/src/ch-ambient.c:410:3: error: Memory leak: dir [memleak] colorhug-client-0.2.8/src/ch-ambient.c:413:3: error: Memory leak: dev [memleak] colorhug-client-0.2.8/src/ch-ambient.c:413:3: error: Memory leak: dir [memleak] colorhug-client-0.2.8/src/ch-ambient.c:414:2: error: Memory leak: dir [memleak] colorhug-client-0.2.8/src/ch-ambient.c:294:20: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-backlight-resources.c:9:68: style: union member 'Anonymous0::alignment' is never used. [unusedStructMember] colorhug-client-0.2.8/src/ch-backlight-resources.c:9:92: style: union member 'Anonymous0::ptr' is never used. [unusedStructMember] colorhug-client-0.2.8/src/ch-backlight.c:69:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-backlight.c:177:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-backlight.c:208:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-backlight.c:697:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SETTINGS_BIND_DEFAULT [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-backlight.c:744:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_NONE [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-backlight.c:583:3: error: Memory leak: str [memleak] colorhug-client-0.2.8/src/ch-backlight.c:591:3: error: Memory leak: str [memleak] colorhug-client-0.2.8/src/ch-backlight.c:598:3: error: Memory leak: str [memleak] colorhug-client-0.2.8/src/ch-backlight.c:165:36: style: Variable 'retval' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-backlight.c:237:31: style: Variable 'error' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-backlight.c:237:31: style: Variable 'error' is assigned a value that is never used. [unreadVariable] colorhug-client-0.2.8/src/ch-ccmx-resources.c:9:68: style: union member 'Anonymous0::alignment' is never used. [unusedStructMember] colorhug-client-0.2.8/src/ch-ccmx-resources.c:9:92: style: union member 'Anonymous0::ptr' is never used. [unusedStructMember] colorhug-client-0.2.8/src/ch-ccmx.c:110:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:256:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_CALIBRATION_TYPE_ALL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:450:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_CALIBRATION_MAX [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:536:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_METHOD_GET [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:560:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_YES [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:590:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:626:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:666:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_CALIBRATION_TYPE_LCD [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:760:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_CALIBRATION_MAX [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:818:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:929:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_CALIBRATION_TYPE_ALL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:992:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_CALIBRATION_MAX [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1064:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ELLIPSIZE_END [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1113:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_CALIBRATION_MAX [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1238:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_METHOD_GET [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1306:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1389:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CD_SENSOR_METADATA_IMAGE_CALIBRATE [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1477:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_INTEGRAL_TIME_VALUE_MAX [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1525:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CD_DEVICE_METADATA_XRANDR_NAME [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1574:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CD_SENSOR_METADATA_IMAGE_ATTACH [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1679:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CD_SENSOR_KIND_COLORHUG [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1713:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_FORM_MIME_TYPE_MULTIPART [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1756:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1879:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_METHOD_GET [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:1930:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CD_SENSOR_KIND_COLORHUG [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:2158:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CURRENT_TIME [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:2181:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_CALIBRATION_MAX [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:2308:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CD_IT8_KIND_TI1 [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:2567:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_NONE [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-ccmx.c:530:8: warning: %i in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-ccmx.c:2245:2: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-ccmx.c:1215:3: error: Memory leak: basename [memleak] colorhug-client-0.2.8/src/ch-ccmx.c:1215:3: error: Memory leak: location [memleak] colorhug-client-0.2.8/src/ch-ccmx.c:1224:1: error: Memory leak: basename [memleak] colorhug-client-0.2.8/src/ch-ccmx.c:1224:1: error: Memory leak: location [memleak] colorhug-client-0.2.8/src/ch-ccmx.c:1684:2: error: Memory leak: tmp [memleak] colorhug-client-0.2.8/src/ch-ccmx.c:363:25: style: Variable 'location_tmp' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-ccmx.c:415:24: style: Variable 'location' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-ccmx.c:418:11: style: Variable 'uri' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-ccmx.c:517:24: style: Variable 'server_uri' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-ccmx.c:1266:24: style: Variable 'location' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-ccmx.c:1307:26: style: Variable 'uri_tmp' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-ccmx.c:1527:25: style: Variable 'plug_name' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-ccmx.c:2172:24: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-ccmx.c:2549:37: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'ch_ccmx_ignore_cb' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] colorhug-client-0.2.8/src/ch-ccmx.c:2628:8: note: You might need to cast the function pointer here colorhug-client-0.2.8/src/ch-ccmx.c:2549:37: note: Parameter 'user_data' can be declared as pointer to const colorhug-client-0.2.8/src/ch-flash-md.c:384:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MARKUP_PREFIX_ERROR_POSITION [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash-md.c:423:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MARKUP_PREFIX_ERROR_POSITION [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash-resources.c:9:68: style: union member 'Anonymous0::alignment' is never used. [unusedStructMember] colorhug-client-0.2.8/src/ch-flash-resources.c:9:92: style: union member 'Anonymous0::ptr' is never used. [unusedStructMember] colorhug-client-0.2.8/src/ch-flash.c:82:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash.c:520:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CHECKSUM_SHA1 [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash.c:567:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_STATUS_OK [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash.c:611:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash.c:710:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_METHOD_GET [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash.c:1058:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_METHOD_GET [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash.c:1233:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash.c:1267:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CURRENT_TIME [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash.c:1402:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_SESSION_USER_AGENT [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash.c:1519:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_NONE [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-flash.c:933:15: warning: %i in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-flash.c:1479:2: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-flash.c:530:3: error: Memory leak: checksum_tmp [memleak] colorhug-client-0.2.8/src/ch-flash.c:755:3: error: Memory leak: split [memleak] colorhug-client-0.2.8/src/ch-flash.c:1353:3: error: Memory leak: string [memleak] colorhug-client-0.2.8/src/ch-flash.c:1380:3: error: Memory leak: string [memleak] colorhug-client-0.2.8/src/ch-flash.c:1391:3: error: Memory leak: string [memleak] colorhug-client-0.2.8/src/ch-flash.c:1408:3: error: Memory leak: string [memleak] colorhug-client-0.2.8/src/ch-flash.c:498:24: style: Variable 'checksum_tmp' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-flash.c:499:24: style: Variable 'message' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-flash.c:735:39: style: Parameter 'ver' can be declared as pointer to const [constParameterPointer] colorhug-client-0.2.8/src/ch-flash.c:930:24: style: Variable 'user_agent' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-flash.c:1467:38: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'ch_flash_ignore_cb' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] colorhug-client-0.2.8/src/ch-flash.c:1577:8: note: You might need to cast the function pointer here colorhug-client-0.2.8/src/ch-flash.c:1467:38: note: Parameter 'user_data' can be declared as pointer to const colorhug-client-0.2.8/src/ch-graph-widget.c:181:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-graph-widget.c:234:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_ptr_array_unref [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-graph-widget.c:281:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ch_graph_widget_parent_class [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-graph-widget.c:761:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-graph-widget.c:174: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] colorhug-client-0.2.8/src/ch-graph-widget.c:761:2: error: Memory leak: tmp [memleak] colorhug-client-0.2.8/src/ch-graph-widget.c:292:82: style:inconclusive: Function 'ch_graph_widget_assign' argument 3 names different: declaration 'array' definition 'data'. [funcArgNamesDifferent] colorhug-client-0.2.8/src/ch-graph-widget.h:81:21: note: Function 'ch_graph_widget_assign' argument 3 names different: declaration 'array' definition 'data'. colorhug-client-0.2.8/src/ch-graph-widget.c:292:82: note: Function 'ch_graph_widget_assign' argument 3 names different: declaration 'array' definition 'data'. colorhug-client-0.2.8/src/ch-graph-widget.c:88:83: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'up_graph_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] colorhug-client-0.2.8/src/ch-graph-widget.c:170:31: note: You might need to cast the function pointer here colorhug-client-0.2.8/src/ch-graph-widget.c:88:83: note: Parameter 'pspec' can be declared as pointer to const colorhug-client-0.2.8/src/ch-graph-widget.c:90:17: style: Variable 'graph' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-graph-widget.c:123:89: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'up_graph_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] colorhug-client-0.2.8/src/ch-graph-widget.c:171:31: note: You might need to cast the function pointer here colorhug-client-0.2.8/src/ch-graph-widget.c:123:89: note: Parameter 'pspec' can be declared as pointer to const colorhug-client-0.2.8/src/ch-graph-widget.c:292:82: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] colorhug-client-0.2.8/src/ch-graph-widget.c:610:14: style: Variable 'point' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-graph-widget.c:757:24: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-graph-widget.c:451:18: style: Variable 'offsetx' is assigned a value that is never used. [unreadVariable] colorhug-client-0.2.8/src/ch-graph-widget.c:452:18: style: Variable 'offsety' is assigned a value that is never used. [unreadVariable] colorhug-client-0.2.8/src/ch-main.c:1702:22: error: There is an unknown macro here somewhere. Configuration is required. If G_GUINT32_FORMAT is a macro then please configure it. [unknownMacro] colorhug-client-0.2.8/src/ch-markdown.c:785:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ch_markdown_parent_class [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-markdown.c:751: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] colorhug-client-0.2.8/src/ch-markdown.c:705:32: style:inconclusive: Function 'ch_markdown_parse' argument 1 names different: declaration 'self' definition 'markdown'. [funcArgNamesDifferent] colorhug-client-0.2.8/src/ch-markdown.h:53:43: note: Function 'ch_markdown_parse' argument 1 names different: declaration 'self' definition 'markdown'. colorhug-client-0.2.8/src/ch-markdown.c:705:32: note: Function 'ch_markdown_parse' argument 1 names different: declaration 'self' definition 'markdown'. colorhug-client-0.2.8/src/ch-markdown.c:273:9: style: Variable 'start' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-markdown.c:274:9: style: Variable 'middle' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-markdown.c:275:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-markdown.c:318:55: style: Parameter 'markdown' can be declared as pointer to const [constParameterPointer] colorhug-client-0.2.8/src/ch-refresh-resources.c:9:68: style: union member 'Anonymous0::alignment' is never used. [unusedStructMember] colorhug-client-0.2.8/src/ch-refresh-resources.c:9:92: style: union member 'Anonymous0::ptr' is never used. [unusedStructMember] colorhug-client-0.2.8/src/ch-refresh-utils.c:135:4: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-refresh-utils.c:146:3: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-refresh-utils.c:205:4: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-refresh-utils.c:216:3: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-refresh-utils.c:267:4: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-refresh-utils.c:278:3: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-refresh-utils.c:332:4: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-refresh-utils.c:339:3: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-refresh-utils.c:339:3: warning: %i in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-refresh-utils.c:345:5: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] colorhug-client-0.2.8/src/ch-refresh-utils.c:376:24: style: Variable 'str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh-utils.c:391:24: style: Variable 'str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh-utils.c:406:24: style: Variable 'str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh-utils.c:421:24: style: Variable 'str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh-utils.c:436:24: style: Variable 'str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh-utils.c:451:24: style: Variable 'str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh-utils.c:466:24: style: Variable 'str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh.c:83:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-refresh.c:354:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-refresh.c:532:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-refresh.c:996:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CD_IT8_KIND_TI3 [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-refresh.c:1147:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-refresh.c:1185:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_DEVICE_MODE_UNKNOWN [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-refresh.c:1456:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_DEVICE_MODE_FIRMWARE2 [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-refresh.c:1473:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_DEVICE_MODE_FIRMWARE2 [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-refresh.c:1495:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_NONE [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-refresh.c:1028:2: error: Memory leak: basename [memleak] colorhug-client-0.2.8/src/ch-refresh.c:1033:1: error: Memory leak: title [memleak] colorhug-client-0.2.8/src/ch-refresh.c:419:25: style: Variable 'str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh.c:431:25: style: Variable 'str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh.c:443:25: style: Variable 'str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh.c:773:24: style: Variable 'usb_jitter_str' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh.c:804:31: style: Variable 'error' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh.c:1025:25: style: Variable 'basename' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh.c:1045:24: style: Variable 'svg_data' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh.c:1142:24: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-refresh.c:773:24: style: Variable 'usb_jitter_str' is assigned a value that is never used. [unreadVariable] colorhug-client-0.2.8/src/ch-refresh.c:804:31: style: Variable 'error' is assigned a value that is never used. [unreadVariable] colorhug-client-0.2.8/src/ch-self-test.c:39:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-self-test.c:168:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] colorhug-client-0.2.8/src/ch-self-test.c:44:3: error: Memory leak: path [memleak] colorhug-client-0.2.8/src/ch-self-test.c:45:2: error: Memory leak: path [memleak] colorhug-client-0.2.8/src/ch-self-test.c:38:9: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] colorhug-client-0.2.8/src/ch-self-test.c:40:24: style: Variable 'path' can be declared as pointer to const [constVariablePointer] diff: DONE