2025-11-02 20:07 ftp://ftp.de.debian.org/debian/pool/main/v/viking/viking_1.10+git20250612.b98e55e.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=zlib --library=sqlite3 --library=libcurl --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.48+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: 1f35303 (2025-11-01 19:39:44 +0100) count: 228 2037 elapsed-time: 1.8 15.4 head-timing-info: old-timing-info: head results: viking-1.10+git20250612.b98e55e/src/vik_compat.h:39:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] viking-1.10+git20250612.b98e55e/src/vik_compat.h:39:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] viking-1.10+git20250612.b98e55e/src/coords.c:79:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/dir.c:42:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/dir.c:77:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/dir.c:95:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/dir.c:148:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SEARCHPATH_SEPARATOR_S [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/degrees_converters.c:40:12: style: Redundant initialization for 'sign_c'. The initialized value is overwritten before it is read. [redundantInitialization] viking-1.10+git20250612.b98e55e/src/degrees_converters.c:35:16: note: sign_c is initialized viking-1.10+git20250612.b98e55e/src/degrees_converters.c:40:12: note: sign_c is overwritten viking-1.10+git20250612.b98e55e/src/degrees_converters.c:77:12: style: Redundant initialization for 'sign_c'. The initialized value is overwritten before it is read. [redundantInitialization] viking-1.10+git20250612.b98e55e/src/degrees_converters.c:71:16: note: sign_c is initialized viking-1.10+git20250612.b98e55e/src/degrees_converters.c:77:12: note: sign_c is overwritten viking-1.10+git20250612.b98e55e/src/degrees_converters.c:119:12: style: Redundant initialization for 'sign_c'. The initialized value is overwritten before it is read. [redundantInitialization] viking-1.10+git20250612.b98e55e/src/degrees_converters.c:113:16: note: sign_c is initialized viking-1.10+git20250612.b98e55e/src/degrees_converters.c:119:12: note: sign_c is overwritten viking-1.10+git20250612.b98e55e/src/fileutils.c:134:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/fileutils.c:103:48: style: Parameter 'currentDirectory' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/fileutils.c:103:73: style: Parameter 'absoluteFilename' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/libjpeg/jpeg-data.c:162:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JPEG_MARKER_SOS [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/libjpeg/jpeg-data.c:204:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIF_LOG_CODE_CORRUPT_DATA [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/libjpeg/jpeg-data.c:301:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIF_LOG_CODE_CORRUPT_DATA [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/libjpeg/jpeg-data.c:447:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JPEG_MARKER_APP1 [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/libjpeg/jpeg-data.c:463:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JPEG_MARKER_APP1 [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/md5_hash.c:58:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.10+git20250612.b98e55e/src/mapnik_interface.cpp:125:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAPNIK_VERSION_STRING [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/mapnik_interface.cpp:194:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAPNIK_GMERC_PROJ [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/mapnik_interface.cpp:266:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/mapnik_interface.cpp:340:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAPNIK_VERSION_STRING [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/metatile.c:102:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/mapnik_interface.cpp:212:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.10+git20250612.b98e55e/src/mapnik_interface.cpp:105:24: style: C-style pointer casting [cstyleCast] viking-1.10+git20250612.b98e55e/src/mapnik_interface.cpp:158:31: style: C-style pointer casting [cstyleCast] viking-1.10+git20250612.b98e55e/src/mapnik_interface.cpp:262:37: style: C-style pointer casting [cstyleCast] viking-1.10+git20250612.b98e55e/src/mapnik_interface.cpp:312:28: style: C-style pointer casting [cstyleCast] viking-1.10+git20250612.b98e55e/src/mapnik_interface.cpp:117:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] viking-1.10+git20250612.b98e55e/src/mapnik_interface.cpp:338:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] viking-1.10+git20250612.b98e55e/src/mapnik_interface.cpp:339:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] viking-1.10+git20250612.b98e55e/src/mapnik_interface.cpp:80:65: style: Parameter 'mic' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/mapnik_interface.cpp:84:54: style: Parameter 'mi' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/mapnik_interface.cpp:285:58: style: Parameter 'mi' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/mapnik_interface.cpp:153:79: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] viking-1.10+git20250612.b98e55e/src/mapnik_interface.cpp:303:81: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] viking-1.10+git20250612.b98e55e/src/libjpeg/jpeg-data.c:402:2: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.10+git20250612.b98e55e/src/libjpeg/jpeg-data.c:406:3: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.10+git20250612.b98e55e/src/libjpeg/jpeg-data.c:418:4: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.10+git20250612.b98e55e/src/libjpeg/jpeg-data.c:113:71: style:inconclusive: Function 'jpeg_data_save_data' argument 3 names different: declaration 'size' definition 'ds'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/libjpeg/jpeg-data.h:78:22: note: Function 'jpeg_data_save_data' argument 3 names different: declaration 'size' definition 'ds'. viking-1.10+git20250612.b98e55e/src/libjpeg/jpeg-data.c:113:71: note: Function 'jpeg_data_save_data' argument 3 names different: declaration 'size' definition 'ds'. viking-1.10+git20250612.b98e55e/src/libjpeg/jpeg-data.c:173:47: style:inconclusive: Function 'jpeg_data_new_from_data' argument 1 names different: declaration 'data' definition 'd'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/libjpeg/jpeg-data.h:68:57: note: Function 'jpeg_data_new_from_data' argument 1 names different: declaration 'data' definition 'd'. viking-1.10+git20250612.b98e55e/src/libjpeg/jpeg-data.c:173:47: note: Function 'jpeg_data_new_from_data' argument 1 names different: declaration 'data' definition 'd'. viking-1.10+git20250612.b98e55e/src/misc/gtkhtml.c:102:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/metatile.c:165:19: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] viking-1.10+git20250612.b98e55e/src/metatile.c:165:19: portability: %zd in format string (no. 2) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] viking-1.10+git20250612.b98e55e/src/metatile.c:124:21: style: Variable 'ignored' is assigned a value that is never used. [unreadVariable] viking-1.10+git20250612.b98e55e/src/metatile.c:135:17: style: Variable 'ignored' is assigned a value that is never used. [unreadVariable] viking-1.10+git20250612.b98e55e/src/metatile.c:142:21: style: Variable 'ignored' is assigned a value that is never used. [unreadVariable] viking-1.10+git20250612.b98e55e/src/metatile.c:153:17: style: Variable 'ignored' is assigned a value that is never used. [unreadVariable] viking-1.10+git20250612.b98e55e/src/metatile.c:165:17: style: Variable 'ignored' is assigned a value that is never used. [unreadVariable] viking-1.10+git20250612.b98e55e/src/metatile.c:166:19: style: Variable 'tile_size' is assigned a value that is never used. [unreadVariable] viking-1.10+git20250612.b98e55e/src/metatile.c:172:17: style: Variable 'ignored' is assigned a value that is never used. [unreadVariable] viking-1.10+git20250612.b98e55e/src/metatile.c:182:21: style: Variable 'ignored' is assigned a value that is never used. [unreadVariable] viking-1.10+git20250612.b98e55e/src/misc/gtkhtml.c:119:9: style: Unused variable: first_end [unusedVariable] viking-1.10+git20250612.b98e55e/src/misc/gtkhtml.c:119:21: style: Unused variable: colon [unusedVariable] viking-1.10+git20250612.b98e55e/src/misc/strtod.c:90:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/misc/fpconv.c:333:24: style:inconclusive: Function 'fpconv_dtoa' argument 1 names different: declaration 'fp' definition 'd'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/misc/fpconv.h:30:24: note: Function 'fpconv_dtoa' argument 1 names different: declaration 'fp' definition 'd'. viking-1.10+git20250612.b98e55e/src/misc/fpconv.c:333:24: note: Function 'fpconv_dtoa' argument 1 names different: declaration 'fp' definition 'd'. viking-1.10+git20250612.b98e55e/src/misc/fpconv.c:67:43: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/misc/fpconv.c:93:24: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/misc/fpconv.c:93:31: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/misc/fpconv.c:124:32: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/misc/fpconv.c:124:40: style: Parameter 'upper' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/misc/fpconv.c:124:51: style: Parameter 'lower' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/misc/fpconv.c:137:15: style: Variable 'divp' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/misc/fpconv.c:161:15: style: Variable 'unit' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/misc/fpconv.c:209:30: style: Parameter 'digits' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/misc/fpconv.c:29:18: style: union member 'Anonymous0::dbl' is never used. [unusedStructMember] viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:53:12: warning: If memory allocation fails, then there is a possible null pointer dereference: hm [nullPointerOutOfMemory] viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:61:39: note: Assuming allocation function fails viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:61:21: note: Assignment 'hm=(struct heatmap_t*)malloc(sizeof(struct heatmap_t))', assigned value is 0 viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:62:18: note: Calling function 'heatmap_init', 1st argument 'hm' value is 0 viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:53:12: note: Null pointer dereference viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:54:5: warning: If memory allocation fails, then there is a possible null pointer dereference: hm [nullPointerOutOfMemory] viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:61:39: note: Assuming allocation function fails viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:61:21: note: Assignment 'hm=(struct heatmap_t*)malloc(sizeof(struct heatmap_t))', assigned value is 0 viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:62:18: note: Calling function 'heatmap_init', 1st argument 'hm' value is 0 viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:54:5: note: Null pointer dereference viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:55:5: warning: If memory allocation fails, then there is a possible null pointer dereference: hm [nullPointerOutOfMemory] viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:61:39: note: Assuming allocation function fails viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:61:21: note: Assignment 'hm=(struct heatmap_t*)malloc(sizeof(struct heatmap_t))', assigned value is 0 viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:62:18: note: Calling function 'heatmap_init', 1st argument 'hm' value is 0 viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:55:5: note: Null pointer dereference viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:56:5: warning: If memory allocation fails, then there is a possible null pointer dereference: hm [nullPointerOutOfMemory] viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:61:39: note: Assuming allocation function fails viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:61:21: note: Assignment 'hm=(struct heatmap_t*)malloc(sizeof(struct heatmap_t))', assigned value is 0 viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:62:18: note: Calling function 'heatmap_init', 1st argument 'hm' value is 0 viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:56:5: note: Null pointer dereference viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:251:12: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:250:33: note: Assuming allocation function fails viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:250:19: note: Assignment 'copy=(float*)malloc(sizeof(float)*w*h)', assigned value is 0 viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:251:12: note: Null pointer dereference viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:215:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:464:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:566:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:260:45: style:inconclusive: Function 'heatmap_stamp_gen' argument 1 names different: declaration 'radius' definition 'r'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/misc/heatmap.h:137:45: note: Function 'heatmap_stamp_gen' argument 1 names different: declaration 'radius' definition 'r'. viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:260:45: note: Function 'heatmap_stamp_gen' argument 1 names different: declaration 'radius' definition 'r'. viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:265:55: style:inconclusive: Function 'heatmap_stamp_gen_nonlinear' argument 1 names different: declaration 'radius' definition 'r'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/misc/heatmap.h:150:55: note: Function 'heatmap_stamp_gen_nonlinear' argument 1 names different: declaration 'radius' definition 'r'. viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:265:55: note: Function 'heatmap_stamp_gen_nonlinear' argument 1 names different: declaration 'radius' definition 'r'. viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:297:70: style:inconclusive: Function 'heatmap_colorscheme_load' argument 1 names different: declaration 'colors' definition 'in_colors'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/misc/heatmap.h:162:70: note: Function 'heatmap_colorscheme_load' argument 1 names different: declaration 'colors' definition 'in_colors'. viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:297:70: note: Function 'heatmap_colorscheme_load' argument 1 names different: declaration 'colors' definition 'in_colors'. viking-1.10+git20250612.b98e55e/src/misc/heatmap.c:248:68: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:162:39: style:inconclusive: Function 'insert_rec' argument 1 names different: declaration 'node' definition 'nptr'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:87:39: note: Function 'insert_rec' argument 1 names different: declaration 'node' definition 'nptr'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:162:39: note: Function 'insert_rec' argument 1 names different: declaration 'node' definition 'nptr'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:399:41: style:inconclusive: Function 'kd_nearest' argument 1 names different: declaration 'tree' definition 'kd'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/misc/kdtree.h:63:41: note: Function 'kd_nearest' argument 1 names different: declaration 'tree' definition 'kd'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:399:41: note: Function 'kd_nearest' argument 1 names different: declaration 'tree' definition 'kd'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:532:47: style:inconclusive: Function 'kd_nearest_range' argument 1 names different: declaration 'tree' definition 'kd'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/misc/kdtree.h:91:47: note: Function 'kd_nearest_range' argument 1 names different: declaration 'tree' definition 'kd'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:532:47: note: Function 'kd_nearest_range' argument 1 names different: declaration 'tree' definition 'kd'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:556:48: style:inconclusive: Function 'kd_nearest_rangef' argument 1 names different: declaration 'tree' definition 'kd'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/misc/kdtree.h:92:48: note: Function 'kd_nearest_rangef' argument 1 names different: declaration 'tree' definition 'kd'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:556:48: note: Function 'kd_nearest_rangef' argument 1 names different: declaration 'tree' definition 'kd'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:608:32: style:inconclusive: Function 'kd_res_free' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/misc/kdtree.h:97:32: note: Function 'kd_res_free' argument 1 names different: declaration 'set' definition 'rset'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:608:32: note: Function 'kd_res_free' argument 1 names different: declaration 'set' definition 'rset'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:620:34: style:inconclusive: Function 'kd_res_rewind' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/misc/kdtree.h:103:34: note: Function 'kd_res_rewind' argument 1 names different: declaration 'set' definition 'rset'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:620:34: note: Function 'kd_res_rewind' argument 1 names different: declaration 'set' definition 'rset'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:625:30: style:inconclusive: Function 'kd_res_end' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/misc/kdtree.h:106:30: note: Function 'kd_res_end' argument 1 names different: declaration 'set' definition 'rset'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:625:30: note: Function 'kd_res_end' argument 1 names different: declaration 'set' definition 'rset'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:630:31: style:inconclusive: Function 'kd_res_next' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/misc/kdtree.h:111:31: note: Function 'kd_res_next' argument 1 names different: declaration 'set' definition 'rset'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:630:31: note: Function 'kd_res_next' argument 1 names different: declaration 'set' definition 'rset'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:636:33: style:inconclusive: Function 'kd_res_item' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/misc/kdtree.h:116:33: note: Function 'kd_res_item' argument 1 names different: declaration 'set' definition 'rset'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:636:33: note: Function 'kd_res_item' argument 1 names different: declaration 'set' definition 'rset'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:647:34: style:inconclusive: Function 'kd_res_itemf' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/misc/kdtree.h:117:34: note: Function 'kd_res_itemf' argument 1 names different: declaration 'set' definition 'rset'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:647:34: note: Function 'kd_res_itemf' argument 1 names different: declaration 'set' definition 'rset'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:661:34: style:inconclusive: Function 'kd_res_item3' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/misc/kdtree.h:118:34: note: Function 'kd_res_item3' argument 1 names different: declaration 'set' definition 'rset'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:661:34: note: Function 'kd_res_item3' argument 1 names different: declaration 'set' definition 'rset'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:671:35: style:inconclusive: Function 'kd_res_item3f' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/misc/kdtree.h:119:35: note: Function 'kd_res_item3f' argument 1 names different: declaration 'set' definition 'rset'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:671:35: note: Function 'kd_res_item3f' argument 1 names different: declaration 'set' definition 'rset'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:825:41: style:inconclusive: Function 'clear_results' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:89:41: note: Function 'clear_results' argument 1 names different: declaration 'set' definition 'rset'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:825:41: note: Function 'clear_results' argument 1 names different: declaration 'set' definition 'rset'. viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:615:31: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/misc/kdtree.c:625:30: style: Parameter 'rset' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/settings.c:44:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_KEY_FILE_KEEP_COMMENTS [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/settings.c:89:2: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] viking-1.10+git20250612.b98e55e/src/util.c:115:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/util.c:212:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/util.c:233:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/util.c:263:32: style: Parameter 'tm' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/util.c:359:49: style: Parameter 'aa' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/util.c:359:60: style: Parameter 'bb' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/vikcoord.c:142:43: style: Parameter 'center' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/vikcoord.c:142:66: style: Parameter 'dist' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/vikcoord.c:154:43: style: Parameter 'center' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/vikcoord.c:154:66: style: Parameter 'dist' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/vikfilelist.c:33:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] viking-1.10+git20250612.b98e55e/src/vikfilelist.c:33:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] viking-1.10+git20250612.b98e55e/src/vikgobjectbuilder.c:65:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_gobject_builder_parent_class [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/vikgobjectbuilder.c:91:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_OBJECT [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/vikgobjectbuilder.c:151:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/vikgobjectbuilder.c:177:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VALUE_INIT [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/vikgobjectbuilder.c:239:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/vikgobjectbuilder.c:55:46: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/vikgobjectbuilder.c:69:52: style: Parameter 'self' can be declared as pointer to const. However it seems that 'vik_gobject_builder_new_object' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgobjectbuilder.c:81:22: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgobjectbuilder.c:69:52: note: Parameter 'self' can be declared as pointer to const viking-1.10+git20250612.b98e55e/src/vikgobjectbuilder.c:69:67: style: Parameter 'object' can be declared as pointer to const. However it seems that 'vik_gobject_builder_new_object' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgobjectbuilder.c:81:22: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgobjectbuilder.c:69:67: note: Parameter 'object' can be declared as pointer to const viking-1.10+git20250612.b98e55e/src/vikradiogroup.c:33:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] viking-1.10+git20250612.b98e55e/src/vikradiogroup.c:33:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] viking-1.10+git20250612.b98e55e/test/geotag_write.c:15:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIK_COORD_LATLON [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/test/geotag_write.c:18:64: error: Invalid sqrt() argument nr 1. The value is -1 but the valid values are '0.0:'. [invalidFunctionArg] viking-1.10+git20250612.b98e55e/test/test_babel.c:8:56: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'print_file_format' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/test/test_babel.c:28:39: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/test/test_babel.c:8:56: note: Parameter 'user_data' can be declared as pointer to const viking-1.10+git20250612.b98e55e/test/test_babel.c:10:13: style: Variable 'file' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/test/test_babel.c:18:25: style: Parameter 'argv' can be declared as const array [constParameter] viking-1.10+git20250612.b98e55e/test/test_coord_conversion.c:31:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] viking-1.10+git20250612.b98e55e/test/test_coord_conversion.c:31:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] viking-1.10+git20250612.b98e55e/src/viktrack.c:253:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:323:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:375:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:396:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable newsegment [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:415:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:435:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:467:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:498:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:518:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:614:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:641:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable newsegment [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:669:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable newsegment [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:713:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable newsegment [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:733:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable newsegment [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:773:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:810:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:843:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:879:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/test/test_decimal_output.c:17:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] viking-1.10+git20250612.b98e55e/src/viktrack.c:911:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable speed [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:931:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable heart_rate [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:957:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable heart_rate [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:977:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable heart_rate [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1041:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1126:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cadence [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1144:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cadence [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1164:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cadence [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1190:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable temp [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/test/test_decimal_output.c:17:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] viking-1.10+git20250612.b98e55e/src/viktrack.c:1219:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable temp [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1237:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable temp [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1256:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable temp [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1276:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable power [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1295:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable power [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1315:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable power [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1331:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1360:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable altitude [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1491:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1547:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1621:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1695:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1777:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1820:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1861:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1911:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable speed [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1952:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable altitude [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:1975:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable altitude [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:2079:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:2174:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:2278:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:2303:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable altitude [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:2392:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/src/viktrack.c:2573:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/test/test_file_load.c:36:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/test/test_file_load.c:71:48: style: Same expression 'lt==LOAD_TYPE_OTHER_SUCCESS' found multiple times in chain of '||' operators. [duplicateExpression] viking-1.10+git20250612.b98e55e/test/test_parse_latlon.c:12:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] viking-1.10+git20250612.b98e55e/test/test_metatile.c:36:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable METATILE_MAX_SIZE [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/test/test_parse_latlon.c:12:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] viking-1.10+git20250612.b98e55e/test/test_time.c:16:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] viking-1.10+git20250612.b98e55e/test/test_time.c:16:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] viking-1.10+git20250612.b98e55e/test/vik2vik.c:27:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] viking-1.10+git20250612.b98e55e/test/vik2vik.c:27:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] viking-1.10+git20250612.b98e55e/test/test_vikgotoxmltool.c:16:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/test/test_vikgotoxmltool.c:48:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIK_GOTO_XML_TOOL_TYPE [valueFlowBailoutIncompleteVar] viking-1.10+git20250612.b98e55e/test/test_vikgotoxmltool.c:29:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.10+git20250612.b98e55e/src/viktrack.c:689:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.10+git20250612.b98e55e/src/viktrack.c:689:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.10+git20250612.b98e55e/src/viktrack.c:572:57: style:inconclusive: Function 'vik_track_remove_dodgy_first_point' argument 1 names different: declaration 'vt' definition 'tr'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/viktrack.h:151:57: note: Function 'vik_track_remove_dodgy_first_point' argument 1 names different: declaration 'vt' definition 'tr'. viking-1.10+git20250612.b98e55e/src/viktrack.c:572:57: note: Function 'vik_track_remove_dodgy_first_point' argument 1 names different: declaration 'vt' definition 'tr'. viking-1.10+git20250612.b98e55e/src/viktrack.c:647:52: style:inconclusive: Function 'vik_track_split_into_segments' argument 1 names different: declaration 'tr' definition 't'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/viktrack.h:138:52: note: Function 'vik_track_split_into_segments' argument 1 names different: declaration 'tr' definition 't'. viking-1.10+git20250612.b98e55e/src/viktrack.c:647:52: note: Function 'vik_track_split_into_segments' argument 1 names different: declaration 'tr' definition 't'. viking-1.10+git20250612.b98e55e/src/viktrack.c:753:61: style:inconclusive: Function 'vik_track_get_duration' argument 2 names different: declaration 'include_segments' definition 'segment_gaps'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/viktrack.h:141:61: note: Function 'vik_track_get_duration' argument 2 names different: declaration 'include_segments' definition 'segment_gaps'. viking-1.10+git20250612.b98e55e/src/viktrack.c:753:61: note: Function 'vik_track_get_duration' argument 2 names different: declaration 'include_segments' definition 'segment_gaps'. viking-1.10+git20250612.b98e55e/src/viktrack.c:1769:53: style:inconclusive: Function 'vik_track_get_tp_by_dist' argument 1 names different: declaration 'tr' definition 'trk'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/viktrack.h:181:53: note: Function 'vik_track_get_tp_by_dist' argument 1 names different: declaration 'tr' definition 'trk'. viking-1.10+git20250612.b98e55e/src/viktrack.c:1769:53: note: Function 'vik_track_get_tp_by_dist' argument 1 names different: declaration 'tr' definition 'trk'. viking-1.10+git20250612.b98e55e/src/viktrack.c:1855:84: style:inconclusive: Function 'vik_track_get_closest_tp_by_percentage_time' argument 2 names different: declaration 'reldist' definition 'reltime'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/viktrack.h:183:84: note: Function 'vik_track_get_closest_tp_by_percentage_time' argument 2 names different: declaration 'reldist' definition 'reltime'. viking-1.10+git20250612.b98e55e/src/viktrack.c:1855:84: note: Function 'vik_track_get_closest_tp_by_percentage_time' argument 2 names different: declaration 'reldist' definition 'reltime'. viking-1.10+git20250612.b98e55e/src/viktrack.c:2055:63: style:inconclusive: Function 'vik_track_marshall' argument 3 names different: declaration 'len' definition 'datalen'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/viktrack.h:205:63: note: Function 'vik_track_marshall' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.10+git20250612.b98e55e/src/viktrack.c:2055:63: note: Function 'vik_track_marshall' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.10+git20250612.b98e55e/src/viktrack.c:318:10: style: Variable 'tpl' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:392:12: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:411:12: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:432:10: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:495:10: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:636:10: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:647:52: style: Parameter 't' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:762:24: style: Variable 'trkpt_last' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:790:43: style: Parameter 'tr' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:1006:20: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:1060:20: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:1479:22: style: Variable 'tp1' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:1480:22: style: Variable 'tp2' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:1769:53: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:2004:75: style: Parameter 'tp' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:2040:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:2167:10: style: Variable 'tp_iter' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:2358:43: style: Parameter 'tp2' can be declared as pointer to const [constParameterPointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:2394:18: style: Variable 'tp_missing' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:2484:15: style: Variable 'cur_coord' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:2485:15: style: Variable 'prev_coord' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:2519:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:2520:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:2522:18: style: Variable 'tpa' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:2523:18: style: Variable 'tpb' can be declared as pointer to const [constVariablePointer] viking-1.10+git20250612.b98e55e/src/viktrack.c:873:34: style: Variable 'speed' is assigned a value that is never used. [unreadVariable] viking-1.10+git20250612.b98e55e/src/viktrack.c:1383:16: style: Variable 'current_dist' is assigned a value that is never used. [unreadVariable] viking-1.10+git20250612.b98e55e/src/viktrack.c:1384:28: style: Variable 'current_area_under_curve' is assigned a value that is never used. [unreadVariable] viking-1.10+git20250612.b98e55e/src/viktrack.c:1458:20: style: Variable 'current_dist' is assigned a value that is never used. [unreadVariable] viking-1.10+git20250612.b98e55e/src/viktrack.c:1901:33: style: Variable 'speed' is assigned a value that is never used. [unreadVariable] diff: 2.18.0 viking-1.10+git20250612.b98e55e/src/acquire.c:109:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/acquire.c:178:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] 2.18.0 viking-1.10+git20250612.b98e55e/src/acquire.c:230:7: error: Memory leak: options [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/acquire.c:239:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/acquire.c:253:7: error: Memory leak: options [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/acquire.c:265:7: error: Memory leak: options [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/acquire.c:376:7: error: Return value of allocation function 'g_thread_try_new' is not stored. [leakReturnValNotUsed] 2.18.0 viking-1.10+git20250612.b98e55e/src/acquire.c:487:113: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/babel.c:747:110: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE is a macro then please configure it. [unknownMacro] 2.18.0 viking-1.10+git20250612.b98e55e/src/babel_ui.c:141:21: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/babel_ui.c:48:14: style: Variable 'file' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/babel_ui.c:52:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/background.c:170:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/background.c:195:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkTreeIter [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/background.c:234:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/background.c:379:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CLOSE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/background.c:411:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/background.c:418:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/background.c:71:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/bingmapsource.c:121:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bing_map_source_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/bingmapsource.c:128:30: style: Parameter 'pspec' can be declared as pointer to const. However it seems that '_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/bingmapsource.c:197:31: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/bingmapsource.c:128:30: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/bingmapsource.c:161:28: style: Parameter 'pspec' can be declared as pointer to const. However it seems that '_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/bingmapsource.c:198:31: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/bingmapsource.c:161:28: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/bingmapsource.c:164:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/bingmapsource.c:208:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/bingmapsource.c:259:48: style: Parameter 'src' can be declared as pointer to const. However it seems that 'bget_uri' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/bingmapsource.c:199:31: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/bingmapsource.c:259:48: note: Parameter 'src' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/bingmapsource.c:280:26: style: Parameter 'self' can be declared as pointer to const. However it seems that '_get_logo' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/bingmapsource.c:201:30: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/bingmapsource.c:280:26: note: Parameter 'self' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/bingmapsource.c:290:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/bingmapsource.c:406:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/bingmapsource.c:412:14: style: Condition 'offset==-1' is always false [knownConditionTrueFalse] 2.18.0 viking-1.10+git20250612.b98e55e/src/bingmapsource.c:443:25: style: Variable 'aa' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/bingmapsource.c:467:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/bingmapsource.c:481:25: style: Parameter 'data' can be declared as pointer to const. However it seems that '_emit_update' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/bingmapsource.c:499:31: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/bingmapsource.c:481:25: note: Parameter 'data' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/clipboard.c:144:10: style: Variable 'cand' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/clipboard.c:170:13: style: Variable 'latc' can be declared as const array [constVariable] 2.18.0 viking-1.10+git20250612.b98e55e/src/clipboard.c:171:13: style: Variable 'lonc' can be declared as const array [constVariable] 2.18.0 viking-1.10+git20250612.b98e55e/src/clipboard.c:246:61: style: Parameter 'coord' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/clipboard.c:255:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/clipboard.c:267:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/clipboard.c:302:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/clipboard.c:361:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_TARGET_STRING [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/clipboard.c:434:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/clipboard.c:452:1: error: Memory leak: vc [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/clipboard.c:452:1: error: Memory leak: vc.text [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/clipboard.c:462:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/clipboard.c:476:20: style: Variable 'vc' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/clipboard.c:524:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/compression.c:218:25: style: Parameter 'zip_file' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/compression.c:218:43: style: Parameter 'unzip_size' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/compression.c:297:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GInputStream [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/compression.c:394:9: style: Variable 'tmp_name' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/compression.c:503:9: style: Variable 'tmp_name' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/compression.c:537:9: style: Variable 'tmp_name' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/compression.c:89:61: style: Parameter 'top' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/compression.c:90:55: style: Parameter 'vp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/compression.c:91:55: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/curl_download.c:108:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_GLOBAL_ALL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/curl_download.c:146:77: style: Parameter 'options' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/curl_download.c:148:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/curl_download.c:179:114: style: Parameter 'cdo' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/curl_download.c:179:114: style:inconclusive: Function 'curl_download_uri' argument 4 names different: declaration 'curl_options' definition 'cdo'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/curl_download.h:58:114: note: Function 'curl_download_uri' argument 4 names different: declaration 'curl_options' definition 'cdo'. viking-1.10+git20250612.b98e55e/src/curl_download.c:179:114: note: Function 'curl_download_uri' argument 4 names different: declaration 'curl_options' definition 'cdo'. 2.18.0 viking-1.10+git20250612.b98e55e/src/curl_download.c:179:60: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/curl_download.c:183:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLE_FAILED_INIT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/curl_download.c:275:154: style:inconclusive: Function 'curl_download_get_url' argument 6 names different: declaration 'curl_options' definition 'cdo'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/curl_download.h:57:154: note: Function 'curl_download_get_url' argument 6 names different: declaration 'curl_options' definition 'cdo'. viking-1.10+git20250612.b98e55e/src/curl_download.c:275:154: note: Function 'curl_download_get_url' argument 6 names different: declaration 'curl_options' definition 'cdo'. 2.18.0 viking-1.10+git20250612.b98e55e/src/curl_download.c:311:41: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'WriteMemoryCallback' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/curl_download.c:344:51: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/curl_download.c:311:41: note: Parameter 'ptr' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/curl_download.c:343:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_WRITEDATA [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/curl_download.c:356:27: error: Dereferencing 'curl' after it is deallocated / released [deallocuse] 2.18.0 viking-1.10+git20250612.b98e55e/src/curl_download.c:358:27: error: Dereferencing 'curl' after it is deallocated / released [deallocuse] 2.18.0 viking-1.10+git20250612.b98e55e/src/curl_download.c:61:37: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'curl_write_func' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/curl_download.c:191:51: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/curl_download.c:61:37: note: Parameter 'ptr' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/curl_download.c:66:40: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'curl_get_etag_func' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/curl_download.c:208:58: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/curl_download.c:66:40: note: Parameter 'ptr' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/curl_download.c:74:11: style: Variable 'etag_str' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/curl_download.c:75:11: style: Variable 'end_str' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/curl_download.c:76:9: style: Condition 'etag_str' is always true [knownConditionTrueFalse] 2.18.0 viking-1.10+git20250612.b98e55e/src/curl_download.c:78:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_bfilter.c:219:80: style: Parameter 'paramdatas' can be declared as pointer to const. However it seems that 'datasource_bfilter_manual_get_process_options' is a callback function, if 'paramdatas' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/datasource_bfilter.c:235:40: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/datasource_bfilter.c:219:80: note: Parameter 'paramdatas' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_bfilter.c:54:23: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_file.c:120:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_file.c:168:10: style: Variable 'type' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_file.c:170:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_file.c:76:51: style: Parameter 'avt' can be declared as pointer to const. However it seems that 'datasource_file_init' is a callback function, if 'avt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/datasource_file.c:58:28: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/datasource_file.c:76:51: note: Parameter 'avt' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_geojson.c:111:86: style:inconclusive: Function 'datasource_geojson_get_process_options' argument 1 names different: declaration 'user_data' definition 'userdata'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/datasource_geojson.c:37:86: note: Function 'datasource_geojson_get_process_options' argument 1 names different: declaration 'user_data' definition 'userdata'. viking-1.10+git20250612.b98e55e/src/datasource_geojson.c:111:86: note: Function 'datasource_geojson_get_process_options' argument 1 names different: declaration 'user_data' definition 'userdata'. 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_geojson.c:154:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_geojson.c:76:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_geotag.c:163:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_geotag.c:79:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_gps.c:144:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_gps.c:216:9: style: Variable 'device' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_gps.c:217:9: style: Variable 'tracks' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_gps.c:218:9: style: Variable 'routes' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_gps.c:219:9: style: Variable 'waypoints' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_gps.c:269:43: style:inconclusive: Function 'datasource_gps_off' argument 1 names different: declaration 'add_widgets_data_not_used' definition 'user_data'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/datasource_gps.c:46:43: note: Function 'datasource_gps_off' argument 1 names different: declaration 'add_widgets_data_not_used' definition 'user_data'. viking-1.10+git20250612.b98e55e/src/datasource_gps.c:269:43: note: Function 'datasource_gps_off' argument 1 names different: declaration 'add_widgets_data_not_used' definition 'user_data'. 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_gps.c:269:81: style:inconclusive: Function 'datasource_gps_off' argument 3 names different: declaration 'input_file' definition 'file_descriptor'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/datasource_gps.c:46:97: note: Function 'datasource_gps_off' argument 3 names different: declaration 'input_file' definition 'file_descriptor'. viking-1.10+git20250612.b98e55e/src/datasource_gps.c:269:81: note: Function 'datasource_gps_off' argument 3 names different: declaration 'input_file' definition 'file_descriptor'. 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_gps.c:272:9: style: Variable 'device' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_gps.c:287:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_gps.c:516:8: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_gps.c:517:8: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_osm.c:100:126: style: Parameter 'options' can be declared as pointer to const. However it seems that 'datasource_osm_get_process_options' is a callback function, if 'options' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/datasource_osm.c:63:41: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/datasource_osm.c:100:126: note: Parameter 'options' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_osm.c:124:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_osm_my_traces.c:120:121: style: Parameter 'options' can be declared as pointer to const. However it seems that 'datasource_osm_my_traces_get_process_options' is a callback function, if 'options' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/datasource_osm_my_traces.c:61:40: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/datasource_osm_my_traces.c:120:121: note: Parameter 'options' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_osm_my_traces.c:130:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_osm_my_traces.c:246:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_osm_my_traces.c:344:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_STATUS_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_osm_my_traces.c:376:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_osm_my_traces.c:510:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_osm_my_traces.c:540:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_osm_my_traces.c:544:86: style: Parameter 'process_options' can be declared as pointer to const. However it seems that 'datasource_osm_my_traces_process' is a callback function, if 'process_options' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/datasource_osm_my_traces.c:62:40: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/datasource_osm_my_traces.c:544:86: note: Parameter 'process_options' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_osm_my_traces.c:584:7: style: Condition 'tmpname' is always true [knownConditionTrueFalse] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_osm_my_traces.c:677:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_routing.c:113:134: style: Parameter 'options' can be declared as pointer to const. However it seems that 'datasource_routing_get_process_options' is a callback function, if 'options' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/datasource_routing.c:59:41: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/datasource_routing.c:113:134: note: Parameter 'options' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_routing.c:128:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_routing.c:73:54: style: Parameter 'avt' can be declared as pointer to const. However it seems that 'datasource_routing_init' is a callback function, if 'avt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/datasource_routing.c:56:28: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/datasource_routing.c:73:54: note: Parameter 'avt' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_url.c:153:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/datasource_url.c:68:50: style: Parameter 'avt' can be declared as pointer to const. However it seems that 'datasource_url_init' is a callback function, if 'avt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/datasource_url.c:52:40: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/datasource_url.c:68:50: note: Parameter 'avt' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/dem.c:155:73: style: Parameter 'cur_column' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/dem.c:158:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_points [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dem.c:220:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable east_west [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dem.c:281:5: error: Memory leak: dem.columns [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/dem.c:310:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dem.c:411:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable east_west [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dem.c:427:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable points [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dem.c:433:44: style:inconclusive: Function 'vik_dem_get_xy' argument 2 names different: declaration 'x' definition 'col'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/dem.h:71:44: note: Function 'vik_dem_get_xy' argument 2 names different: declaration 'x' definition 'col'. viking-1.10+git20250612.b98e55e/src/dem.c:433:44: note: Function 'vik_dem_get_xy' argument 2 names different: declaration 'x' definition 'col'. 2.18.0 viking-1.10+git20250612.b98e55e/src/dem.c:433:55: style:inconclusive: Function 'vik_dem_get_xy' argument 3 names different: declaration 'y' definition 'row'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/dem.h:71:53: note: Function 'vik_dem_get_xy' argument 3 names different: declaration 'y' definition 'row'. viking-1.10+git20250612.b98e55e/src/dem.c:433:55: note: Function 'vik_dem_get_xy' argument 3 names different: declaration 'y' definition 'row'. 2.18.0 viking-1.10+git20250612.b98e55e/src/dem.c:436:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_points [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dem.c:569:41: style: Parameter 'dem' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/dems.c:153:34: style: Parameter 'dems' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/dems.c:174:10: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/dems.c:272:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/dems.c:272:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:1008:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdk_pixbuf_version [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:1105:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:1141:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NEWS [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:143:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:159:14: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:201:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:223:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:293:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:341:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:373:16: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:373:16: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:373:16: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:384: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] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:39:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:403:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:441:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:451:21: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:490:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:570:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:63:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:644:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:654:16: style: Variable 'result' is assigned a value that is never used. [unreadVariable] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:693:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:703:15: style: Variable 'result' is assigned a value that is never used. [unreadVariable] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:755:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:776:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:886:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:89:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/dialog.c:934:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/download.c:136:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/download.c:142:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/download.c:145:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/download.c:230:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/download.c:259:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/download.c:276:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/download.c:285:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/download.c:308:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/download.c:313:68: style: Parameter 'cdo' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/download.c:325:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/download.c:334:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/download.c:346:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/download.c:518:61: error: Invalid g_file_open_tmp() argument nr 2. A nul-terminated string is required. [invalidFunctionArgStr] 2.18.0 viking-1.10+git20250612.b98e55e/src/expedia.c:164:58: style: Parameter 'src' can be declared as pointer to const. However it seems that 'expedia_mapcoord_to_center_coord' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/expedia.c:51:117: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/expedia.c:164:58: note: Parameter 'src' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/expedia.c:171:54: style: Parameter 'src' can be declared as pointer to const. However it seems that 'expedia_download' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/expedia.c:51:151: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/expedia.c:171:54: note: Parameter 'src' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/expedia.c:201:44: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'expedia_handle_cleanup' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/expedia.c:51:190: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/expedia.c:201:44: note: Parameter 'handle' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/file.c:181:41: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_URL is a macro then please configure it. [unknownMacro] 2.18.0 viking-1.10+git20250612.b98e55e/src/fit.c:192:9: style: Variable 'sym' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/fit.c:295:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/fit.c:458:13: style: Local variable 'ts' shadows outer variable [shadowVariable] viking-1.10+git20250612.b98e55e/src/fit.c:244:17: note: Shadowed declaration viking-1.10+git20250612.b98e55e/src/fit.c:458:13: note: Shadow variable 2.18.0 viking-1.10+git20250612.b98e55e/src/fit.c:521:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/fit.c:532:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/fit.c:552:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/fit.c:559:2: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] 2.18.0 viking-1.10+git20250612.b98e55e/src/fit.c:637:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/fit.c:651:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/fit.c:732:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/fit.c:734:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/fit.c:740:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/fit.c:784:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/fit.c:786:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/fit.c:792:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/garminsymbols.c:33:8: style: struct member 'Anonymous2::num' is never used. [unusedStructMember] 2.18.0 viking-1.10+git20250612.b98e55e/src/garminsymbols.c:34:10: style: struct member 'Anonymous2::desc' is never used. [unusedStructMember] 2.18.0 viking-1.10+git20250612.b98e55e/src/geojson.c:151:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/geojson.c:174:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fout [nullPointerOutOfResources] viking-1.10+git20250612.b98e55e/src/geojson.c:173:22: note: Assuming allocation function fails viking-1.10+git20250612.b98e55e/src/geojson.c:173:22: note: Assignment 'fout=fdopen(mystdout,"r")', assigned value is 0 viking-1.10+git20250612.b98e55e/src/geojson.c:174:11: note: Null pointer dereference 2.18.0 viking-1.10+git20250612.b98e55e/src/geojson.c:176:36: warning: If resource allocation fails, then there is a possible null pointer dereference: fout [nullPointerOutOfResources] viking-1.10+git20250612.b98e55e/src/geojson.c:173:22: note: Assuming allocation function fails viking-1.10+git20250612.b98e55e/src/geojson.c:173:22: note: Assignment 'fout=fdopen(mystdout,"r")', assigned value is 0 viking-1.10+git20250612.b98e55e/src/geojson.c:176:36: note: Null pointer dereference 2.18.0 viking-1.10+git20250612.b98e55e/src/geojson.c:203:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/geojson.c:218:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/geojson.c:245:10: style: Variable 'coord' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/geojson.c:72:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SPAWN_SEARCH_PATH [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/geojson.c:88:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fout [nullPointerOutOfResources] viking-1.10+git20250612.b98e55e/src/geojson.c:87:22: note: Assuming allocation function fails viking-1.10+git20250612.b98e55e/src/geojson.c:87:22: note: Assignment 'fout=fdopen(mystdout,"r")', assigned value is 0 viking-1.10+git20250612.b98e55e/src/geojson.c:88:11: note: Null pointer dereference 2.18.0 viking-1.10+git20250612.b98e55e/src/geojson.c:90:36: warning: If resource allocation fails, then there is a possible null pointer dereference: fout [nullPointerOutOfResources] viking-1.10+git20250612.b98e55e/src/geojson.c:87:22: note: Assuming allocation function fails viking-1.10+git20250612.b98e55e/src/geojson.c:87:22: note: Assignment 'fout=fdopen(mystdout,"r")', assigned value is 0 viking-1.10+git20250612.b98e55e/src/geojson.c:90:36: note: Null pointer dereference 2.18.0 viking-1.10+git20250612.b98e55e/src/geonames.c:35:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIK_CONFIG_GEONAMES_USERNAME [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/geonamessearch.c:103:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/geonamessearch.c:121:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/geonamessearch.c:231:17: style: Variable 'more' is assigned a value that is never used. [unreadVariable] 2.18.0 viking-1.10+git20250612.b98e55e/src/geonamessearch.c:238:10: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/geonamessearch.c:253:10: style: Variable 'more' is assigned a value that is never used. [unreadVariable] 2.18.0 viking-1.10+git20250612.b98e55e/src/geonamessearch.c:373:11: style: The if condition is the same as the previous if condition [duplicateCondition] viking-1.10+git20250612.b98e55e/src/geonamessearch.c:363:11: note: First condition viking-1.10+git20250612.b98e55e/src/geonamessearch.c:373:11: note: Second condition 2.18.0 viking-1.10+git20250612.b98e55e/src/geonamessearch.c:426:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIK_CONFIG_GEONAMES_USERNAME [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/geonamessearch.c:63:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/geotag_exif.c:775:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/geotag_exif.c:894:7: style: The if condition is the same as the previous if condition [duplicateCondition] viking-1.10+git20250612.b98e55e/src/geotag_exif.c:773:7: note: First condition viking-1.10+git20250612.b98e55e/src/geotag_exif.c:894:7: note: Second condition 2.18.0 viking-1.10+git20250612.b98e55e/src/globals.c:122:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/globals.c:157:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/globals.c:158:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/globals.c:161:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/globals.c:235:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/globals.c:249:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/globals.c:47:40: style: Parameter 'version' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/globals.c:53:10: style: Variable 'part' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/globals.c:78:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/globals.c:80:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/globals.c:81:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/globals.c:82:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/globals.c:91:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/globals.c:98:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/googlesearch.c:142:73: style: Parameter 'self' can be declared as pointer to const. However it seems that 'google_goto_tool_parse_file_for_candidates' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/googlesearch.c:56:45: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/googlesearch.c:142:73: note: Parameter 'self' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/googlesearch.c:142:86: style: Parameter 'file_name' can be declared as pointer to const. However it seems that 'google_goto_tool_parse_file_for_candidates' is a callback function, if 'file_name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/googlesearch.c:56:45: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/googlesearch.c:142:86: note: Parameter 'file_name' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/googlesearch.c:142:86: style:inconclusive: Function 'google_goto_tool_parse_file_for_candidates' argument 2 names different: declaration 'filename' definition 'file_name'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/googlesearch.c:38:86: note: Function 'google_goto_tool_parse_file_for_candidates' argument 2 names different: declaration 'filename' definition 'file_name'. viking-1.10+git20250612.b98e55e/src/googlesearch.c:142:86: note: Function 'google_goto_tool_parse_file_for_candidates' argument 2 names different: declaration 'filename' definition 'file_name'. 2.18.0 viking-1.10+git20250612.b98e55e/src/googlesearch.c:147:62: style: Parameter 'self' can be declared as pointer to const. However it seems that 'google_goto_tool_get_url_format' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/googlesearch.c:53:34: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/googlesearch.c:147:62: note: Parameter 'self' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/googlesearch.c:152:75: style: Parameter 'self' can be declared as pointer to const. However it seems that 'google_goto_tool_get_download_options' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/googlesearch.c:54:40: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/googlesearch.c:152:75: note: Parameter 'self' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/googlesearch.c:64:53: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/googlesearch.c:73:82: style:inconclusive: Function 'google_goto_tool_parse_file_for_latlon' argument 2 names different: declaration 'filename' definition 'file_name'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/googlesearch.c:37:82: note: Function 'google_goto_tool_parse_file_for_latlon' argument 2 names different: declaration 'filename' definition 'file_name'. viking-1.10+git20250612.b98e55e/src/googlesearch.c:73:82: note: Function 'google_goto_tool_parse_file_for_latlon' argument 2 names different: declaration 'filename' definition 'file_name'. 2.18.0 viking-1.10+git20250612.b98e55e/src/gpsmapper.c:140:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpsmapper.c:33:10: style: Variable 'layers' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpspoint.c:184:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpspoint.c:471:17: style: Variable 'value_start' is assigned a value that is never used. [unreadVariable] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpspoint.c:471:29: style: Variable 'value_end' is assigned a value that is never used. [unreadVariable] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpspoint.c:713:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpspoint.c:907:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:1160:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:1355:47: style:inconclusive: Function 'a_gpx_read_file' argument 1 names different: declaration 'trw' definition 'vtl'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/gpx.h:58:48: note: Function 'a_gpx_read_file' argument 1 names different: declaration 'trw' definition 'vtl'. viking-1.10+git20250612.b98e55e/src/gpx.c:1355:47: note: Function 'a_gpx_read_file' argument 1 names different: declaration 'trw' definition 'vtl'. 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:1358:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_STATUS_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:1471:14: style: struct member 'entity_types::not_html' is never used. [unusedStructMember] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:1712:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:1777:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:1785:26: style: Redundant condition: context->options. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:1814:12: style: Local variable 'tmp' shadows outer variable [shadowVariable] viking-1.10+git20250612.b98e55e/src/gpx.c:1763:10: note: Shadowed declaration viking-1.10+git20250612.b98e55e/src/gpx.c:1814:12: note: Shadow variable 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:1817:16: style: Variable 'rtmp' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:1912:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:1926:26: style: Redundant condition: context->options. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:1987:35: style: Variable 'first_tp_is_newsegment' is assigned a value that is never used. [unreadVariable] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2019:10: style: Variable 'header' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2024:16: style: Redundant condition: header. '!header || (header && g_strrstr(header,"xmlns:gpxx="))' is equivalent to '!header || g_strrstr(header,"xmlns:gpxx=")' [redundantCondition] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2055:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable newsegment [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2089:12: style: Variable 'header' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2123:11: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] viking-1.10+git20250612.b98e55e/src/gpx.c:2287:20: note: Assuming allocation function fails viking-1.10+git20250612.b98e55e/src/gpx.c:2287:20: note: Assignment 'ff=fdopen(fd,"w")', assigned value is 0 viking-1.10+git20250612.b98e55e/src/gpx.c:2290:38: note: Calling function 'a_gpx_write_track_file', 3rd argument 'ff' value is 0 viking-1.10+git20250612.b98e55e/src/gpx.c:2268:22: note: Calling function 'gpx_write_footer', 1st argument 'f' value is 0 viking-1.10+git20250612.b98e55e/src/gpx.c:2123:11: note: Null pointer dereference 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2128:16: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2129:16: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2135:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2136:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2140:38: style:inconclusive: Function 'a_gpx_write_file' argument 1 names different: declaration 'trw' definition 'vtl'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/gpx.h:59:38: note: Function 'a_gpx_write_file' argument 1 names different: declaration 'trw' definition 'vtl'. viking-1.10+git20250612.b98e55e/src/gpx.c:2140:38: note: Function 'a_gpx_write_file' argument 1 names different: declaration 'trw' definition 'vtl'. 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2155:19: style: Variable 'md' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2190:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2200:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2247:12: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2263:44: style:inconclusive: Function 'a_gpx_write_track_file' argument 1 names different: declaration 'trw' definition 'vtl'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/gpx.h:60:44: note: Function 'a_gpx_write_track_file' argument 1 names different: declaration 'trw' definition 'vtl'. viking-1.10+git20250612.b98e55e/src/gpx.c:2263:44: note: Function 'a_gpx_write_track_file' argument 1 names different: declaration 'trw' definition 'vtl'. 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2285:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2294:10: warning: If resource allocation fails, then there is a possible null pointer dereference: ff [nullPointerOutOfResources] viking-1.10+git20250612.b98e55e/src/gpx.c:2287:20: note: Assuming allocation function fails viking-1.10+git20250612.b98e55e/src/gpx.c:2287:20: note: Assignment 'ff=fdopen(fd,"w")', assigned value is 0 viking-1.10+git20250612.b98e55e/src/gpx.c:2294:10: note: Null pointer dereference 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2330:16: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2331:16: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2337:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2338:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2344:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2345:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:2374:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:558:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:558:7: warning: Either the condition 'lap' is redundant or there is possible null pointer dereference: lap. [nullPointerRedundantCheck] viking-1.10+git20250612.b98e55e/src/gpx.c:561:12: note: Assuming that condition 'lap' is not redundant viking-1.10+git20250612.b98e55e/src/gpx.c:558:7: note: Null pointer dereference 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:559:7: warning: Either the condition 'lap' is redundant or there is possible null pointer dereference: lap. [nullPointerRedundantCheck] viking-1.10+git20250612.b98e55e/src/gpx.c:561:12: note: Assuming that condition 'lap' is not redundant viking-1.10+git20250612.b98e55e/src/gpx.c:559:7: note: Null pointer dereference 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:560:7: warning: Either the condition 'lap' is redundant or there is possible null pointer dereference: lap. [nullPointerRedundantCheck] viking-1.10+git20250612.b98e55e/src/gpx.c:561:12: note: Assuming that condition 'lap' is not redundant viking-1.10+git20250612.b98e55e/src/gpx.c:560:7: note: Null pointer dereference 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:610:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:648:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:946:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:955:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/gpx.c:959:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/jpg.c:59:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/jpg.c:77:7: style: Condition 'wp' is always false [knownConditionTrueFalse] viking-1.10+git20250612.b98e55e/src/jpg.c:73:20: note: Assignment 'wp=NULL', assigned value is 0 viking-1.10+git20250612.b98e55e/src/jpg.c:77:7: note: Condition 'wp' is always false 2.18.0 viking-1.10+git20250612.b98e55e/src/jpg.c:97:7: style: Condition 'auto_zoom' is always false [knownConditionTrueFalse] viking-1.10+git20250612.b98e55e/src/jpg.c:90:15: note: Assignment 'auto_zoom=0', assigned value is 0 viking-1.10+git20250612.b98e55e/src/jpg.c:97:7: note: Condition 'auto_zoom' is always false 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:196:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:242:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:268:19: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:305:11: style: Variable 'endptr' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:314:11: style: Variable 'vp' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:315:35: warning: Either the condition 'cp==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] viking-1.10+git20250612.b98e55e/src/kml.c:324:20: note: Assuming that condition 'cp==NULL' is not redundant viking-1.10+git20250612.b98e55e/src/kml.c:315:35: note: Null pointer addition 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:316:11: warning: Either the condition 'cp==NULL' is redundant or there is possible null pointer dereference: cp. [nullPointerRedundantCheck] viking-1.10+git20250612.b98e55e/src/kml.c:324:20: note: Assuming that condition 'cp==NULL' is not redundant viking-1.10+git20250612.b98e55e/src/kml.c:316:11: note: Null pointer dereference 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:370:18: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:436:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:469:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:500:19: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:523:16: style: Variable 'dd' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:524:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:528:6: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:528:6: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:538:13: style: Variable 'lts' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:544:6: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:544:6: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:553:13: style: Variable 'lts' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:559:6: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:559:6: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:570:16: style: Variable 'dd' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:575:6: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:575:6: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:603:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:829:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:85:53: style: Parameter 'color' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:902:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_FALSE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:907:33: style: Parameter 'xd' can be declared as pointer to const. However it seems that 'kml_end' is a callback function, if 'xd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/kml.c:957:93: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/kml.c:907:33: note: Parameter 'xd' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/kml.c:931:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_STATUS_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/kmz.c:102:32: style: Parameter 'pixbuf' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/kmz.c:172:12: style: struct member 'xtag_mapping::tag_type' is never used. [unusedStructMember] 2.18.0 viking-1.10+git20250612.b98e55e/src/kmz.c:173:14: style: struct member 'xtag_mapping::tag_name' is never used. [unusedStructMember] 2.18.0 viking-1.10+git20250612.b98e55e/src/kmz.c:450:57: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/kmz.c:450:78: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/libgeoclue.c:100:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCLUE_ACCURACY_LEVEL_NONE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/libgeoclue.c:57:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/logging.c:101:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/logging.c:233:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_lock [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/logging.c:270:44: style: Parameter 'tree_view' can be declared as pointer to const. However it seems that 'menu_popup_cb' is a callback function, if 'tree_view' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/logging.c:352:2: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/logging.c:270:44: note: Parameter 'tree_view' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/logging.c:317:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_lock [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/logging.c:363:26: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/logging.c:387:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/logging.c:394:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/logging.c:69:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/logging.c:78:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/main.c:115:7: error: Memory leak: zs [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/main.c:116:5: error: Memory leak: exts [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/main.c:120:5: error: Memory leak: regex [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/main.c:135:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/main.c:92:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_REGEX_CASELESS [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/main.c:95:5: error: Memory leak: regex [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/mapcache.c:182:16: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/mapcache.c:200:16: style: Variable 'oldkey' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/mapcache.c:230:3: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/mapcache.c:248:3: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/mapcache.c:259:37: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/mapcache.c:313:3: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/mapcache.c:66:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head viking-1.10+git20250612.b98e55e/src/misc/fpconv.c:137:15: style: Variable 'divp' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/modules.c:100:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/modules.c:108:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/modules.c:191:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIKING_SYSCONFDIR [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/modules.c:75:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/modules.c:84:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/modules.c:92:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/osm-traces.c:420:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_ERROR_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/osm-traces.c:420:8: style: Variable 'curl_error_buffer' can be declared as const array [constVariable] 2.18.0 viking-1.10+git20250612.b98e55e/src/osm-traces.c:505:45: error: Uninitialized variable: curl_error_buffer [uninitvar] 2.18.0 viking-1.10+git20250612.b98e55e/src/osm-traces.c:567:14: style: Variable 'timeinfo' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/osm-traces.c:569:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 viking-1.10+git20250612.b98e55e/src/osm-traces.c:578:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/osm-traces.c:614:22: style: Variable 'pref_user' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/osm-traces.c:615:22: style: Variable 'pref_password' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/osm-traces.c:656:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/osm-traces.c:674:26: style: Condition 'osm_use_basic_auth()' is always true [knownConditionTrueFalse] viking-1.10+git20250612.b98e55e/src/osm-traces.c:642:25: note: Assignment 'basic_auth=!0', assigned value is 1 viking-1.10+git20250612.b98e55e/src/osm-traces.c:674:26: note: Calling function 'osm_use_basic_auth' returns 1 viking-1.10+git20250612.b98e55e/src/osm-traces.c:674:26: note: Condition 'osm_use_basic_auth()' is always true 2.18.0 viking-1.10+git20250612.b98e55e/src/osm-traces.c:736:19: style: Variable 'md' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/osm-traces.c:783:28: style: Condition 'osm_use_basic_auth()' is always true [knownConditionTrueFalse] viking-1.10+git20250612.b98e55e/src/osm-traces.c:642:25: note: Assignment 'basic_auth=!0', assigned value is 1 viking-1.10+git20250612.b98e55e/src/osm-traces.c:783:28: note: Calling function 'osm_use_basic_auth' returns 1 viking-1.10+git20250612.b98e55e/src/osm-traces.c:783:28: note: Condition 'osm_use_basic_auth()' is always true 2.18.0 viking-1.10+git20250612.b98e55e/src/osm.c:63:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIK_CONFIG_THUNDERFOREST_KEY [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/preferences.c:145:138: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/preferences.c:145:27: style: Variable 'val' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/preferences.c:158:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/preferences.c:265:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/preferences.c:284:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/preferences.c:363:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/preferences.c:411:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/preferences.c:411:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/preferences.c:439:48: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] 2.18.0 viking-1.10+git20250612.b98e55e/src/preferences.c:94:29: style: Variable 'oldval' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/print-preview.c:149:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/print-preview.c:183:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_print_preview_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/print-preview.c:342:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_FLEUR [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/print-preview.c:365:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON1_MOTION_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/print-preview.c:428:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/print-preview.c:86:28: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/print-preview.c:86:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/print.c:112:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/print.c:134:42: style: Parameter 'operation' can be declared as pointer to const. However it seems that 'end_print' is a callback function, if 'operation' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/print.c:106:3: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/print.c:134:42: note: Parameter 'operation' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/print.c:135:42: style: Parameter 'context' can be declared as pointer to const. However it seems that 'end_print' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/print.c:106:3: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/print.c:135:42: note: Parameter 'context' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/print.c:136:34: style: Parameter 'data' can be declared as pointer to const. However it seems that 'end_print' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/print.c:106:3: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/print.c:136:34: note: Parameter 'data' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/print.c:145:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/print.c:161:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/print.c:206:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_RGB24 [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/print.c:38:19: style: struct member 'PrintCenterName::mode' is never used. [unusedStructMember] 2.18.0 viking-1.10+git20250612.b98e55e/src/print.c:51:23: style: struct member 'PrintData::show_info_header' is never used. [unusedStructMember] 2.18.0 viking-1.10+git20250612.b98e55e/src/print.c:554:12: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/print.c:558:15: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/print.c:562:15: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/print.c:565: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] 2.18.0 viking-1.10+git20250612.b98e55e/src/print.c:580: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] 2.18.0 viking-1.10+git20250612.b98e55e/src/print.c:609: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] 2.18.0 viking-1.10+git20250612.b98e55e/src/print.c:612: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] 2.18.0 viking-1.10+git20250612.b98e55e/src/socket.c:208:35: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/tcx.c:173:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/tcx.c:231:21: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/tcx.c:281:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/tcx.c:467:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_STATUS_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/tcx.c:514:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_STATUS_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:101:50: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'terraserver_map_source_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:127:34: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:101:50: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:103:32: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:143:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT8 [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:184:71: style:inconclusive: Function '_coord_to_mapcoord' argument 3 names different: declaration 'xzoom' definition 'xmpp'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:28:87: note: Function '_coord_to_mapcoord' argument 3 names different: declaration 'xzoom' definition 'xmpp'. viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:184:71: note: Function '_coord_to_mapcoord' argument 3 names different: declaration 'xzoom' definition 'xmpp'. 2.18.0 viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:184:85: style:inconclusive: Function '_coord_to_mapcoord' argument 4 names different: declaration 'yzoom' definition 'ympp'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:28:102: note: Function '_coord_to_mapcoord' argument 4 names different: declaration 'yzoom' definition 'ympp'. viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:184:85: note: Function '_coord_to_mapcoord' argument 4 names different: declaration 'yzoom' definition 'ympp'. 2.18.0 viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:188:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:207:40: style: Parameter 'self' can be declared as pointer to const. However it seems that '_is_direct_file_access' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:132:45: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:207:40: note: Parameter 'self' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:213:29: style: Parameter 'self' can be declared as pointer to const. However it seems that '_is_mbtiles' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:133:34: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:213:29: note: Parameter 'self' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:219:59: style: Parameter 'src' can be declared as pointer to const. However it seems that '_mapcoord_to_center_coord' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:131:48: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:219:59: note: Parameter 'src' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:230:48: style: Parameter 'src' can be declared as pointer to const. However it seems that '_get_uri' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:135:26: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:230:48: note: Parameter 'src' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:234:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:242:37: style: Parameter 'self' can be declared as pointer to const. However it seems that '_get_hostname' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:136:31: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:242:37: note: Parameter 'self' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:250:45: style: Parameter 'self' can be declared as pointer to const. However it seems that '_get_download_options' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:137:39: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:250:45: note: Parameter 'self' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:271:8: style: Variable 'copyright' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:73:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable terraserver_map_source_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:80:52: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'terraserver_map_source_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:126:31: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/terraservermapsource.c:80:52: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/thumbnails.c:128:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/thumbnails.c:189:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/thumbnails.c:261:42: style:inconclusive: Function 'a_thumbnails_get' argument 1 names different: declaration 'filename' definition 'pathname'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/thumbnails.h:35:42: note: Function 'a_thumbnails_get' argument 1 names different: declaration 'filename' definition 'pathname'. viking-1.10+git20250612.b98e55e/src/thumbnails.c:261:42: note: Function 'a_thumbnails_get' argument 1 names different: declaration 'filename' definition 'pathname'. 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:1054:152: debug: Function::addArguments found argument 'reload_cb' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:1070:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:1169:17: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:1176:9: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:1203:124: debug: Function::addArguments found argument 'reload_cb' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:1207:10: style: Variable 'sl' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:1225:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reload_cb [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:160:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:273:82: style: Parameter 'action' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:278:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkToggleActionEntry [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:302:18: style: Variable 'an_action' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:342:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TOOLBAR_ICONS [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:357:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_SMALL_TOOLBAR [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:421:43: style: Parameter 'vtb' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:433:39: debug: Function::addArguments found argument 'reload_cb' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:493:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reload_cb [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:512:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TOOLBAR_ICONS [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:533:27: debug: Function::addArguments found argument 'tool_cb' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:540:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:544:16: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:547:19: style: Variable 'action' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:561:10: style: Variable 'gl' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:563:25: style: Variable 'action' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:578:24: style: Variable 'action' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:594:24: style: Variable 'action' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:68:54: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:744:13: style: Variable 'action' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:759:4: error: Memory leak: label_clean [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:883:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable target [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:902:10: style: Variable 'text' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:925:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_VIEW_DROP_BEFORE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/toolbar.c:991:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/ui_util.c:111:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CURRENT_TIME [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/ui_util.c:141:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/ui_util.c:218:38: style: Parameter 'color' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/ui_util.c:220:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/ui_util.c:329:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/ui_util.c:347:12: style: Variable 'alpha' is assigned a value that is never used. [unreadVariable] 2.18.0 viking-1.10+git20250612.b98e55e/src/ui_util.c:348:10: style: Variable 'px' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/ui_util.c:419:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/ui_util.c:591:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_EXPAND [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/ui_util.c:694:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/ui_util.c:716:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_LOOKUP_FORCE_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/ui_util.c:794:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_CLEAR [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/ui_util.c:94:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CURRENT_TIME [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/uibuilder.c:261:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/uibuilder.c:341:14: error: Overlapping read/write of union is undefined behavior [overlappingWriteUnion] 2.18.0 viking-1.10+git20250612.b98e55e/src/uibuilder.c:364:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/uibuilder.c:37:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/uibuilder.c:38:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/uibuilder.c:434:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/uibuilder.c:499:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/uibuilder.c:680:119: style: Parameter 'params' can be declared as pointer to const. However it seems that 'uibuilder_run_setparam' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/uibuilder.c:710:19: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/uibuilder.c:680:119: note: Parameter 'params' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/uibuilder.c:692:70: style: Parameter 'params_defaults' can be declared as pointer to const. However it seems that 'uibuilder_run_getparam' is a callback function, if 'params_defaults' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/uibuilder.c:713:19: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/uibuilder.c:692:70: note: Parameter 'params_defaults' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/uibuilder.c:727:82: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/uibuilder.c:755:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vik_compat.c:27:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMutex [valueFlowBailoutIncompleteVar] head viking-1.10+git20250612.b98e55e/src/vik_compat.h:39:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head viking-1.10+git20250612.b98e55e/src/vik_compat.h:39:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1011:84: style: Parameter 'ul' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1011:98: style: Parameter 'br' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1015:24: style: Variable 'shrinkfactor' is assigned a value that is never used. [unreadVariable] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1034:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1045:31: style: Condition 'ulm.x==xmin' is always false [knownConditionTrueFalse] viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1025:21: note: xmin is assigned '(ulm.x<(brm.x))?(ulm.x):(brm.x)' here. viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1032:16: note: Assuming condition is false viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1045:31: note: Condition 'ulm.x==xmin' is always false 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1046:31: style: Condition 'ulm.y==ymin' is always false [knownConditionTrueFalse] viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1026:21: note: ymin is assigned '(ulm.y<(brm.y))?(ulm.y):(brm.y)' here. viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1032:16: note: Assuming condition is false viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1046:31: note: Condition 'ulm.y==ymin' is always false 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1047:29: style: Condition 'xinc==1' is always false [knownConditionTrueFalse] viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1045:40: note: Assignment 'xinc=(ulm.x==xmin)?1:-1', assigned value is -1 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1047:29: note: Condition 'xinc==1' is always false 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1048:29: style: Condition 'yinc==1' is always false [knownConditionTrueFalse] viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1046:40: note: Assignment 'yinc=(ulm.y==ymin)?1:-1', assigned value is -1 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1048:29: note: Condition 'yinc==1' is always false 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1054:22: style: Variable 'yy' is assigned a value that is never used. [unreadVariable] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1080:22: style: Condition 'xinc==1' is always false [knownConditionTrueFalse] viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1045:40: note: Assignment 'xinc=(ulm.x==xmin)?1:-1', assigned value is -1 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1080:22: note: Condition 'xinc==1' is always false 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1082:24: style: Condition 'yinc==1' is always false [knownConditionTrueFalse] viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1046:40: note: Assignment 'yinc=(ulm.y==ymin)?1:-1', assigned value is -1 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1082:24: note: Condition 'yinc==1' is always false 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1163:21: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:117:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1211:24: style: Condition 'xinc==1' is always false [knownConditionTrueFalse] viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1045:40: note: Assignment 'xinc=(ulm.x==xmin)?1:-1', assigned value is -1 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1211:24: note: Condition 'xinc==1' is always false 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1217:24: style: Condition 'yinc==1' is always false [knownConditionTrueFalse] viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1046:40: note: Assignment 'yinc=(ulm.y==ymin)?1:-1', assigned value is -1 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1217:24: note: Condition 'yinc==1' is always false 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1246:83: style: Parameter 'center' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1248:18: style: Variable 'll' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1302:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:137:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1450:13: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1451:13: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1467:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1474:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1501:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1508:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1519:77: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'aggregate_layer_waypoint_create_list' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1543:74: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1519:77: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1542:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1550:75: style: Parameter 'date_str' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1553:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1584:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1601:74: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'aggregate_layer_track_create_list' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1659:62: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1601:74: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1609:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1630:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1655:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1667:15: style: Variable 'vl' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1691:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1720:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1732:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1798:61: style: Parameter 'coord' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1804:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1844:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1853:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1882:14: style: Redundant initialization for 'tmpx'. The initialized value is overwritten before it is read. [redundantInitialization] viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1880:13: note: tmpx is initialized viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1882:14: note: tmpx is overwritten 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1888:14: style: Local variable 'tmpy' shadows outer variable [shadowVariable] viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1881:8: note: Shadowed declaration viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1888:14: note: Shadow variable 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1982:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1982:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1984:34: style:inconclusive: Same expression used in consecutive assignments of 'brx' and 'bry'. [duplicateAssignExpression] viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1984:48: note: Same expression used in consecutive assignments of 'brx' and 'bry'. viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:1984:34: note: Same expression used in consecutive assignments of 'brx' and 'bry'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2060:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2060:3: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2070:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2070:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2083:34: style:inconclusive: Same expression used in consecutive assignments of 'brx' and 'bry'. [duplicateAssignExpression] viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2083:48: note: Same expression used in consecutive assignments of 'brx' and 'bry'. viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2083:34: note: Same expression used in consecutive assignments of 'brx' and 'bry'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2157:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2157:3: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2169:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2169:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2176:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2184:11: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2206:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2206:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2208:34: style:inconclusive: Same expression used in consecutive assignments of 'brx' and 'bry'. [duplicateAssignExpression] viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2208:48: note: Same expression used in consecutive assignments of 'brx' and 'bry'. viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2208:34: note: Same expression used in consecutive assignments of 'brx' and 'bry'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2276:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2276:3: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2295:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2295:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2336:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2336:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2355:15: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2424:22: style: Variable 'tracks_processed' is assigned a value that is never used. [unreadVariable] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2431:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2503:22: warning: Either the condition 'trk->trackpoints' is redundant or there is possible null pointer dereference: trk->trackpoints. [nullPointerRedundantCheck] viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2504:17: note: Assuming that condition 'trk->trackpoints' is not redundant viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2503:22: note: Null pointer dereference 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2503:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2553:121: style: Parameter 'stamp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2561:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2627:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2650:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2929:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2982:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:2994:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3006:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3024:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3132:80: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3183:61: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3183:75: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3203:74: style: Parameter 'mc' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3224:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3272:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3280:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3289:20: warning: Either the condition 'event' is redundant or there is possible null pointer dereference: event. [nullPointerRedundantCheck] viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3292:8: note: Assuming that condition 'event' is not redundant viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3289:20: note: Null pointer dereference 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3290:20: warning: Either the condition 'event' is redundant or there is possible null pointer dereference: event. [nullPointerRedundantCheck] viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3292:8: note: Assuming that condition 'event' is not redundant viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3290:20: note: Null pointer dereference 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3304:14: style: Variable 'sm' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3381:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3386:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3388:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3445:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3467:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3538:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3542:13: style: Variable 'vl' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3613:68: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3618:60: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3627:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3658:10: style: Variable 'children' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3684:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3689:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3694:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3699:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3704:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3718:10: style: Variable 'children' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3736:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:3808:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:390:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:390:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:396:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:446:73: warning: Found calculation inside sizeof(). [sizeofCalculation] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:462:73: warning: Found calculation inside sizeof(). [sizeofCalculation] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:476:73: warning: Found calculation inside sizeof(). [sizeofCalculation] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:487:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable realized [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:492:67: style: Parameter 'vlsp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:495:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable realized [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:617:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:63:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:691:85: style:inconclusive: Function 'aggregate_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:41:85: note: Function 'aggregate_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:691:85: note: Function 'aggregate_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:69:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:765:41: style: Parameter 'vl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:866:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:92:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:93:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:985:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:98:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikaggregatelayer.c:99:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikcoordlayer.c:170:55: style: Parameter 'data' can be declared as pointer to const. However it seems that 'coord_layer_unmarshall' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikcoordlayer.c:109:29: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikcoordlayer.c:170:55: note: Parameter 'data' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikcoordlayer.c:203:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikcoordlayer.c:207:65: style: Parameter 'vcl' can be declared as pointer to const. However it seems that 'coord_layer_get_param' is a callback function, if 'vcl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikcoordlayer.c:112:41: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikcoordlayer.c:207:65: note: Parameter 'vcl' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikcoordlayer.c:227:54: style:inconclusive: Function 'coord_layer_new' argument 1 names different: declaration 'vp' definition 'vvp'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikcoordlayer.c:26:54: note: Function 'coord_layer_new' argument 1 names different: declaration 'vp' definition 'vvp'. viking-1.10+git20250612.b98e55e/src/vikcoordlayer.c:227:54: note: Function 'coord_layer_new' argument 1 names different: declaration 'vp' definition 'vvp'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikcoordlayer.c:46:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikcoordlayer.c:47:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikcoordlayer.c:54:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdatetime_edit_dialog.c:110:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdatetime_edit_dialog.c:124:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdatetime_edit_dialog.c:159:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdatetime_edit_dialog.c:182:25: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdatetime_edit_dialog.c:216:25: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdatetime_edit_dialog.c:271:12: style: Local variable 'cal' shadows outer variable [shadowVariable] viking-1.10+git20250612.b98e55e/src/vikdatetime_edit_dialog.c:171:13: note: Shadowed declaration viking-1.10+git20250612.b98e55e/src/vikdatetime_edit_dialog.c:271:12: note: Shadow variable 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdatetime_edit_dialog.c:74:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:1133:14: style: Unsigned expression 'x' can't be negative so it is unnecessary to test it. [unsignedPositive] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:1200:10: style: Variable 'dems_iter' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:1217:8: warning: Size of pointer 'pixels' used instead of size of its data. [pointerSize] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:1226:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:1264:40: style: Parameter 'b_url' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:1331:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:1379:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:1404:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:149:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:150:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:151:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:1525:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:152:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:153:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:154:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:156:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:1570:56: style: Parameter 'vw' can be declared as pointer to const. However it seems that 'dem_layer_download_create' is a callback function, if 'vw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:231:30: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:1570:56: note: Parameter 'vw' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:157:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:1584:18: style: Variable 'll' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:1602:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:1607:52: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:1650:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:1691:112: style: Parameter 'vvp' can be declared as pointer to const. However it seems that 'dem_layer_download_click' is a callback function, if 'vvp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:232:24: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:1691:112: note: Parameter 'vvp' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:1691:71: style: Parameter 'vdl' can be declared as pointer to const. However it seems that 'dem_layer_download_click' is a callback function, if 'vdl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:232:24: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:1691:71: note: Parameter 'vdl' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:1691:92: style: Parameter 'event' can be declared as pointer to const. However it seems that 'dem_layer_download_click' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:232:24: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:1691:92: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:178:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:425:44: style: Parameter 'vdl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:427:22: style: Variable 'pref_user' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:428:22: style: Variable 'pref_password' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:463:53: style: Parameter 'vdl' can be declared as pointer to const. However it seems that 'dem_layer_tooltip' is a callback function, if 'vdl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:318:41: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:463:53: note: Parameter 'vdl' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:475:51: style: Parameter 'data' can be declared as pointer to const. However it seems that 'dem_layer_unmarshall' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:323:29: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:475:51: note: Parameter 'data' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:518:61: style: Parameter 'data' can be declared as pointer to const. However it seems that 'dem_layer_thread_cancel' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:657:51: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:518:61: note: Parameter 'data' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:573:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:813:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GdkColor [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:856:26: style: Variable 'prevcolumn' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikdemlayer.c:856:39: style: Variable 'nextcolumn' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikexttool.c:123:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikexttool.c:157:48: style:inconclusive: Function 'ext_tool_get_label' argument 1 names different: declaration 'vw' definition 'self'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikexttool.c:35:48: note: Function 'ext_tool_get_label' argument 1 names different: declaration 'vw' definition 'self'. viking-1.10+git20250612.b98e55e/src/vikexttool.c:157:48: note: Function 'ext_tool_get_label' argument 1 names different: declaration 'vw' definition 'self'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikexttool.c:163:45: style:inconclusive: Function 'vik_ext_tool_get_label' argument 1 names different: declaration 'self' definition 'w'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikexttool.h:56:45: note: Function 'vik_ext_tool_get_label' argument 1 names different: declaration 'self' definition 'w'. viking-1.10+git20250612.b98e55e/src/vikexttool.c:163:45: note: Function 'vik_ext_tool_get_label' argument 1 names different: declaration 'self' definition 'w'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikexttool.c:175:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_at_position [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikexttool.c:60:37: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ext_tool_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikexttool.c:116:33: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikexttool.c:60:37: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikexttool.c:88:35: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'ext_tool_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikexttool.c:117:33: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikexttool.c:88:35: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikexttool.c:90:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikexttools.c:69:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_UI_MANAGER_MENUITEM [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikfileentry.c:111:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikfileentry.c:64:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_HBOX [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikfilelist.c:101:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikfilelist.c:160:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_VBOX [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikfilelist.c:185:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikfilelist.c:202: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] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikfilelist.c:225:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.10+git20250612.b98e55e/src/vikfilelist.c:33:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head viking-1.10+git20250612.b98e55e/src/vikfilelist.c:33:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikfilelist.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikfilelist.c:93:17: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:223:62: style: Parameter 'vgl' can be declared as pointer to const. However it seems that 'geoclue_layer_tooltip' is a callback function, if 'vgl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:136:41: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:223:62: note: Parameter 'vgl' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:232:81: style:inconclusive: Function 'geoclue_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:36:81: note: Function 'geoclue_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:232:81: note: Function 'geoclue_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:280:2: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:280:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:300:69: style: Parameter 'vgl' can be declared as pointer to const. However it seems that 'geoclue_layer_get_param' is a callback function, if 'vgl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:144:41: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:300:69: note: Parameter 'vgl' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:326:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIK_LAYER_GEOCLUE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:388:61: style:inconclusive: Function 'geoclue_layer_add_menu_items' argument 1 names different: declaration 'vtl' definition 'vgl'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:44:61: note: Function 'geoclue_layer_add_menu_items' argument 1 names different: declaration 'vtl' definition 'vgl'. viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:388:61: note: Function 'geoclue_layer_add_menu_items' argument 1 names different: declaration 'vtl' definition 'vgl'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:403:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:422:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:440:56: style: Parameter 'vgl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:447:59: style: Parameter 'vgl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:477:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TIME_SPAN_SECOND [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:523:113: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:560:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:627:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:63:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:648:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:684:2: warning: Redundant code: Found a statement that begins with NULL constant. [constStatement] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:701:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeocluelayer.c:74:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1025:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1042:14: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1098:25: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1150:27: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1203:41: style: Comparing expression of type 'unsigned char' against value 255. Condition is always true. [compareValueOutOfTypeRangeError] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1205:41: style: Comparing expression of type 'unsigned char' against value 255. Condition is always true. [compareValueOutOfTypeRangeError] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1207:42: style: Comparing expression of type 'unsigned char' against value 255. Condition is always true. [compareValueOutOfTypeRangeError] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1226:118: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpp_easting [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1249:73: style: Parameter 'menu' can be declared as pointer to const. However it seems that 'georef_layer_add_menu_items' is a callback function, if 'menu' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:136:41: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1249:73: note: Parameter 'menu' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1263:55: style: Parameter 'vw' can be declared as pointer to const. However it seems that 'georef_layer_move_create' is a callback function, if 'vw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:87:30: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1263:55: note: Parameter 'vw' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1268:96: style: Parameter 'event' can be declared as pointer to const. However it seems that 'georef_layer_move_release' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:88:74: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1268:96: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1283:55: style: Parameter 'vw' can be declared as pointer to const. However it seems that 'georef_layer_zoom_create' is a callback function, if 'vw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:96:30: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1283:55: note: Parameter 'vw' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1288:94: style: Parameter 'event' can be declared as pointer to const. However it seems that 'georef_layer_zoom_press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:97:24: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1288:94: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1314:94: style: Parameter 'event' can be declared as pointer to const. However it seems that 'georef_layer_move_press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:88:24: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1314:94: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1346:54: style:inconclusive: Function 'vik_georef_layer_create' argument 4 names different: declaration 'pibxbuf' definition 'pixbuf'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.h:50:54: note: Function 'vik_georef_layer_create' argument 4 names different: declaration 'pibxbuf' definition 'pixbuf'. viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1346:54: note: Function 'vik_georef_layer_create' argument 4 names different: declaration 'pibxbuf' definition 'pixbuf'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1347:53: style: Parameter 'coord_tl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1347:53: style:inconclusive: Function 'vik_georef_layer_create' argument 5 names different: declaration 'coord_tr' definition 'coord_tl'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.h:51:53: note: Function 'vik_georef_layer_create' argument 5 names different: declaration 'coord_tr' definition 'coord_tl'. viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1347:53: note: Function 'vik_georef_layer_create' argument 5 names different: declaration 'coord_tr' definition 'coord_tl'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:1348:53: style: Parameter 'coord_br' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:258:60: style: Parameter 'vgl' can be declared as pointer to const. However it seems that 'georef_layer_tooltip' is a callback function, if 'vgl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:142:41: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:258:60: note: Parameter 'vgl' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:268:57: style: Parameter 'data' can be declared as pointer to const. However it seems that 'georef_layer_unmarshall' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:147:29: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:268:57: note: Parameter 'data' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:601:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:678:39: style: Comparing expression of type 'unsigned char' against value 255. Condition is always true. [compareValueOutOfTypeRangeError] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:717:65: style: Parameter 'values' can be declared as const array [constParameter] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:749:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:782:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:807:19: style: Variable 'vgl' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:811:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgeoreflayer.c:975:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgoto.c:160:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgoto.c:246:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgoto.c:250:12: style: Variable 'provider' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgoto.c:361:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgoto.c:467:49: style: Parameter 'vgp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgoto.c:646:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgoto.c:658:10: style: Variable 'provider' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgoto.c:701:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgoto.c:729:19: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgoto.c:84:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgoto.c:869:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgototool.c:128:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgototool.c:172:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgototool.c:176:75: style: Parameter 'self' can be declared as pointer to const. However it seems that 'goto_tool_get_download_options' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgototool.c:145:33: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgototool.c:176:75: note: Parameter 'self' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgototool.c:221:63: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgototool.c:310:46: style:inconclusive: Function 'vik_goto_tool_free_candidate' argument 1 names different: declaration 'candidate' definition 'data'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikgototool.h:67:46: note: Function 'vik_goto_tool_free_candidate' argument 1 names different: declaration 'candidate' definition 'data'. viking-1.10+git20250612.b98e55e/src/vikgototool.c:310:46: note: Function 'vik_goto_tool_free_candidate' argument 1 names different: declaration 'candidate' definition 'data'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgototool.c:65:41: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'goto_tool_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgototool.c:121:33: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgototool.c:65:41: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgototool.c:93:39: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'goto_tool_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgototool.c:122:33: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgototool.c:93:39: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgototool.c:95:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgotoxmltool.c:196:45: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'vik_goto_xml_tool_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgotoxmltool.c:264:32: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgotoxmltool.c:196:45: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgotoxmltool.c:271:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgotoxmltool.c:382:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgotoxmltool.c:417:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_goto_xml_tool_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgotoxmltool.c:465:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgotoxmltool.c:567:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgotoxmltool.c:638:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgotoxmltool.c:645:27: style: Same expression on both sides of '||'. [duplicateExpression] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgotoxmltool.c:664:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgotoxmltool.c:78:47: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'vik_goto_xml_tool_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgotoxmltool.c:263:32: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgotoxmltool.c:78:47: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:1297:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:1298:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:1358:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:1359:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:1410:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:1512:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:1565:5: error: Return value of allocation function 'g_thread_try_new' is not stored. [leakReturnValNotUsed] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:1604:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:1613:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:234:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:438:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:483:54: style: Parameter 'vgl' can be declared as pointer to const. However it seems that 'gps_layer_tooltip' is a callback function, if 'vgl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:319:41: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:483:54: note: Parameter 'vgl' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:518:73: style:inconclusive: Function 'gps_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:45:73: note: Function 'gps_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:518:73: note: Function 'gps_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:603:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:689:61: style: Parameter 'vgl' can be declared as pointer to const. However it seems that 'gps_layer_get_param' is a callback function, if 'vgl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:327:41: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:689:61: note: Parameter 'vgl' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:696:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:806:66: style:inconclusive: Function 'gps_layer_post_read' argument 2 names different: declaration 'vp' definition 'vvp'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:43:66: note: Function 'gps_layer_post_read' argument 2 names different: declaration 'vp' definition 'vvp'. viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:806:66: note: Function 'gps_layer_post_read' argument 2 names different: declaration 'vp' definition 'vvp'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:847:48: style: Parameter 'vgl' can be declared as pointer to const. However it seems that 'gps_layer_configure' is a callback function, if 'vgl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:305:41: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:847:48: note: Parameter 'vgl' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:847:66: style: Parameter 'vp' can be declared as pointer to const. However it seems that 'gps_layer_configure' is a callback function, if 'vp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:305:41: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:847:66: note: Parameter 'vp' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:864:52: style:inconclusive: Function 'gps_layer_add_menu_items' argument 1 names different: declaration 'vtl' definition 'vgl'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:53:52: note: Function 'gps_layer_add_menu_items' argument 1 names different: declaration 'vtl' definition 'vgl'. viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:864:52: note: Function 'gps_layer_add_menu_items' argument 1 names different: declaration 'vtl' definition 'vgl'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:864:66: style: Parameter 'menu' can be declared as pointer to const. However it seems that 'gps_layer_add_menu_items' is a callback function, if 'menu' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:313:41: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:864:66: note: Parameter 'menu' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:894:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:931:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikgpslayer.c:970:48: style: Parameter 'vgl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer.c:111:14: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer.c:111:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer.c:135:14: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer.c:135:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer.c:171:59: style: Parameter 'vl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer.c:177:50: style: Parameter 'vl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer.c:249:45: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer.c:359:70: style:inconclusive: Function 'vik_layer_marshall_params' argument 3 names different: declaration 'len' definition 'datalen'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/viklayer.h:315:75: note: Function 'vik_layer_marshall_params' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.10+git20250612.b98e55e/src/viklayer.c:359:70: note: Function 'vik_layer_marshall_params' argument 3 names different: declaration 'len' definition 'datalen'. 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer.c:361:18: style: Variable 'params' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer.c:382:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer.c:427:76: style:inconclusive: Function 'vik_layer_unmarshall_params' argument 3 names different: declaration 'len' definition 'datalen'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/viklayer.h:316:81: note: Function 'vik_layer_unmarshall_params' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.10+git20250612.b98e55e/src/viklayer.c:427:76: note: Function 'vik_layer_unmarshall_params' argument 3 names different: declaration 'len' definition 'datalen'. 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer.c:429:18: style: Variable 'params' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer.c:457:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer.c:530:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer.c:618:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer.c:68:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer.c:775:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer_defaults.c:155:17: style: Variable 'vlp' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer_defaults.c:164:17: style: Variable 'vlp' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer_defaults.c:217:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_KEY_FILE_KEEP_COMMENTS [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer_defaults.c:276:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer_defaults.c:305:18: style: Variable 'param' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer_defaults.c:388:48: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayer_defaults.c:46:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:111:118: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:1147:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:1153:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:1314:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:1329:69: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:1358:62: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:141:62: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:1495:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VALUE_INIT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:167:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable label [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:212:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:212:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:275:16: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:275:16: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:278:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:278:11: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:280:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:332:23: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:332:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:380:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:397:21: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:397:21: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:397:21: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:412:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:429:16: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:429:16: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:429:16: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:437:7: warning: Size of pointer 'date_str' used instead of size of its data. [pointerSize] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:438:13: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'GDate *'. [invalidPrintfArgType_uint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:470:16: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:470:16: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:470:16: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:480:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:502:21: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:502:21: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:502:21: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:568:67: style: Parameter 'vlp' can be declared as pointer to const. However it seems that 'layers_calendar_button_press_cb' is a callback function, if 'vlp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:745:3: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:568:67: note: Parameter 'vlp' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:626:62: style: Parameter 'vlp' can be declared as pointer to const. However it seems that 'track_tabs_button_press_cb' is a callback function, if 'vlp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:786:3: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:626:62: note: Parameter 'vlp' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:659:15: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:676:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_SMALL_TOOLBAR [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:825:12: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:864:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:923:79: style: Parameter 'event' can be declared as pointer to const. However it seems that 'layers_button_press_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:670:3: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:923:79: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:940:73: style: Parameter 'event' can be declared as pointer to const. However it seems that 'layers_key_press_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:673:3: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:940:73: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viklayerspanel.c:943:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Delete [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapniklayer.c:634:27: error: There is an unknown macro here somewhere. Configuration is required. If G_DIR_SEPARATOR_S is a macro then please configure it. [unknownMacro] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapslayer.c:1391:47: error: There is an unknown macro here somewhere. Configuration is required. If G_DIR_SEPARATOR_S is a macro then please configure it. [unknownMacro] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapslayer_compat.c:34:84: style: Parameter 'map_type' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapsource.c:45:36: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapsource.c:55:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_map_source_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapsource.c:95:44: style: Parameter 'self' can be declared as pointer to const. However it seems that '_supports_download_only_new' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikmapsource.c:76:38: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikmapsource.c:95:44: note: Parameter 'self' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapsource.c:95:44: style:inconclusive: Function '_supports_download_only_new' argument 1 names different: declaration 'object' definition 'self'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikmapsource.c:40:60: note: Function '_supports_download_only_new' argument 1 names different: declaration 'object' definition 'self'. viking-1.10+git20250612.b98e55e/src/vikmapsource.c:95:44: note: Function '_supports_download_only_new' argument 1 names different: declaration 'object' definition 'self'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:132:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_map_source_default_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:139:52: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'vik_map_source_default_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:290:31: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:139:52: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:218:50: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'vik_map_source_default_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:291:34: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:218:50: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:322:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:441:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:451:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:461:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:486:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:496:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:506:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:516:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:526:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:536:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:558:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:566:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:574:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:579:39: style: Parameter 'self' can be declared as pointer to const. However it seems that '_download_handle_init' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:309:43: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikmapsourcedefault.c:579:39: note: Parameter 'self' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmaptype.c:112:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmaptype.c:130:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikmaptype.c:84:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_map_type_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikradiogroup.c:103:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.10+git20250612.b98e55e/src/vikradiogroup.c:33:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head viking-1.10+git20250612.b98e55e/src/vikradiogroup.c:33:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikradiogroup.c:60:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_VBOX [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikrouting.c:154:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikrouting.c:80:9: style: Variable 'engineId' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikrouting.c:97:9: style: Variable 'elem' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikroutingengine.c:101:39: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'vik_routing_engine_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikroutingengine.c:136:32: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikroutingengine.c:101:39: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikroutingengine.c:103:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikroutingengine.c:154:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikroutingengine.c:183:40: style:inconclusive: Function 'vik_routing_engine_finalize' argument 1 names different: declaration 'gob' definition 'self'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikroutingengine.c:41:52: note: Function 'vik_routing_engine_finalize' argument 1 names different: declaration 'gob' definition 'self'. viking-1.10+git20250612.b98e55e/src/vikroutingengine.c:183:40: note: Function 'vik_routing_engine_finalize' argument 1 names different: declaration 'gob' definition 'self'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikroutingengine.c:230:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikroutingengine.c:243:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikroutingengine.c:258:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikroutingengine.c:69:41: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'vik_routing_engine_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikroutingengine.c:135:32: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikroutingengine.c:69:41: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikroutingwebengine.c:176:39: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'vik_routing_web_engine_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikroutingwebengine.c:242:32: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikroutingwebengine.c:176:39: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikroutingwebengine.c:262:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikroutingwebengine.c:454:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_routing_web_engine_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikroutingwebengine.c:538:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikroutingwebengine.c:573:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikroutingwebengine.c:647:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikroutingwebengine.c:679:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikroutingwebengine.c:99:41: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'vik_routing_web_engine_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikroutingwebengine.c:241:32: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikroutingwebengine.c:99:41: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:173:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_slippy_map_source_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:180:51: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'vik_slippy_map_source_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:374:31: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:180:51: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:281:49: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'vik_slippy_map_source_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:375:34: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:281:49: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:400:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:544:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:554:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:566:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:585:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:596:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:607:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:618:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:629:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:640:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:651:59: style: Parameter 'src' can be declared as pointer to const. However it seems that '_mapcoord_to_center_coord' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:379:48: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:651:59: note: Parameter 'src' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:657:48: style: Parameter 'src' can be declared as pointer to const. However it seems that '_get_uri' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:391:26: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:657:48: note: Parameter 'src' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:689:61: style: Parameter 'src' can be declared as pointer to const. However it seems that '_get_download_options' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:393:39: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikslippymapsource.c:689:61: note: Parameter 'src' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikstatus.c:130:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RELIEF_NONE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikstatus.c:87:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:150:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_tms_map_source_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:157:51: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'vik_tms_map_source_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:311:31: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:157:51: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:238:49: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'vik_tms_map_source_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:312:34: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:238:49: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:337:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:442:40: style: Parameter 'self' can be declared as pointer to const. However it seems that '_is_direct_file_access' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:318:45: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:442:40: note: Parameter 'self' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:448:29: style: Parameter 'self' can be declared as pointer to const. However it seems that '_is_mbtiles' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:319:34: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:448:29: note: Parameter 'self' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:454:36: style: Parameter 'self' can be declared as pointer to const. However it seems that '_is_osm_meta_tiles' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:320:41: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:454:36: note: Parameter 'self' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:480:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:494:59: style: Parameter 'src' can be declared as pointer to const. However it seems that '_mapcoord_to_center_coord' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:316:48: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:494:59: note: Parameter 'src' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:507:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:512:48: style: Parameter 'src' can be declared as pointer to const. However it seems that '_get_uri' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:328:26: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:512:48: note: Parameter 'src' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:540:61: style: Parameter 'src' can be declared as pointer to const. However it seems that '_get_download_options' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:330:39: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:540:61: note: Parameter 'src' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:573:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:584:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:595:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:606:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:617:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktmsmapsource.c:628:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.10+git20250612.b98e55e/src/viktrack.c:2167:10: style: Variable 'tp_iter' can be declared as pointer to const [constVariablePointer] head viking-1.10+git20250612.b98e55e/src/viktrack.c:318:10: style: Variable 'tpl' can be declared as pointer to const [constVariablePointer] head viking-1.10+git20250612.b98e55e/src/viktrack.c:392:12: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] head viking-1.10+git20250612.b98e55e/src/viktrack.c:411:12: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] head viking-1.10+git20250612.b98e55e/src/viktrack.c:432:10: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktreeview.c:1005:65: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktreeview.c:1012:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_F2 [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktreeview.c:115:123: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktreeview.c:122:71: style: Parameter 'path_str' can be declared as pointer to const. However it seems that 'vik_treeview_edited_cb' is a callback function, if 'path_str' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktreeview.c:387:3: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktreeview.c:122:71: note: Parameter 'path_str' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktreeview.c:143:74: style: Parameter 'path_str' can be declared as pointer to const. However it seems that 'vik_treeview_toggled_cb' is a callback function, if 'path_str' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktreeview.c:365:3: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktreeview.c:143:74: note: Parameter 'path_str' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktreeview.c:376:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_VIEW_COLUMN_AUTOSIZE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktreeview.c:406:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_VIEW_COLUMN_FIXED [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktreeview.c:479:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktreeview.c:558:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_TREE_DRAG_SOURCE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktreeview.c:650:50: style: Parameter 'vt' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktreeview.c:797:14: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktreeview.c:798:14: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktreeview.c:87:28: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktreeview.c:87:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktreeview.c:992:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10016:18: style: Local variable 'item' shadows outer variable [shadowVariable] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9630:14: note: Shadowed declaration viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10016:18: note: Shadow variable 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10021:18: style: Local variable 'item' shadows outer variable [shadowVariable] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9630:14: note: Shadowed declaration viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10021:18: note: Shadow variable 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:1011:59: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10156:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10218:13: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:1023:60: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10290:78: style: Parameter 'coord' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10292:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:1033:52: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10383:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10405:50: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:1045:56: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10552:75: style: Parameter 'event' can be declared as pointer to const. However it seems that 'trw_layer_select_move' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:943:41: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10552:75: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10563:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10565:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10573:20: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:1057:47: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10588:78: style: Parameter 'event' can be declared as pointer to const. However it seems that 'trw_layer_select_release' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:944:41: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10588:78: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10601:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10603:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10611:20: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10656:112: style:inconclusive: Function 'trw_layer_select_click' argument 4 names different: declaration 't' definition 'tet'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:870:112: note: Function 'trw_layer_select_click' argument 4 names different: declaration 't' definition 'tet'. viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10656:112: note: Function 'trw_layer_select_click' argument 4 names different: declaration 't' definition 'tet'. 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10656:76: style: Parameter 'event' can be declared as pointer to const. However it seems that 'trw_layer_select_click' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:942:41: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10656:76: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10691:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10847:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:1085:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10861:16: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:1088:55: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10905:16: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10956:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INVERT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:10972:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable drawpoints_size [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11002:92: style: Parameter 'event' can be declared as pointer to const. However it seems that 'tool_edit_waypoint_click' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:517:24: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11002:92: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11079:91: style: Parameter 'event' can be declared as pointer to const. However it seems that 'tool_edit_waypoint_move' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:518:28: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11079:91: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11092:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11094:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11102:20: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11118:94: style: Parameter 'event' can be declared as pointer to const. However it seems that 'tool_edit_waypoint_release' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:519:24: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11118:94: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:1111:28: style: Variable 'tpt' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11132:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11134:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11142:20: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11305:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable draw_sync_t [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11316:1: error: Memory leak: passalong [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:1137:55: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11382:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11451:14: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11454:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11459:14: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11468:63: style: Parameter 'target' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11483:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11505:5: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11650:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_desc [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11707:5: error: Memory leak: passalong [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11727:76: style: Parameter 'event' can be declared as pointer to const. However it seems that 'tool_edit_track_key_press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:482:22: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11727:76: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11730:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11753:78: style: Parameter 'event' can be declared as pointer to const. However it seems that 'tool_edit_track_key_release' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:497:22: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11753:78: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11755:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Shift_L [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11770:98: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11795:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_2BUTTON_PRESS [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11815:20: style: Variable 'other_tp' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11843:53: style: Redundant condition: vtl->current_track. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11847:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11897:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11927:53: style: Redundant condition: vtl->current_track. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11932:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11978:29: style: Redundant condition: vtl->current_track. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:11981:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12024:91: style: Parameter 'event' can be declared as pointer to const. However it seems that 'tool_edit_track_release' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:495:24: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12024:91: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12045:55: style:inconclusive: Function 'tool_edit_track_deactivate' argument 1 names different: declaration 'vtl' definition 'ignore'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:423:55: note: Function 'tool_edit_track_deactivate' argument 1 names different: declaration 'vtl' definition 'ignore'. viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12045:55: note: Function 'tool_edit_track_deactivate' argument 1 names different: declaration 'vtl' definition 'ignore'. 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12060:55: style: Parameter 'vw' can be declared as pointer to const. However it seems that 'tool_new_waypoint_create' is a callback function, if 'vw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:450:30: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12060:55: note: Parameter 'vw' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12065:91: style: Parameter 'event' can be declared as pointer to const. However it seems that 'tool_new_waypoint_click' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:451:24: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12065:91: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12071:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12093:94: style: Parameter 'event' can be declared as pointer to const. However it seems that 'tool_edit_trackpoint_click' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:530:24: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12093:94: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12099:17: warning: Either the condition '!vtl' is redundant or there is possible null pointer dereference: vtl. [nullPointerRedundantCheck] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12111:7: note: Assuming that condition '!vtl' is not redundant viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12099:17: note: Null pointer dereference 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12121:15: style: Variable 'current_tr' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12147:93: style: Parameter 'event' can be declared as pointer to const. However it seems that 'tool_edit_trackpoint_move' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:531:28: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12147:93: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12161:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12163:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12179:96: style: Parameter 'event' can be declared as pointer to const. However it seems that 'tool_edit_trackpoint_release' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:532:24: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12179:96: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12194:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12196:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12223:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12233:14: style: Variable 'last_to' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12260:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12321:87: style: Parameter 'event' can be declared as pointer to const. However it seems that 'tool_extended_route_finder_key_press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:496:22: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12321:87: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12323:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:1232:20: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12347:55: style: Parameter 'vw' can be declared as pointer to const. However it seems that 'tool_show_picture_create' is a callback function, if 'vw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:540:30: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12347:55: note: Parameter 'vw' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12358:21: style: Variable 'event' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12383:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:1239:17: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:1246:17: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12472:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12505:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12505:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12559:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12559:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12603:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12622:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12629:15: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12631:20: style: Variable 'tpt' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12645:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12649:18: style: Variable 'wpt' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12688:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable realized [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12693:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12709:9: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12748:58: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12769:82: style: Parameter 'dest_mode' can be declared as pointer to const. However it seems that 'waypoint_convert' is a callback function, if 'dest_mode' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12784:53: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12769:82: note: Parameter 'dest_mode' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12774:76: style: Parameter 'dest_mode' can be declared as pointer to const. However it seems that 'track_convert' is a callback function, if 'dest_mode' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12786:50: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12774:76: note: Parameter 'dest_mode' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12795:72: style: Parameter 'vtl' can be declared as pointer to const. However it seems that 'trw_layer_get_menu_selection' is a callback function, if 'vtl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:912:41: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12795:72: note: Parameter 'vtl' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12815:43: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12815:59: style: Parameter 'to' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12815:78: style: Parameter 'dist' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12869:30: style: Condition 'get_download_area_width(vvp,zoom_level,&wh)' is always false [knownConditionTrueFalse] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12869:30: note: Calling function 'get_download_area_width' returns 0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12869:30: note: Condition 'get_download_area_width(vvp,zoom_level,&wh)' is always false 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12877:13: style: Variable 'cur_coord' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12880:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12908:8: warning: Uninitialized variable: cur_coord [uninitvar] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12879:10: note: Assuming condition is false viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12908:8: note: Uninitialized variable: cur_coord 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:12970:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:1299:80: style: Parameter 'item' can be declared as pointer to const. However it seems that 'trw_layer_paste_item' is a callback function, if 'item' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:937:41: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:1299:80: note: Parameter 'item' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:13065:50: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:13094:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:13106:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:13115:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:13155:155: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:13183:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:13249:48: style:inconclusive: Function 'trw_layer_replace_external' argument 1 names different: declaration 'vtl' definition 'trw'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/viktrwlayer.h:203:48: note: Function 'trw_layer_replace_external' argument 1 names different: declaration 'vtl' definition 'trw'. viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:13249:48: note: Function 'trw_layer_replace_external' argument 1 names different: declaration 'vtl' definition 'trw'. 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:13260:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:13275:51: style: Parameter 'vw' can be declared as pointer to const. However it seems that 'tool_splitter_create' is a callback function, if 'vw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:503:30: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:13275:51: note: Parameter 'vw' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:13280:87: style: Parameter 'event' can be declared as pointer to const. However it seems that 'tool_splitter_click' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:504:24: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:13280:87: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:1620:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:1829:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:1829:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:2070:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:2116:14: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:2158:125: style: Parameter 'coord' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:2158:62: style: Parameter 'fgcolour' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:2158:79: style: Parameter 'bgcolour' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:2367:18: style: Variable 'tp_end' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:2370:18: style: Variable 'tp_begin' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:2452:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:2564:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:2667:15: style: Variable 'tmp_gc' is assigned an expression that holds the same value. [redundantAssignment] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:2665:22: note: tmp_gc is assigned 'main_gc' here. viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:2667:15: note: Variable 'tmp_gc' is assigned an expression that holds the same value. 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:2667:22: style: Redundant initialization for 'tmp_gc'. The initialized value is overwritten before it is read. [redundantInitialization] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:2665:22: note: tmp_gc is initialized viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:2667:22: note: tmp_gc is overwritten 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:2673:10: style: Variable 'tmp_gc' is reassigned a value before the old one has been used. [redundantAssignment] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:2667:22: note: tmp_gc is assigned viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:2673:10: note: tmp_gc is overwritten 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:2968:51: style: Parameter 'id' can be declared as pointer to const. However it seems that 'trw_layer_draw_waypoint_cb' is a callback function, if 'id' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3113:43: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:2968:51: note: Parameter 'id' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:2999:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3007:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3021:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3073:48: style:inconclusive: Function 'trw_layer_configure' argument 1 names different: declaration 'l' definition 'vtl'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:846:48: note: Function 'trw_layer_configure' argument 1 names different: declaration 'l' definition 'vtl'. viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3073:48: note: Function 'trw_layer_configure' argument 1 names different: declaration 'l' definition 'vtl'. 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3099:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3202:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CROSSHAIR [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3233:38: style: Parameter 'symbol' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3239:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3245:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkTreeIter [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3253:18: style: Variable 'tpt' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3274:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkTreeIter [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3347:82: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3349:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3382:20: style: Local variable 't' shadows outer variable [shadowVariable] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3367:13: note: Shadowed declaration viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3382:20: note: Shadow variable 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3408:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3415:70: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3423:69: style: Parameter 'tr' can be declared as pointer to const. However it seems that 'trw_layer_routes_tooltip' is a callback function, if 'tr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3637:50: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3423:69: note: Parameter 'tr' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3441:69: style: Parameter 'tr' can be declared as pointer to const. However it seems that 'trw_layer_tracks_tooltip' is a callback function, if 'tr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3538:50: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3441:69: note: Parameter 'tr' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3453:20: style: Variable 'trkpt_last' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3494:21: style: Variable 'lap' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3503:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3503:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3503:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3548:48: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3549:48: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3566:11: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'GDate *'. [invalidPrintfArgType_uint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3567:11: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'GDate *'. [invalidPrintfArgType_uint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3573:13: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'GDate *'. [invalidPrintfArgType_uint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3689:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3699:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3706:17: style: Variable 'tr' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3784:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3823:115: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3863:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3872:94: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3889:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3936:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3950:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3962:6: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3977:6: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:3992:6: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4009:6: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4013:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4021:53: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4026:53: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4031:56: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4036:59: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4041:59: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4046:62: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4067:18: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4067:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4085:61: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4090:61: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4095:64: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4100:60: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4214:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4217:52: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4243:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4321:10: style: Variable 'label' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4341:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4364:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4402:16: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4439:44: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4536:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4667:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4730:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4758:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4780:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4797:44: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4797:60: style: Parameter 'te' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4824:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4825:21: style: Variable 'vti' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4878:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4885:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4919:21: style: Variable 'lap' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4922:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4946:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4946:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4946:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4965:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:4988:52: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5003:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5069:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5219:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5299:60: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5306:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable realized [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5338:57: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5345:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable realized [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5355:20: style: Variable 'tpt' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5379:57: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5386:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable realized [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5411:66: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5423:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5423:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5448:12: style: Variable 'id' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5468:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_REGEX_CASELESS [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5533:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5533:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5606:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5673:14: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5682:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5720:14: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5729:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5745:72: style: Parameter 'wp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5752:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5772:14: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5788:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5826:12: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5867:12: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5895:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5913:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5938:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5990:56: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:5999:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6012:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6022:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6039:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6095:12: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6099:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6118:12: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6124:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6136:12: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6142:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6173:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6213:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6231:12: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6247:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6264:36: warning: Function 'goto_coord' argument order different: declaration 'vlp, vvp, vl, coord' definition 'vlp, vl, vvp, coord' [funcArgOrderDifferent] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:312:36: note: Function 'goto_coord' argument order different: declaration 'vlp, vvp, vl, coord' definition 'vlp, vl, vvp, coord' viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6264:36: note: Function 'goto_coord' argument order different: declaration 'vlp, vvp, vl, coord' definition 'vlp, vl, vvp, coord' 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6297:13: style: Variable 'track' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6318:13: style: Variable 'track' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6326:20: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6339:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:640:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:641:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6423:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:642:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6430:9: style: Variable 'wpnm' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:643:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:644:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:648:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:649:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6500:20: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:650:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6512:19: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6553:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:655:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6634:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:663:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6680:18: style: Local variable 'tp' shadows outer variable [shadowVariable] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6640:20: note: Shadowed declaration viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6680:18: note: Shadow variable 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6688:18: style: Local variable 'tp' shadows outer variable [shadowVariable] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6640:20: note: Shadowed declaration viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6688:18: note: Shadow variable 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6732:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:674:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6755:26: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6760:25: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6765:25: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:676:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:678:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6794:53: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:679:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:680:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:682:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6834:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6850:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6864:12: style: Variable 'dems' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6867:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6889:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:691:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6933:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:693:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6977:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6998:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:6998:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7027:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7027:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:705:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7182:68: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7208:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7233:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7322:18: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7322:23: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7323:13: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7357:13: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7360:13: style: Variable 'orig_trk' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7370:14: style: Variable 'udata' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7381:20: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7382:20: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7422:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7478:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7582:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7665:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7738:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7750:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7778:10: style: Variable 'trps' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7835:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable newsegment [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7898:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7916:50: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:7987:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8101:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8113:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable newsegment [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8215:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8246:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8267:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8288:13: style: Variable 'track' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8303:13: style: Variable 'track' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8343:15: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8349:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8351:57: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8358:18: style: Variable 'wpt' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8366:57: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8384:55: error: Invalid g_file_open_tmp() argument nr 2. A nul-terminated string is required. [invalidFunctionArgStr] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8386:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8416:12: style: Redundant initialization for 'sign_c'. The initialized value is overwritten before it is read. [redundantInitialization] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8410:16: note: sign_c is initialized viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8416:12: note: sign_c is overwritten 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8464:55: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8466:57: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8478:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8488:55: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8490:57: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8583:10: style: Variable 'dummy_list' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8616:10: style: Variable 'dummy_list1' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8634:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8648:14: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8672:12: style: Variable 'dummy_list2' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8703:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8760:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8810:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8890:10: style: Variable 'dummy_list' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8922:10: style: Variable 'dummy_list1' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8936:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8952:12: style: Variable 'dummy_list2' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:8974:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9024:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9024:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9081:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9101:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9144:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9144:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9210:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9223:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9236:107: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9264:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9277:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9290:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9302:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9315:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9328:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9348:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9393:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9423:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9441:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9460:16: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9464:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9471:16: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9475:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9494:18: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9498:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9524:15: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9561:15: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9591:49: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9600:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tracks [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9650:17: style: Variable 'tr' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9655:17: style: Variable 'tr' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9678:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable waypoints [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9766:20: style: The if condition is the same as the previous if condition [duplicateCondition] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9764:20: note: First condition viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9766:20: note: Second condition 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9962:20: style: The if condition is the same as the previous if condition [duplicateCondition] viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9958:20: note: First condition viking-1.10+git20250612.b98e55e/src/viktrwlayer.c:9962:20: note: Second condition 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:1168:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:1250:18: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:129:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:225:3: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'GDate *'. [invalidPrintfArgType_uint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:263:53: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:266:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:382:3: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'GDate *'. [invalidPrintfArgType_uint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:388:3: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'GDate *'. [invalidPrintfArgType_uint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:429:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:431:13: style: Variable 'num' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:435:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:533:19: style: Variable 'tot' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:543:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:566:19: style: Variable 'tot' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:576:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:610:56: style: Parameter 'tracks_and_layers' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:639:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:639:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:647:41: style: Parameter 'tracks_and_layers' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:663:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:663:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:702:3: error: Memory leak: str [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:727:47: style: Parameter 'tree_view' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:793:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:82:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:944:3: error: Memory leak: str [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:988:16: style: Variable 'acb' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:993:13: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_analysis.c:996:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_export.c:109:23: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_export.c:172:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_export.c:257:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_export.c:322:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_export.c:334:21: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_export.c:346:22: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_export.c:352:21: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_export.c:378:18: style: Variable 'active' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_export.c:83:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_export.c:83:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:219:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:331:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:353:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:354:16: style: Variable 'wpt' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:37:39: style: Parameter 'StringTime' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:37:57: style: Parameter 'Format' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:443:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:617:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:683:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:701:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:706:15: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:747:2: error: Memory leak: gd [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:796:23: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:801:23: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:805:23: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:809:23: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:813:23: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:817: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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:822:23: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:827:23: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:833:23: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_geotag.c:839:23: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1021:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1021:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1021:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1026:94: style: Parameter 'trackpoint' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1100:60: style: Parameter 'trackpoint' can be declared as pointer to const. However it seems that 'update_speed_distance_buttons' is a callback function, if 'trackpoint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:2790:34: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1100:60: note: Parameter 'trackpoint' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1120:48: style: Parameter 'trackpoint' can be declared as pointer to const. However it seems that 'update_hr_buttons' is a callback function, if 'trackpoint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:2806:34: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1120:48: note: Parameter 'trackpoint' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1133:49: style: Parameter 'trackpoint' can be declared as pointer to const. However it seems that 'update_cad_buttons' is a callback function, if 'trackpoint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:2822:34: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1133:49: note: Parameter 'trackpoint' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1146:50: style: Parameter 'trackpoint' can be declared as pointer to const. However it seems that 'update_temp_buttons' is a callback function, if 'trackpoint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:2838:34: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1146:50: note: Parameter 'trackpoint' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1162:51: style: Parameter 'trackpoint' can be declared as pointer to const. However it seems that 'update_power_buttons' is a callback function, if 'trackpoint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:2854:34: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1162:51: note: Parameter 'trackpoint' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1178:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1191:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1246:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable black_gc [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1309:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1567:77: warning: Uninitialized variable: ss [uninitvar] viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:2323:45: note: Calling function 'draw_grid_y', 5th argument 'ss' value is viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1567:77: note: Uninitialized variable: ss 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1602:81: style: Parameter 'widgets' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1612:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1671:85: style: Parameter 'widgets' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:1678:20: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:2068:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:2145:22: style: Variable 'vlpd' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:2317:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ALIGN_RIGHT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:2596:73: style: Parameter 'event' can be declared as pointer to const. However it seems that 'configure_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4082:3: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:2596:73: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:2683:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:2697:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:2932:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:3103:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:3148:21: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:3149:21: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:3196:62: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:3214:5: error: Memory leak: str [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:3252:48: style: Parameter 'tree_view' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:3298:52: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:3342:10: style: Variable 'hght_str' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:3504:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:3658:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:3658:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:3658:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:3663:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:3663:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:3663:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:3807:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4077:41: style: Checking if unsigned expression 'vik_track_get_dup_point_count(tr)' is less than zero. [unsignedLessThanZero] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4136:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4160:13: style: Condition 'pwgt==PGT_ELEVATION_DISTANCE' is always true [knownConditionTrueFalse] viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4156:32: note: Assignment 'pwgt=PGT_ELEVATION_DISTANCE', assigned value is 0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4160:13: note: Condition 'pwgt==PGT_ELEVATION_DISTANCE' is always true 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4169:13: style: Condition 'pwgt==PGT_SPEED_TIME' is always false [knownConditionTrueFalse] viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4156:32: note: Assignment 'pwgt=PGT_ELEVATION_DISTANCE', assigned value is 0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4169:13: note: Condition 'pwgt==PGT_SPEED_TIME' is always false 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4240:48: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'graph_tooltip_cb' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4516:5: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4240:48: note: Parameter 'widget' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4259:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4276:22: style: Variable 'tp1' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4321:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4321:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4321:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4349:57: style:inconclusive: Function 'vik_trw_layer_propwin_main_refresh' argument 1 names different: declaration 'vtl' definition 'vl'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.h:56:57: note: Function 'vik_trw_layer_propwin_main_refresh' argument 1 names different: declaration 'vtl' definition 'vl'. viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4349:57: note: Function 'vik_trw_layer_propwin_main_refresh' argument 1 names different: declaration 'vtl' definition 'vl'. 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4352:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4403:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:4480:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:489:69: style: Parameter 'trackpoint' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:491:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:511:54: style: Parameter 'tr' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:511:73: style: Parameter 'trackpoint' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:513:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:562:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:577:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_GRAVITY_STATIC [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:599:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:646:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:819:57: style: Parameter 'widgets' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:838:70: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:864:14: style: Variable 'graph_box' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:865:14: style: Variable 'pc' is assigned a value that is never used. [unreadVariable] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:865:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:909:67: style: Parameter 'event_box' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:909:91: style: Parameter 'widgets' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:966:72: style: Parameter 'trackpoint' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:995:54: style: Parameter 'trackpoint' can be declared as pointer to const. However it seems that 'update_gradient_buttons' is a callback function, if 'trackpoint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:2722:34: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer_propwin.c:995:54: note: Parameter 'trackpoint' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tpwin.c:162:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tpwin.c:172:36: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tpwin.c:172:76: style: Parameter 'tpwin' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tpwin.c:185:72: style: Parameter 'event' can be declared as pointer to const. However it seems that 'tpwin_sync_time_to_tp' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer_tpwin.c:311:3: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer_tpwin.c:185:72: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tpwin.c:259:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_GRAVITY_STATIC [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tpwin.c:310:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RELIEF_NONE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tpwin.c:329:16: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tpwin.c:351:21: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tpwin.c:362:15: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tpwin.c:368:26: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tpwin.c:376:32: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tpwin.c:391:25: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tpwin.c:483:70: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tpwin.c:496:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tpwin.c:517:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tpwin.c:608:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tpwin.c:608:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tpwin.c:75:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_DIALOG [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tracklist.c:153:12: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tracklist.c:163:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tracklist.c:179:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tracklist.c:240:4: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tracklist.c:245:4: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tracklist.c:272:43: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tracklist.c:272:60: style: Parameter 'tree_view' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tracklist.c:346:11: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tracklist.c:353:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tracklist.c:422:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tracklist.c:511:3: error: Memory leak: filter_case [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tracklist.c:53:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_GRAVITY_STATIC [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tracklist.c:607:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tracklist.c:725:26: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tracklist.c:753:54: style:inconclusive: Function 'vik_trw_layer_track_list_show_dialog' argument 5 names different: declaration 'is_aggregate' definition 'show_layer_names'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/viktrwlayer_tracklist.h:34:54: note: Function 'vik_trw_layer_track_list_show_dialog' argument 5 names different: declaration 'is_aggregate' definition 'show_layer_names'. viking-1.10+git20250612.b98e55e/src/viktrwlayer_tracklist.c:753:54: note: Function 'vik_trw_layer_track_list_show_dialog' argument 5 names different: declaration 'is_aggregate' definition 'show_layer_names'. 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_tracklist.c:756:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_waypointlist.c:158:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_waypointlist.c:173:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_waypointlist.c:201:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_waypointlist.c:249:135: error: Uninitialized struct member: ll.lat [uninitStructMember] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_waypointlist.c:249:148: error: Uninitialized struct member: ll.lon [uninitStructMember] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_waypointlist.c:293:44: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_waypointlist.c:293:61: style: Parameter 'tree_view' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_waypointlist.c:377:11: style: Variable 'wptf' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_waypointlist.c:381:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_waypointlist.c:453:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_waypointlist.c:495:3: error: Memory leak: filter_case [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_waypointlist.c:54:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_GRAVITY_STATIC [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_waypointlist.c:626:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_waypointlist.c:711:26: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_waypointlist.c:739:57: style:inconclusive: Function 'vik_trw_layer_waypoint_list_show_dialog' argument 5 names different: declaration 'is_aggregate' definition 'show_layer_names'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/viktrwlayer_waypointlist.h:34:57: note: Function 'vik_trw_layer_waypoint_list_show_dialog' argument 5 names different: declaration 'is_aggregate' definition 'show_layer_names'. viking-1.10+git20250612.b98e55e/src/viktrwlayer_waypointlist.c:739:57: note: Function 'vik_trw_layer_waypoint_list_show_dialog' argument 5 names different: declaration 'is_aggregate' definition 'show_layer_names'. 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_waypointlist.c:742:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_wpwin.c:148:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_wpwin.c:235:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_wpwin.c:278:101: style: Parameter 'default_name' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_wpwin.c:310:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_APPLY [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_wpwin.c:50:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_wpwin.c:571:12: style: Variable 'cmt' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_wpwin.c:59:36: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_wpwin.c:71:66: style: Parameter 'event' can be declared as pointer to const. However it seems that 'time_edit_click' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/viktrwlayer_wpwin.c:362:5: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/viktrwlayer_wpwin.c:71:66: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/viktrwlayer_wpwin.c:739:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:1285:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:1421:16: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:1422:16: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:1467:16: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:1467:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:1496:9: style: Variable 'txt' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:1504:44: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:1506:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:1526:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:342:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:421:3: error: Return value of allocation function 'g_thread_try_new' is not stored. [leakReturnValNotUsed] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:437:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:50:121: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:50:49: style: Parameter 'format_code' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:519:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:553:13: style: Variable 'pt' can be declared as const array [constVariable] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:570:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:601:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:601:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:620:32: style: Parameter 'a1' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:620:44: style: Parameter 'a2' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:636:32: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:645:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:64:13: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:719:97: style:inconclusive: Function 'vu_get_time_string' argument 4 names different: declaration 'gtz' definition 'tz'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikutils.h:39:97: note: Function 'vu_get_time_string' argument 4 names different: declaration 'gtz' definition 'tz'. viking-1.10+git20250612.b98e55e/src/vikutils.c:719:97: note: Function 'vu_get_time_string' argument 4 names different: declaration 'gtz' definition 'tz'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:726:32: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:754:32: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:784:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:908:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:914:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikutils.c:961:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:1053:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MININT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:1091:56: style:inconclusive: Function 'vik_viewport_set_zoom' argument 2 names different: declaration 'mpp' definition 'xympp'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikviewport.h:78:56: note: Function 'vik_viewport_set_zoom' argument 2 names different: declaration 'mpp' definition 'xympp'. viking-1.10+git20250612.b98e55e/src/vikviewport.c:1091:56: note: Function 'vik_viewport_set_zoom' argument 2 names different: declaration 'mpp' definition 'xympp'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:1150:46: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:1155:46: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:1274:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:1315:13: style: Variable 'center' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:1339:13: style: Variable 'new_center' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:1360:13: style: Variable 'new_center' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:1506:43: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:1512:44: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:1568:17: style: Variable 'center' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:1569:17: style: Variable 'utm' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:1580:20: style: Variable 'center' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:1581:20: style: Variable 'll' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:1621:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT16 [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:171:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:1736:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_RGB_DITHER_NONE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:1900:50: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:1928:62: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:2019:13: style: Variable 'found' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:2041:16: style: Variable 'found' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:2042:16: style: Condition 'found==NULL' is always true [knownConditionTrueFalse] viking-1.10+git20250612.b98e55e/src/vikviewport.c:2041:24: note: Assignment 'found=NULL', assigned value is 0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:2042:16: note: Condition 'found==NULL' is always true 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:214:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:217:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:317:62: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:323:63: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:330:73: style:inconclusive: Function 'vik_viewport_set_background_color' argument 2 names different: declaration 'color' definition 'colorname'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikviewport.h:160:73: note: Function 'vik_viewport_set_background_color' argument 2 names different: declaration 'color' definition 'colorname'. viking-1.10+git20250612.b98e55e/src/vikviewport.c:330:73: note: Function 'vik_viewport_set_background_color' argument 2 names different: declaration 'color' definition 'colorname'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:338:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:351:61: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:357:62: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:364:72: style:inconclusive: Function 'vik_viewport_set_highlight_color' argument 2 names different: declaration 'color' definition 'colorname'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikviewport.h:168:72: note: Function 'vik_viewport_set_highlight_color' argument 2 names different: declaration 'color' definition 'colorname'. viking-1.10+git20250612.b98e55e/src/vikviewport.c:364:72: note: Function 'vik_viewport_set_highlight_color' argument 2 names different: declaration 'color' definition 'colorname'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:382:53: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:387:58: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:409:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:430:49: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:521:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:533:63: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:559:53: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:574:48: style:inconclusive: Function 'vik_viewport_configure' argument 1 names different: declaration 'vp' definition 'vvp'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikviewport.h:65:48: note: Function 'vik_viewport_configure' argument 1 names different: declaration 'vp' definition 'vvp'. viking-1.10+git20250612.b98e55e/src/vikviewport.c:574:48: note: Function 'vik_viewport_configure' argument 1 names different: declaration 'vp' definition 'vvp'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:581:25: style: Variable 'changed_size' is assigned a value that is never used. [unreadVariable] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:583:18: style: Variable 'changed_size' is assigned a value that is never used. [unreadVariable] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:723:53: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:810:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_desc [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:875:12: style: Variable 'copyright' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:890:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_desc [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:917:58: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:970:57: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikviewport.c:991:43: style: Parameter 'vvp' can be declared as pointer to const. However it seems that 'draw_popup' is a callback function, if 'vvp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikviewport.c:1063:56: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikviewport.c:991:43: note: Parameter 'vvp' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwaypoint.c:338:52: style: Parameter 'wp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwaypoint.c:344:114: style: Parameter 'ext_end' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwaypoint.c:344:43: style: Parameter 'wp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwaypoint.c:344:96: style: Parameter 'ext_start' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwaypoint.c:365:16: style: Local variable 'key' shadows outer argument [shadowArgument] viking-1.10+git20250612.b98e55e/src/vikwaypoint.c:344:84: note: Shadowed declaration viking-1.10+git20250612.b98e55e/src/vikwaypoint.c:365:16: note: Shadow variable 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwaypoint.c:365:21: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwaypoint.c:365:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwaypoint.c:38:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwaypoint.c:441:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwaypoint.c:554:69: style:inconclusive: Function 'vik_waypoint_marshall' argument 3 names different: declaration 'len' definition 'datalen'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikwaypoint.h:103:69: note: Function 'vik_waypoint_marshall' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.10+git20250612.b98e55e/src/vikwaypoint.c:554:69: note: Function 'vik_waypoint_marshall' argument 3 names different: declaration 'len' definition 'datalen'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwaypoint.c:584:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwaypoint.c:584:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtool.c:100:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable get_url_at_position [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtool.c:64:44: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtool_datasource.c:154:58: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'webtool_datasource_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwebtool_datasource.c:345:32: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwebtool_datasource.c:154:58: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtool_datasource.c:224:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtool_datasource.c:230:9: style: Variable 'last_str' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtool_datasource.c:242:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtool_datasource.c:267:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtool_datasource.c:351:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtool_datasource.c:539:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtool_datasource.c:551:13: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtool_datasource.c:603:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtool_datasource.c:82:60: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'webtool_datasource_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwebtool_datasource.c:344:32: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwebtool_datasource.c:82:60: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolbounds.c:120:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolbounds.c:161:52: style:inconclusive: Function 'webtool_bounds_get_url' argument 1 names different: declaration 'vw' definition 'self'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikwebtoolbounds.c:39:52: note: Function 'webtool_bounds_get_url' argument 1 names different: declaration 'vw' definition 'self'. viking-1.10+git20250612.b98e55e/src/vikwebtoolbounds.c:161:52: note: Function 'webtool_bounds_get_url' argument 1 names different: declaration 'vw' definition 'self'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolbounds.c:189:64: style:inconclusive: Function 'webtool_bounds_get_url_at_position' argument 1 names different: declaration 'vw' definition 'self'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikwebtoolbounds.c:40:64: note: Function 'webtool_bounds_get_url_at_position' argument 1 names different: declaration 'vw' definition 'self'. viking-1.10+git20250612.b98e55e/src/vikwebtoolbounds.c:189:64: note: Function 'webtool_bounds_get_url_at_position' argument 1 names different: declaration 'vw' definition 'self'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolbounds.c:63:44: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'webtool_bounds_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwebtoolbounds.c:113:33: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwebtoolbounds.c:63:44: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolbounds.c:86:42: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'webtool_bounds_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwebtoolbounds.c:114:33: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwebtoolbounds.c:86:42: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolbounds.c:88:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolcenter.c:123:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolcenter.c:166:56: style: Parameter 'self' can be declared as pointer to const. However it seems that 'webtool_center_mpp_to_zoom' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwebtoolcenter.c:134:24: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwebtoolcenter.c:166:56: note: Parameter 'self' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolcenter.c:170:100: style: Parameter 'vc' can be declared as pointer to const. However it seems that 'webtool_center_get_url_at_position' is a callback function, if 'vc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwebtoolcenter.c:132:37: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwebtoolcenter.c:170:100: note: Parameter 'vc' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolcenter.c:170:64: style:inconclusive: Function 'webtool_center_get_url_at_position' argument 1 names different: declaration 'vw' definition 'self'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikwebtoolcenter.c:43:64: note: Function 'webtool_center_get_url_at_position' argument 1 names different: declaration 'vw' definition 'self'. viking-1.10+git20250612.b98e55e/src/vikwebtoolcenter.c:170:64: note: Function 'webtool_center_get_url_at_position' argument 1 names different: declaration 'vw' definition 'self'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolcenter.c:204:52: style:inconclusive: Function 'webtool_center_get_url' argument 1 names different: declaration 'vw' definition 'self'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikwebtoolcenter.c:42:52: note: Function 'webtool_center_get_url' argument 1 names different: declaration 'vw' definition 'self'. viking-1.10+git20250612.b98e55e/src/vikwebtoolcenter.c:204:52: note: Function 'webtool_center_get_url' argument 1 names different: declaration 'vw' definition 'self'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolcenter.c:66:44: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'webtool_center_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwebtoolcenter.c:116:33: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwebtoolcenter.c:66:44: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolcenter.c:89:42: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'webtool_center_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwebtoolcenter.c:117:33: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwebtoolcenter.c:89:42: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolcenter.c:91:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:132:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:189:56: style: Parameter 'self' can be declared as pointer to const. However it seems that 'webtool_format_mpp_to_zoom' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:152:23: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:189:56: note: Parameter 'self' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:195:64: warning: Function 'webtool_format_get_url_at_position' argument order different: declaration 'vw, vwindow, vc' definition 'self, vw, vc' [funcArgOrderDifferent] viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:43:64: note: Function 'webtool_format_get_url_at_position' argument order different: declaration 'vw, vwindow, vc' definition 'self, vw, vc' viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:195:64: note: Function 'webtool_format_get_url_at_position' argument order different: declaration 'vw, vwindow, vc' definition 'self, vw, vc' 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:195:95: style: Parameter 'vc' can be declared as pointer to const. However it seems that 'webtool_format_get_url_at_position' is a callback function, if 'vc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:150:36: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:195:95: note: Parameter 'vc' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:253:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:265:13: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:293:52: warning: Function 'webtool_format_get_url' argument order different: declaration 'vw, vwindow' definition 'self, vw' [funcArgOrderDifferent] viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:42:52: note: Function 'webtool_format_get_url' argument order different: declaration 'vw, vwindow' definition 'self, vw' viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:293:52: note: Function 'webtool_format_get_url' argument order different: declaration 'vw, vwindow' definition 'self, vw' 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:68:44: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'webtool_format_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:125:32: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:68:44: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:95:42: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'webtool_format_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:126:32: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:95:42: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwebtoolformat.c:97:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1074:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1132:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1149:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1173:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VOLUME_IDENTIFIER_KIND_LABEL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1180:59: warning: Either the condition 'id' is redundant or there is possible null pointer dereference: id. [nullPointerRedundantCheck] viking-1.10+git20250612.b98e55e/src/vikwindow.c:1186:24: note: Assuming that condition 'id' is not redundant viking-1.10+git20250612.b98e55e/src/vikwindow.c:1180:59: note: Null pointer dereference 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1202:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VOLUME_IDENTIFIER_KIND_LABEL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1210:63: warning: Either the condition 'id' is redundant or there is possible null pointer dereference: id. [nullPointerRedundantCheck] viking-1.10+git20250612.b98e55e/src/vikwindow.c:1216:41: note: Assuming that condition 'id' is not redundant viking-1.10+git20250612.b98e55e/src/vikwindow.c:1210:63: note: Null pointer dereference 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1235:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VOLUME_IDENTIFIER_KIND_LABEL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1314:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WATCH [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1360:19: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1362:19: 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] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1583:70: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1591:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1631:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1672:10: style: Condition 'vl' is always true [knownConditionTrueFalse] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1700:52: style: Parameter 'vw' can be declared as pointer to const. However it seems that 'key_release_event_vlp' is a callback function, if 'vw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwindow.c:1430:3: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwindow.c:1700:52: note: Parameter 'vw' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1700:69: style: Parameter 'event' can be declared as pointer to const. However it seems that 'key_release_event_vlp' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwindow.c:1430:3: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwindow.c:1700:69: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1700:85: style: Parameter 'data' can be declared as pointer to const. However it seems that 'key_release_event_vlp' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwindow.c:1430:3: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwindow.c:1700:85: note: Parameter 'data' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1712:10: style: Condition 'vl' is always true [knownConditionTrueFalse] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1733:20: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1738:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1843:109: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tooltip [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1862:10: style: Variable 'unit' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:1999:66: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:2038:65: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:2165:69: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:2177:20: style: Variable 'gs' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:2230:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SCROLL_UP [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:2238:67: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:2240:24: style: Variable 'DELTA_STEP' is assigned a value that is never used. [unreadVariable] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:2257:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:2339:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:2406:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_desc [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:2752:63: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:2801:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:2813:62: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:2853:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_HIGH_IDLE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:2878:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_desc [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:2964:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:2972:76: style: Parameter 'event' can be declared as pointer to const. However it seems that 'ruler_release' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwindow.c:3068:24: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwindow.c:2972:76: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:2981:51: style: Parameter 'vl' can be declared as pointer to const. However it seems that 'tool_key_press_common' is a callback function, if 'vl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwindow.c:3407:22: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwindow.c:2981:51: note: Parameter 'vl' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:2981:68: style: Parameter 'event' can be declared as pointer to const. However it seems that 'tool_key_press_common' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwindow.c:3407:22: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwindow.c:2981:68: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:2981:84: style: Parameter 'unused_data' can be declared as pointer to const. However it seems that 'tool_key_press_common' is a callback function, if 'unused_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwindow.c:3407:22: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwindow.c:2981:84: note: Parameter 'unused_data' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:2984:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Right [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:2996:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Up [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3019:70: style: Parameter 'event' can be declared as pointer to const. However it seems that 'tool_key_release_common' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwindow.c:3408:22: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwindow.c:3019:70: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3023:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:303:46: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3044:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:308:53: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3129:74: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:316:54: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3173:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_HIGH_IDLE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3179:77: style: Parameter 'event' can be declared as pointer to const. However it seems that 'zoomtool_click' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwindow.c:3339:24: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwindow.c:3179:77: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3181:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3228:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3240:79: style: Parameter 'event' can be declared as pointer to const. However it seems that 'zoomtool_release' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwindow.c:3341:24: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwindow.c:3240:79: note: Parameter 'event' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3242:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:324:50: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3353:61: style: Parameter 'vvp' can be declared as pointer to const. However it seems that 'pantool_create' is a callback function, if 'vvp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwindow.c:3400:30: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwindow.c:3353:61: note: Parameter 'vvp' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3361:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_2BUTTON_PRESS [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3453:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3525:49: style: Parameter 'te' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3553:59: style: Parameter 'vl' can be declared as pointer to const. However it seems that 'selecttool_click' is a callback function, if 'vl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwindow.c:3782:24: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwindow.c:3553:59: note: Parameter 'vl' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3555:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_2BUTTON_PRESS [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3609:20: style: Variable 'gs' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3634:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_MOD5_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3661:22: style: Variable 'gs' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3669:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_MOD5_MASK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3723:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Left [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3743:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Menu [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:3847:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:4006:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:403:12: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:427:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:4333:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FORMAT_SIZE_LONG_FORMAT [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:4334:16: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:4569:46: style: Parameter 'vt' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:4573:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:459:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:4631:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:4659:140: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:4707:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:4749:54: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:4754:53: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:4766:59: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:4821:47: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:4883:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RECENT_SORT_MRU [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:4900:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:4934:1: error: Memory leak: recent_data [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:5035:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:5219:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:5232:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:5301:78: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:5351:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:5414:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:5461:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:5466:54: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:5578:44: style: Parameter 'a' can be declared as pointer to const. However it seems that 'mapcache_flush_cb' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwindow.c:6594:161: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwindow.c:5578:44: note: Parameter 'a' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:5578:58: style: Parameter 'vw' can be declared as pointer to const. However it seems that 'mapcache_flush_cb' is a callback function, if 'vw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwindow.c:6594:161: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwindow.c:5578:58: note: Parameter 'vw' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:5594:5: error: Memory leak: texts [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:5685:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:5740:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:5800:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:5830:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:5830:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:5874:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:5893:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:5901:7: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:5901:7: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:5984:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable viking_vvp [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:6036:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:6052:12: style: Variable 'extension' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:6141:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:6371:54: style:inconclusive: Function 'window_change_coord_mode_cb' argument 1 names different: declaration 'old' definition 'old_a'. [funcArgNamesDifferent] viking-1.10+git20250612.b98e55e/src/vikwindow.c:140:54: note: Function 'window_change_coord_mode_cb' argument 1 names different: declaration 'old' definition 'old_a'. viking-1.10+git20250612.b98e55e/src/vikwindow.c:6371:54: note: Function 'window_change_coord_mode_cb' argument 1 names different: declaration 'old' definition 'old_a'. 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:6452:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:6467:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:6717:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_active [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:6876:3: error: Memory leak: action.label [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:6876:3: error: Memory leak: action_dl.label [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:6876:3: error: Memory leak: action_dl.name [memleak] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:6956:57: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:6979:57: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:6998:54: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:7018:60: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:7035:56: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:723:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:735:57: style: Parameter 'vl' can be declared as pointer to const [constParameterPointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:749:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:792:117: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:936:14: style: Variable 'str' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwindow.c:940:15: style: Local variable 'entries' shadows outer variable [shadowVariable] viking-1.10+git20250612.b98e55e/src/vikwindow.c:6515:23: note: Shadowed declaration viking-1.10+git20250612.b98e55e/src/vikwindow.c:940:15: note: Shadow variable 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:143:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_wmsc_map_source_parent_class [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:150:51: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'vik_wmsc_map_source_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:304:31: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:150:51: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:231:49: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'vik_wmsc_map_source_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:305:34: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:231:49: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:330:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:443:40: style: Parameter 'self' can be declared as pointer to const. However it seems that '_is_direct_file_access' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:311:45: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:443:40: note: Parameter 'self' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:449:29: style: Parameter 'self' can be declared as pointer to const. However it seems that '_is_mbtiles' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:312:34: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:449:29: note: Parameter 'self' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:455:36: style: Parameter 'self' can be declared as pointer to const. However it seems that '_is_osm_meta_tiles' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:313:41: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:455:36: note: Parameter 'self' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:473:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:487:59: style: Parameter 'src' can be declared as pointer to const. However it seems that '_mapcoord_to_center_coord' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:309:48: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:487:59: note: Parameter 'src' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:500:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:505:48: style: Parameter 'src' can be declared as pointer to const. However it seems that '_get_uri' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:321:26: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:505:48: note: Parameter 'src' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:549:61: style: Parameter 'src' can be declared as pointer to const. However it seems that '_get_download_options' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:323:39: note: You might need to cast the function pointer here viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:549:61: note: Parameter 'src' can be declared as pointer to const 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:581:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:592:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:603:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:614:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:625:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.18.0 viking-1.10+git20250612.b98e55e/src/vikwmscmapsource.c:636:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.10+git20250612.b98e55e/test/test_coord_conversion.c:31:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head viking-1.10+git20250612.b98e55e/test/test_coord_conversion.c:31:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 viking-1.10+git20250612.b98e55e/test/test_coord_conversion.c:36:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIK_TYPE_WMSC_MAP_SOURCE [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/test/test_coord_conversion.c:9:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIK_COORD_LATLON [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/test/test_decimal_output.c:15:27: style: Parameter 'argv' can be declared as const array [constParameter] head viking-1.10+git20250612.b98e55e/test/test_decimal_output.c:17:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head viking-1.10+git20250612.b98e55e/test/test_decimal_output.c:17:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head viking-1.10+git20250612.b98e55e/test/test_parse_latlon.c:12:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head viking-1.10+git20250612.b98e55e/test/test_parse_latlon.c:12:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 viking-1.10+git20250612.b98e55e/test/test_parse_latlon.c:24:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] 2.18.0 viking-1.10+git20250612.b98e55e/test/test_time.c:14:26: style: Parameter 'argv' can be declared as const array [constParameter] head viking-1.10+git20250612.b98e55e/test/test_time.c:16:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head viking-1.10+git20250612.b98e55e/test/test_time.c:16:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head viking-1.10+git20250612.b98e55e/test/vik2vik.c:27:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head viking-1.10+git20250612.b98e55e/test/vik2vik.c:27:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 viking-1.10+git20250612.b98e55e/test/vik2vik.c:55:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOAD_TYPE_VIK_FAILURE_NON_FATAL [valueFlowBailoutIncompleteVar] DONE