2025-08-31 01:24 ftp://ftp.de.debian.org/debian/pool/main/g/geocode-glib/geocode-glib_3.26.4.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 --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.41+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 2ee39fe (2025-08-30 22:07:31 +0200) count: 166 210 elapsed-time: 0.2 1.0 head-timing-info: old-timing-info: head results: geocode-glib-3.26.4/geocode-glib/geocode-bounding-box.c:172:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable geocode_bounding_box_parent_class [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-bounding-box.c:196:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-bounding-box.c:273:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOCODE_TYPE_BOUNDING_BOX [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-bounding-box.c:57:48: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'geocode_bounding_box_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] geocode-glib-3.26.4/geocode-glib/geocode-bounding-box.c:182:37: note: You might need to cast the function pointer here geocode-glib-3.26.4/geocode-glib/geocode-bounding-box.c:57:48: note: Parameter 'pspec' can be declared as pointer to const geocode-glib-3.26.4/geocode-glib/geocode-bounding-box.c:137:50: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'geocode_bounding_box_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] geocode-glib-3.26.4/geocode-glib/geocode-bounding-box.c:183:37: note: You might need to cast the function pointer here geocode-glib-3.26.4/geocode-glib/geocode-bounding-box.c:137:50: note: Parameter 'pspec' can be declared as pointer to const geocode-glib-3.26.4/geocode-glib/geocode-bounding-box.c:252:48: style: Parameter 'bbox' can be declared as pointer to const [constParameterPointer] geocode-glib-3.26.4/geocode-glib/geocode-bounding-box.c:298:36: style: Variable 'priv_a' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-bounding-box.c:299:36: style: Variable 'priv_b' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-glib.c:80:0: error: failed to evaluate #if condition, undefined function-like macro invocation: SOUP_CHECK_VERSION( ... ) [preprocessorErrorDirective] geocode-glib-3.26.4/geocode-glib/geocode-bounding-box.c:324:36: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-bounding-box.c:342:36: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-bounding-box.c:360:36: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-bounding-box.c:378:36: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-glib.c:80:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SOUP_CHECK_VERSION( ... ) [preprocessorErrorDirective] geocode-glib-3.26.4/geocode-glib/geocode-backend.c:348:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_hash_table_unref [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-backend.c:390:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_hash_table_unref [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-forward.c:133:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_hash_table_unref [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-forward.c:161:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_STATIC_STRINGS [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-forward.c:212:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_ANSWER_COUNT [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-forward.c:260:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GValue [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-forward.c:289:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GValue [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-forward.c:434:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GValue [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-forward.c:455:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-forward.c:511:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GValue [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-forward.c:68:22: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'geocode_forward_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] geocode-glib-3.26.4/geocode-glib/geocode-forward.c:146:33: note: You might need to cast the function pointer here geocode-glib-3.26.4/geocode-glib/geocode-forward.c:68:22: note: Parameter 'pspec' can be declared as pointer to const geocode-glib-3.26.4/geocode-glib/geocode-forward.c:99:23: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'geocode_forward_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] geocode-glib-3.26.4/geocode-glib/geocode-forward.c:147:33: note: You might need to cast the function pointer here geocode-glib-3.26.4/geocode-glib/geocode-forward.c:99:23: note: Parameter 'pspec' can be declared as pointer to const geocode-glib-3.26.4/geocode-glib/geocode-forward.c:527:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-forward.c:545:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-forward.c:562:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-mock-backend.c:139:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GHashTable [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:884:0: error: failed to evaluate #if condition, undefined function-like macro invocation: SOUP_CHECK_VERSION( ... ) [preprocessorErrorDirective] geocode-glib-3.26.4/geocode-glib/geocode-mock-backend.c:194:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable query [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:884:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SOUP_CHECK_VERSION( ... ) [preprocessorErrorDirective] geocode-glib-3.26.4/geocode-glib/geocode-mock-backend.c:215:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VALUE_INIT [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-mock-backend.c:299:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-mock-backend.c:337:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logged_query [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-mock-backend.c:380:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOCODE_ERROR_NO_MATCHES [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-mock-backend.c:393:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOCODE_ERROR_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-mock-backend.c:447:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable query [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-mock-backend.c:492:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable query [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-mock-backend.c:573:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_ptr_array_unref [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-mock-backend.c:571:22: style: Variable 'self' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-reverse.c:64:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable geocode_reverse_parent_class [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-reverse.c:73:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-reverse.c:123:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GValue [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-reverse.c:200:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GHashTable [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-reverse.c:267:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GHashTable [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-location.c:238:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-location.c:565:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable geocode_location_parent_class [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-location.c:589:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_STATIC_STRINGS [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-location.c:697:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXDOUBLE [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-location.c:863:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXDOUBLE [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-location.c:944:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-reverse.c:79:39: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] geocode-glib-3.26.4/geocode-glib/tests/geo-uri.c:150:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-place.c:317:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable geocode_place_parent_class [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-place.c:340:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_STATIC_STRINGS [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-place.c:586:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOCODE_PLACE_OSM_TYPE_UNKNOWN [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-place.c:602:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOCODE_TYPE_PLACE [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-place.c:623:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOCODE_TYPE_PLACE [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-place.c:747:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOCODE_PLACE_TYPE_UNKNOWN [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/geocode-place.c:1384:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOCODE_PLACE_OSM_TYPE_UNKNOWN [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/geocode-nominatim-test.c:135:0: error: failed to evaluate #if condition, undefined function-like macro invocation: SOUP_CHECK_VERSION( ... ) [preprocessorErrorDirective] geocode-glib-3.26.4/geocode-glib/tests/geocode-nominatim-test.c:135:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SOUP_CHECK_VERSION( ... ) [preprocessorErrorDirective] geocode-glib-3.26.4/geocode-glib/geocode-location.c:70:44: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'geocode_location_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] geocode-glib-3.26.4/geocode-glib/geocode-location.c:575:41: note: You might need to cast the function pointer here geocode-glib-3.26.4/geocode-glib/geocode-location.c:70:44: note: Parameter 'pspec' can be declared as pointer to const geocode-glib-3.26.4/geocode-glib/geocode-location.c:142:33: style: Variable 'priv_a' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-location.c:143:33: style: Variable 'priv_b' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-location.c:230:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-location.c:246:45: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'geocode_location_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] geocode-glib-3.26.4/geocode-glib/geocode-location.c:576:41: note: You might need to cast the function pointer here geocode-glib-3.26.4/geocode-glib/geocode-location.c:246:45: note: Parameter 'pspec' can be declared as pointer to const geocode-glib-3.26.4/geocode-glib/geocode-location.c:302:15: style: Variable 'token_end' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-location.c:365:15: style: Variable 'val' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-location.c:471:15: style: Variable 'next_token' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-location.c:560:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-location.c:808:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-location.c:826:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-location.c:844:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-location.c:862:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-location.c:881:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-location.c:900:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-location.c:920:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-location.c:1019:33: style: Variable 'priv_a' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-location.c:1020:33: style: Variable 'priv_b' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-location.c:952:26: error: Uninitialized variable: lat [uninitvar] geocode-glib-3.26.4/geocode-glib/geocode-location.c:956:26: error: Uninitialized variable: lon [uninitvar] geocode-glib-3.26.4/geocode-glib/geocode-place.c:94:41: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'geocode_place_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] geocode-glib-3.26.4/geocode-glib/geocode-place.c:327:38: note: You might need to cast the function pointer here geocode-glib-3.26.4/geocode-glib/geocode-place.c:94:41: note: Parameter 'pspec' can be declared as pointer to const geocode-glib-3.26.4/geocode-glib/geocode-place.c:204:42: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'geocode_place_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] geocode-glib-3.26.4/geocode-glib/geocode-place.c:328:38: note: You might need to cast the function pointer here geocode-glib-3.26.4/geocode-glib/geocode-place.c:204:42: note: Parameter 'pspec' can be declared as pointer to const geocode-glib-3.26.4/geocode-glib/geocode-place.c:621:51: style: Parameter 'location' can be declared as pointer to const [constParameterPointer] geocode-glib-3.26.4/geocode-glib/geocode-place.c:727:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-place.c:746:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-place.c:785:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-place.c:824:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-place.c:863:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-place.c:901:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-place.c:939:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-place.c:977:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-place.c:1016:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-place.c:1054:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-place.c:1092:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-place.c:1130:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-place.c:1168:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-place.c:1206:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-place.c:1244:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-place.c:1254:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-place.c:1326:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-place.c:1365:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/geocode-place.c:1383:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:138:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GValue [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:162:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:179:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:192:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GHashTable [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:245:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GeocodeForward [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:280:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GeocodeForward [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:311:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOCODE_LOCATION_ACCURACY_UNKNOWN [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:346:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOCODE_LOCATION_ACCURACY_UNKNOWN [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:360:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GHashTable [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:411:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GHashTable [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:453:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GHashTable [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:496:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GHashTable [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:576:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GHashTable [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:624:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOCODE_PLACE_OSM_TYPE_WAY [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:664:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GeocodeLocation [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:677:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GeocodeLocation [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:739:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GHashTable [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:846:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TEST_DIST [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:887:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:937:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOCODE_LOCATION_ACCURACY_UNKNOWN [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:943:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOptionContext [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:76:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GHashTable [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:108:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GHashTable [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:140:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GeocodeForward [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:187:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GeocodeForward [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:249:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GeocodeForward [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:288:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GeocodeForward [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:327:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GeocodeForward [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:373:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GeocodeReverse [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:424:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GeocodeMockBackend [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:482:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GeocodeReverse [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:525:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GeocodeReverse [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:567:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GeocodeForward [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:629:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:610:2: warning: Assert statement calls a function which may have desired side effects: 'g_hash_table_size'. [assertWithSideEffect] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:157:51: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:210:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:267:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:306:47: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:346:41: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:393:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:443:59: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:503:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:546:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:585:51: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:148:13: style: Variable 'query_log' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:199:13: style: Variable 'query_log' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:258:13: style: Variable 'query_log' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:297:13: style: Variable 'query_log' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:336:13: style: Variable 'query_log' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:382:13: style: Variable 'query_log' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:434:13: style: Variable 'query_log' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:492:13: style: Variable 'query_log' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/tests/mock-backend.c:535:13: style: Variable 'query_log' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:419:2: warning: Assert statement calls a function which may have desired side effects: 'setlocale'. [assertWithSideEffect] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:506:2: warning: Assert statement calls a function which may have desired side effects: 'setlocale'. [assertWithSideEffect] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:752:2: warning: Assert statement calls a function which may have desired side effects: 'setlocale'. [assertWithSideEffect] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:169:2: warning: Return value of function g_file_get_contents() is not used. [ignoredReturnValue] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:344:16: style: Variable 'place' can be declared as pointer to const [constVariablePointer] geocode-glib-3.26.4/geocode-glib/tests/geocode-glib.c:825:16: style: Variable 'place' can be declared as pointer to const [constVariablePointer] diff: 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-glib.c:48:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-glib.c:52:13: error: Return value of allocation function 'g_application_get_default' is not stored. [leakReturnValNotUsed] head geocode-glib-3.26.4/geocode-glib/geocode-glib.c:80:0: error: failed to evaluate #if condition, undefined function-like macro invocation: SOUP_CHECK_VERSION( ... ) [preprocessorErrorDirective] head geocode-glib-3.26.4/geocode-glib/geocode-glib.c:80:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SOUP_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-glib.c:93:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:1001:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:1048:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:1052:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:1115:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:1159:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:1232:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:1282:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable place [valueFlowBailoutIncompleteVar] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:1350:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable place [valueFlowBailoutIncompleteVar] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:1403:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable backend_nominatim_gnome_lock [valueFlowBailoutIncompleteVar] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:1444:43: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:1451:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:1454:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable geocode_nominatim_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:1467:45: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'geocode_nominatim_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:1559:31: note: You might need to cast the function pointer here geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:1467:45: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:1469:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:148:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VALUE_INIT [valueFlowBailoutIncompleteVar] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:1494:47: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'geocode_nominatim_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:1560:31: note: You might need to cast the function pointer here geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:1494:47: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:1537:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable geocode_nominatim_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:1579:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:297:29: style: Variable 'evalue' can be declared as pointer to const [constVariablePointer] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:334:15: style: Variable 'category' can be declared as pointer to const [constVariablePointer] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:334:26: style: Variable 'type' can be declared as pointer to const [constVariablePointer] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:499:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOCODE_LOCATION_ACCURACY_UNKNOWN [valueFlowBailoutIncompleteVar] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:588:24: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:588:31: style: Variable 'next' can be declared as pointer to const [constVariablePointer] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:618:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:819:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:859:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:884:0: error: failed to evaluate #if condition, undefined function-like macro invocation: SOUP_CHECK_VERSION( ... ) [preprocessorErrorDirective] head geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:884:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SOUP_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:929:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOUP_STATUS_OK [valueFlowBailoutIncompleteVar] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:951:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 geocode-glib-3.26.4/geocode-glib/geocode-nominatim.c:997:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 geocode-glib-3.26.4/geocode-glib/tests/geocode-nominatim-test.c:108:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 geocode-glib-3.26.4/geocode-glib/tests/geocode-nominatim-test.c:108:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head geocode-glib-3.26.4/geocode-glib/tests/geocode-nominatim-test.c:135:0: error: failed to evaluate #if condition, undefined function-like macro invocation: SOUP_CHECK_VERSION( ... ) [preprocessorErrorDirective] head geocode-glib-3.26.4/geocode-glib/tests/geocode-nominatim-test.c:135:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SOUP_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 geocode-glib-3.26.4/geocode-glib/tests/geocode-nominatim-test.c:153:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 geocode-glib-3.26.4/geocode-glib/tests/geocode-nominatim-test.c:153:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 geocode-glib-3.26.4/geocode-glib/tests/geocode-nominatim-test.c:161:2: warning: Assert statement calls a function which may have desired side effects: 'g_hash_table_remove'. [assertWithSideEffect] 2.18.0 geocode-glib-3.26.4/geocode-glib/tests/geocode-nominatim-test.c:162:2: warning: Assert statement calls a function which may have desired side effects: 'g_hash_table_remove'. [assertWithSideEffect] 2.18.0 geocode-glib-3.26.4/geocode-glib/tests/geocode-nominatim-test.c:163:2: warning: Assert statement calls a function which may have desired side effects: 'g_hash_table_remove'. [assertWithSideEffect] 2.18.0 geocode-glib-3.26.4/geocode-glib/tests/geocode-nominatim-test.c:164:2: warning: Assert statement calls a function which may have desired side effects: 'g_hash_table_remove'. [assertWithSideEffect] 2.18.0 geocode-glib-3.26.4/geocode-glib/tests/geocode-nominatim-test.c:226:2: warning: Assert statement calls a function which may have desired side effects: 'g_get_tmp_dir'. [assertWithSideEffect] 2.18.0 geocode-glib-3.26.4/geocode-glib/tests/geocode-nominatim-test.c:226:2: warning: Assert statement calls a function which may have desired side effects: 'g_get_user_cache_dir'. [assertWithSideEffect] 2.18.0 geocode-glib-3.26.4/geocode-glib/tests/geocode-nominatim-test.c:226:2: warning: Assert statement calls a function which may have desired side effects: 'g_str_has_prefix'. [assertWithSideEffect] 2.18.0 geocode-glib-3.26.4/geocode-glib/tests/geocode-nominatim-test.c:235:52: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] 2.18.0 geocode-glib-3.26.4/geocode-glib/tests/geocode-nominatim-test.c:248:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable geocode_nominatim_test_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 geocode-glib-3.26.4/geocode-glib/tests/geocode-nominatim-test.c:53:42: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] 2.18.0 geocode-glib-3.26.4/geocode-glib/tests/geocode-nominatim-test.c:58:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 geocode-glib-3.26.4/geocode-glib/tests/geocode-nominatim-test.c:62:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 geocode-glib-3.26.4/geocode-glib/tests/geocode-nominatim-test.c:62:24: debug: Scope::checkVariable found variable 'value2' with varid 0. [varid0] DONE