2026-02-19 16:51 ftp://ftp.de.debian.org/debian/pool/main/v/viking/viking_1.11.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=libcurl --library=sqlite3 --library=zlib --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 -j6 platform: Linux-6.18.9+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.12 client-version: 1.3.69 compiler: g++ (Debian 15.2.0-13) 15.2.0 cppcheck: head 2.19.0 head-info: 1f72150a (2026-02-19 10:01:06 +0100) count: 2110 221 elapsed-time: 22.8 2.5 head-timing-info: old-timing-info: head results: viking-1.11/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] viking-1.11/src/background.c:71:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] viking-1.11/src/background.c:170:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/background.c:195:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkTreeIter [valueFlowBailoutIncompleteVar] viking-1.11/src/background.c:234:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/background.c:379:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CLOSE [valueFlowBailoutIncompleteVar] viking-1.11/src/background.c:411:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] viking-1.11/src/background.c:418:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] viking-1.11/src/acquire.c:109:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] viking-1.11/src/acquire.c:239:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] viking-1.11/src/acquire.c:487:113: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] viking-1.11/src/babel_ui.c:52:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] viking-1.11/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] viking-1.11/src/babel_ui.c:48:14: style: Variable 'file' can be declared as pointer to const [constVariablePointer] viking-1.11/src/acquire.c:178:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] viking-1.11/src/acquire.c:230:7: error: Memory leak: options [memleak] viking-1.11/src/acquire.c:253:7: error: Memory leak: options [memleak] viking-1.11/src/acquire.c:265:7: error: Memory leak: options [memleak] viking-1.11/src/acquire.c:376:7: error: Return value of allocation function 'g_thread_try_new' is not stored. [leakReturnValNotUsed] viking-1.11/src/coords.c:79:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] viking-1.11/src/bingmapsource.c:130:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bing_map_source_parent_class [valueFlowBailoutIncompleteVar] viking-1.11/src/bingmapsource.c:217:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] viking-1.11/src/bingmapsource.c:299:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/bingmapsource.c:415:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] viking-1.11/src/bingmapsource.c:476:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/curl_download.c:78:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/curl_download.c:108:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_GLOBAL_ALL [valueFlowBailoutIncompleteVar] viking-1.11/src/curl_download.c:148:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/curl_download.c:183:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLE_FAILED_INIT [valueFlowBailoutIncompleteVar] viking-1.11/src/curl_download.c:343:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_WRITEDATA [valueFlowBailoutIncompleteVar] viking-1.11/src/curl_download.c:76:9: style: Condition 'etag_str' is always true [knownConditionTrueFalse] viking-1.11/src/curl_download.c:356:27: error: Dereferencing 'curl' after it is deallocated / released [deallocuse] viking-1.11/src/curl_download.c:358:27: error: Dereferencing 'curl' after it is deallocated / released [deallocuse] viking-1.11/src/curl_download.c:179:114: style:inconclusive: Function 'curl_download_uri' argument 4 names different: declaration 'curl_options' definition 'cdo'. [funcArgNamesDifferent] viking-1.11/src/curl_download.h:58:114: note: Function 'curl_download_uri' argument 4 names different: declaration 'curl_options' definition 'cdo'. viking-1.11/src/curl_download.c:179:114: note: Function 'curl_download_uri' argument 4 names different: declaration 'curl_options' definition 'cdo'. viking-1.11/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.11/src/curl_download.h:57:154: note: Function 'curl_download_get_url' argument 6 names different: declaration 'curl_options' definition 'cdo'. viking-1.11/src/curl_download.c:275:154: note: Function 'curl_download_get_url' argument 6 names different: declaration 'curl_options' definition 'cdo'. viking-1.11/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.11/src/curl_download.c:191:51: note: You might need to cast the function pointer here viking-1.11/src/curl_download.c:61:37: note: Parameter 'ptr' can be declared as pointer to const viking-1.11/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.11/src/curl_download.c:208:58: note: You might need to cast the function pointer here viking-1.11/src/curl_download.c:66:40: note: Parameter 'ptr' can be declared as pointer to const viking-1.11/src/curl_download.c:74:11: style: Variable 'etag_str' can be declared as pointer to const [constVariablePointer] viking-1.11/src/curl_download.c:75:11: style: Variable 'end_str' can be declared as pointer to const [constVariablePointer] viking-1.11/src/curl_download.c:146:77: style: Parameter 'options' can be declared as pointer to const [constParameterPointer] viking-1.11/src/curl_download.c:179:60: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] viking-1.11/src/curl_download.c:179:114: style: Parameter 'cdo' can be declared as pointer to const [constParameterPointer] viking-1.11/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.11/src/curl_download.c:344:51: note: You might need to cast the function pointer here viking-1.11/src/curl_download.c:311:41: note: Parameter 'ptr' can be declared as pointer to const viking-1.11/src/datasource_bfilter.c:54:23: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/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.11/src/datasource_bfilter.c:235:40: note: You might need to cast the function pointer here viking-1.11/src/datasource_bfilter.c:219:80: note: Parameter 'paramdatas' can be declared as pointer to const viking-1.11/src/bingmapsource.c:421:14: style: Condition 'offset==-1' is always false [knownConditionTrueFalse] viking-1.11/src/bingmapsource.c:137: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.11/src/bingmapsource.c:206:31: note: You might need to cast the function pointer here viking-1.11/src/bingmapsource.c:137:30: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/src/bingmapsource.c:170: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.11/src/bingmapsource.c:207:31: note: You might need to cast the function pointer here viking-1.11/src/bingmapsource.c:170:28: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/src/bingmapsource.c:173:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/bingmapsource.c:268: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.11/src/bingmapsource.c:208:31: note: You might need to cast the function pointer here viking-1.11/src/bingmapsource.c:268:48: note: Parameter 'src' can be declared as pointer to const viking-1.11/src/bingmapsource.c:289: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.11/src/bingmapsource.c:210:30: note: You might need to cast the function pointer here viking-1.11/src/bingmapsource.c:289:26: note: Parameter 'self' can be declared as pointer to const viking-1.11/src/bingmapsource.c:452:25: style: Variable 'aa' can be declared as pointer to const [constVariablePointer] viking-1.11/src/bingmapsource.c:490: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.11/src/bingmapsource.c:508:31: note: You might need to cast the function pointer here viking-1.11/src/bingmapsource.c:490:25: note: Parameter 'data' can be declared as pointer to const viking-1.11/src/clipboard.c:255:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/clipboard.c:267:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/clipboard.c:302:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/clipboard.c:361:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_TARGET_STRING [valueFlowBailoutIncompleteVar] viking-1.11/src/clipboard.c:434:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] viking-1.11/src/clipboard.c:462:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] viking-1.11/src/clipboard.c:524:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] viking-1.11/src/datasource_file.c:120:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] viking-1.11/src/datasource_file.c:170:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.11/src/compression.c:297:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GInputStream [valueFlowBailoutIncompleteVar] viking-1.11/src/datasource_geojson.c:76:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] viking-1.11/src/datasource_geojson.c:154:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/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.11/src/datasource_file.c:58:28: note: You might need to cast the function pointer here viking-1.11/src/datasource_file.c:76:51: note: Parameter 'avt' can be declared as pointer to const viking-1.11/src/datasource_file.c:168:10: style: Variable 'type' can be declared as pointer to const [constVariablePointer] viking-1.11/src/compression.c:89:61: style: Parameter 'top' can be declared as pointer to const [constParameterPointer] viking-1.11/src/compression.c:90:55: style: Parameter 'vp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/compression.c:91:55: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/compression.c:218:25: style: Parameter 'zip_file' can be declared as pointer to const [constParameterPointer] viking-1.11/src/compression.c:218:43: style: Parameter 'unzip_size' can be declared as pointer to const [constParameterPointer] viking-1.11/src/compression.c:394:9: style: Variable 'tmp_name' can be declared as pointer to const [constVariablePointer] viking-1.11/src/compression.c:503:9: style: Variable 'tmp_name' can be declared as pointer to const [constVariablePointer] viking-1.11/src/compression.c:537:9: style: Variable 'tmp_name' can be declared as pointer to const [constVariablePointer] viking-1.11/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.11/src/datasource_geojson.c:37:86: note: Function 'datasource_geojson_get_process_options' argument 1 names different: declaration 'user_data' definition 'userdata'. viking-1.11/src/datasource_geojson.c:111:86: note: Function 'datasource_geojson_get_process_options' argument 1 names different: declaration 'user_data' definition 'userdata'. viking-1.11/src/datasource_geotag.c:79:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] viking-1.11/src/datasource_geotag.c:163:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/datasource_gps.c:144:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.11/src/datasource_gps.c:287:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.11/src/datasource_osm.c:124:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] viking-1.11/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.11/src/datasource_osm.c:63:41: note: You might need to cast the function pointer here viking-1.11/src/datasource_osm.c:100:126: note: Parameter 'options' can be declared as pointer to const viking-1.11/src/datasource_url.c:153:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.11/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.11/src/datasource_url.c:52:40: note: You might need to cast the function pointer here viking-1.11/src/datasource_url.c:68:50: note: Parameter 'avt' can be declared as pointer to const viking-1.11/src/datasource_url.c:83:48: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'find_type' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/datasource_url.c:116:46: note: You might need to cast the function pointer here viking-1.11/src/datasource_url.c:83:48: note: Parameter 'user_data' can be declared as pointer to const viking-1.11/src/datasource_osm_my_traces.c:246:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] viking-1.11/src/datasource_osm_my_traces.c:344:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_STATUS_ERROR [valueFlowBailoutIncompleteVar] viking-1.11/src/datasource_osm_my_traces.c:376:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/datasource_osm_my_traces.c:510:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] viking-1.11/src/datasource_osm_my_traces.c:540:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/datasource_osm_my_traces.c:677:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/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] viking-1.11/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] viking-1.11/src/clipboard.c:452:1: error: Memory leak: vc [memleak] viking-1.11/src/clipboard.c:452:1: error: Memory leak: vc.text [memleak] viking-1.11/src/clipboard.c:144:10: style: Variable 'cand' can be declared as pointer to const [constVariablePointer] viking-1.11/src/clipboard.c:170:13: style: Variable 'latc' can be declared as const array [constVariable] viking-1.11/src/clipboard.c:171:13: style: Variable 'lonc' can be declared as const array [constVariable] viking-1.11/src/clipboard.c:246:61: style: Parameter 'coord' can be declared as pointer to const [constParameterPointer] viking-1.11/src/clipboard.c:476:20: style: Variable 'vc' can be declared as pointer to const [constVariablePointer] viking-1.11/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.11/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.11/src/datasource_gps.c:269:43: note: Function 'datasource_gps_off' argument 1 names different: declaration 'add_widgets_data_not_used' definition 'user_data'. viking-1.11/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.11/src/datasource_gps.c:46:97: note: Function 'datasource_gps_off' argument 3 names different: declaration 'input_file' definition 'file_descriptor'. viking-1.11/src/datasource_gps.c:269:81: note: Function 'datasource_gps_off' argument 3 names different: declaration 'input_file' definition 'file_descriptor'. viking-1.11/src/datasource_gps.c:216:9: style: Variable 'device' can be declared as pointer to const [constVariablePointer] viking-1.11/src/datasource_gps.c:217:9: style: Variable 'tracks' can be declared as pointer to const [constVariablePointer] viking-1.11/src/datasource_gps.c:218:9: style: Variable 'routes' can be declared as pointer to const [constVariablePointer] viking-1.11/src/datasource_gps.c:219:9: style: Variable 'waypoints' can be declared as pointer to const [constVariablePointer] viking-1.11/src/datasource_gps.c:272:9: style: Variable 'device' can be declared as pointer to const [constVariablePointer] viking-1.11/src/datasource_gps.c:564:52: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'find_protocol' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/datasource_gps.c:594:51: note: You might need to cast the function pointer here viking-1.11/src/datasource_gps.c:564:52: note: Parameter 'user_data' can be declared as pointer to const viking-1.11/src/degrees_converters.c:40:12: style: Redundant initialization for 'sign_c'. The initialized value is overwritten before it is read. [redundantInitialization] viking-1.11/src/degrees_converters.c:35:16: note: sign_c is initialized viking-1.11/src/degrees_converters.c:40:12: note: sign_c is overwritten viking-1.11/src/degrees_converters.c:77:12: style: Redundant initialization for 'sign_c'. The initialized value is overwritten before it is read. [redundantInitialization] viking-1.11/src/degrees_converters.c:71:16: note: sign_c is initialized viking-1.11/src/degrees_converters.c:77:12: note: sign_c is overwritten viking-1.11/src/degrees_converters.c:119:12: style: Redundant initialization for 'sign_c'. The initialized value is overwritten before it is read. [redundantInitialization] viking-1.11/src/degrees_converters.c:113:16: note: sign_c is initialized viking-1.11/src/degrees_converters.c:119:12: note: sign_c is overwritten viking-1.11/src/dems.c:272:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/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] viking-1.11/src/dems.c:272:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/datasource_routing.c:128:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] viking-1.11/src/datasource_osm_my_traces.c:584:7: style: Condition 'tmpname' is always true [knownConditionTrueFalse] viking-1.11/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.11/src/datasource_routing.c:56:28: note: You might need to cast the function pointer here viking-1.11/src/datasource_routing.c:73:54: note: Parameter 'avt' can be declared as pointer to const viking-1.11/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.11/src/datasource_routing.c:59:41: note: You might need to cast the function pointer here viking-1.11/src/datasource_routing.c:113:134: note: Parameter 'options' can be declared as pointer to const viking-1.11/src/dems.c:93:14: style: Variable 'ldem' can be declared as pointer to const [constVariablePointer] viking-1.11/src/dems.c:153:34: style: Parameter 'dems' can be declared as pointer to const [constParameterPointer] viking-1.11/src/dems.c:174:10: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] viking-1.11/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.11/src/datasource_osm_my_traces.c:61:40: note: You might need to cast the function pointer here viking-1.11/src/datasource_osm_my_traces.c:120:121: note: Parameter 'options' can be declared as pointer to const viking-1.11/src/datasource_osm_my_traces.c:236:16: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] viking-1.11/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.11/src/datasource_osm_my_traces.c:62:40: note: You might need to cast the function pointer here viking-1.11/src/datasource_osm_my_traces.c:544:86: note: Parameter 'process_options' can be declared as pointer to const viking-1.11/src/dir.c:42:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] viking-1.11/src/dir.c:77:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] viking-1.11/src/dir.c:95:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] viking-1.11/src/dir.c:148:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SEARCHPATH_SEPARATOR_S [valueFlowBailoutIncompleteVar] viking-1.11/src/dem.c:158:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_points [valueFlowBailoutIncompleteVar] viking-1.11/src/dem.c:220:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable east_west [valueFlowBailoutIncompleteVar] viking-1.11/src/dem.c:310:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/dem.c:411:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable east_west [valueFlowBailoutIncompleteVar] viking-1.11/src/dem.c:427:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable points [valueFlowBailoutIncompleteVar] viking-1.11/src/dem.c:436:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_points [valueFlowBailoutIncompleteVar] viking-1.11/src/file.c:186:41: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_URL is a macro then please configure it. [unknownMacro] viking-1.11/src/dialog.c:39:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] viking-1.11/src/dialog.c:63:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/dialog.c:89:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/dialog.c:143:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/dialog.c:201:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] viking-1.11/src/dialog.c:223:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/dialog.c:324:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/dialog.c:398:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/dialog.c:446:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/dialog.c:508:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] viking-1.11/src/dialog.c:546:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] viking-1.11/src/dialog.c:595:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/dialog.c:675:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/dialog.c:749:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/dialog.c:798:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/dialog.c:860:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/dialog.c:881:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] viking-1.11/src/dialog.c:989:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/dialog.c:1037:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] viking-1.11/src/dialog.c:1111:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdk_pixbuf_version [valueFlowBailoutIncompleteVar] viking-1.11/src/dialog.c:1208:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/dialog.c:1244:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NEWS [valueFlowBailoutIncompleteVar] viking-1.11/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.11/src/expedia.c:51:117: note: You might need to cast the function pointer here viking-1.11/src/expedia.c:164:58: note: Parameter 'src' can be declared as pointer to const viking-1.11/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.11/src/expedia.c:51:151: note: You might need to cast the function pointer here viking-1.11/src/expedia.c:171:54: note: Parameter 'src' can be declared as pointer to const viking-1.11/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.11/src/expedia.c:51:190: note: You might need to cast the function pointer here viking-1.11/src/expedia.c:201:44: note: Parameter 'handle' can be declared as pointer to const viking-1.11/src/download.c:136:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/download.c:142:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/download.c:145:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/download.c:230:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/download.c:259:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/download.c:276:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/download.c:285:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/download.c:308:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/download.c:325:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/download.c:334:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/download.c:346:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] viking-1.11/src/fileutils.c:134:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] viking-1.11/src/dem.c:281:5: error: Memory leak: dem.columns [memleak] viking-1.11/src/dem.c:433:44: style:inconclusive: Function 'vik_dem_get_xy' argument 2 names different: declaration 'x' definition 'col'. [funcArgNamesDifferent] viking-1.11/src/dem.h:71:44: note: Function 'vik_dem_get_xy' argument 2 names different: declaration 'x' definition 'col'. viking-1.11/src/dem.c:433:44: note: Function 'vik_dem_get_xy' argument 2 names different: declaration 'x' definition 'col'. viking-1.11/src/dem.c:433:55: style:inconclusive: Function 'vik_dem_get_xy' argument 3 names different: declaration 'y' definition 'row'. [funcArgNamesDifferent] viking-1.11/src/dem.h:71:53: note: Function 'vik_dem_get_xy' argument 3 names different: declaration 'y' definition 'row'. viking-1.11/src/dem.c:433:55: note: Function 'vik_dem_get_xy' argument 3 names different: declaration 'y' definition 'row'. viking-1.11/src/dem.c:155:73: style: Parameter 'cur_column' can be declared as pointer to const [constParameterPointer] viking-1.11/src/dem.c:569:41: style: Parameter 'dem' can be declared as pointer to const [constParameterPointer] viking-1.11/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] viking-1.11/src/dialog.c:489: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] viking-1.11/src/dialog.c:556: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] viking-1.11/src/dialog.c:478:16: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/dialog.c:478:16: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/dialog.c:478:16: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/fileutils.c:103:48: style: Parameter 'currentDirectory' can be declared as pointer to const [constParameterPointer] viking-1.11/src/fileutils.c:103:73: style: Parameter 'absoluteFilename' can be declared as pointer to const [constParameterPointer] viking-1.11/src/dialog.c:759:16: style: Variable 'result' is assigned a value that is never used. [unreadVariable] viking-1.11/src/dialog.c:808:15: style: Variable 'result' is assigned a value that is never used. [unreadVariable] viking-1.11/src/download.c:518:61: error: Invalid g_file_open_tmp() argument nr 2. A nul-terminated string is required. [invalidFunctionArgStr] viking-1.11/src/download.c:71:10: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/download.c:313:68: style: Parameter 'cdo' can be declared as pointer to const [constParameterPointer] viking-1.11/src/geojson.c:72:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SPAWN_SEARCH_PATH [valueFlowBailoutIncompleteVar] viking-1.11/src/geojson.c:151:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/geojson.c:203:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/geojson.c:88:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fout [nullPointerOutOfResources] viking-1.11/src/geojson.c:87:22: note: Assuming allocation function fails viking-1.11/src/geojson.c:87:22: note: Assignment 'fout=fdopen(mystdout,"r")', assigned value is 0 viking-1.11/src/geojson.c:88:11: note: Null pointer dereference viking-1.11/src/geojson.c:90:36: warning: If resource allocation fails, then there is a possible null pointer dereference: fout [nullPointerOutOfResources] viking-1.11/src/geojson.c:87:22: note: Assuming allocation function fails viking-1.11/src/geojson.c:87:22: note: Assignment 'fout=fdopen(mystdout,"r")', assigned value is 0 viking-1.11/src/geojson.c:90:36: note: Null pointer dereference viking-1.11/src/geojson.c:174:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fout [nullPointerOutOfResources] viking-1.11/src/geojson.c:173:22: note: Assuming allocation function fails viking-1.11/src/geojson.c:173:22: note: Assignment 'fout=fdopen(mystdout,"r")', assigned value is 0 viking-1.11/src/geojson.c:174:11: note: Null pointer dereference viking-1.11/src/geojson.c:176:36: warning: If resource allocation fails, then there is a possible null pointer dereference: fout [nullPointerOutOfResources] viking-1.11/src/geojson.c:173:22: note: Assuming allocation function fails viking-1.11/src/geojson.c:173:22: note: Assignment 'fout=fdopen(mystdout,"r")', assigned value is 0 viking-1.11/src/geojson.c:176:36: note: Null pointer dereference viking-1.11/src/geojson.c:184:10: warning: If resource allocation fails, then there is a possible null pointer dereference: gpxfile [nullPointerOutOfResources] viking-1.11/src/geojson.c:163:25: note: Assuming allocation function fails viking-1.11/src/geojson.c:163:25: note: Assignment 'gpxfile=fdopen(fd,"w")', assigned value is 0 viking-1.11/src/geojson.c:184:10: note: Null pointer dereference viking-1.11/src/geojson.c:218:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] viking-1.11/src/geojson.c:245:10: style: Variable 'coord' can be declared as pointer to const [constVariablePointer] viking-1.11/src/globals.c:78:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/globals.c:80:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] viking-1.11/src/globals.c:81:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] viking-1.11/src/globals.c:82:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] viking-1.11/src/globals.c:91:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/globals.c:98:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] viking-1.11/src/globals.c:122:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/globals.c:157:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] viking-1.11/src/globals.c:158:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/globals.c:161:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] viking-1.11/src/globals.c:235:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] viking-1.11/src/globals.c:249:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] viking-1.11/src/garminsymbols.c:33:8: style: struct member 'Anonymous2::num' is never used. [unusedStructMember] viking-1.11/src/garminsymbols.c:34:10: style: struct member 'Anonymous2::desc' is never used. [unusedStructMember] viking-1.11/src/globals.c:47:40: style: Parameter 'version' can be declared as pointer to const [constParameterPointer] viking-1.11/src/globals.c:53:10: style: Variable 'part' can be declared as pointer to const [constVariablePointer] viking-1.11/src/geonamessearch.c:63:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/geonamessearch.c:103:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] viking-1.11/src/geonamessearch.c:121:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/geonamessearch.c:471:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/fit.c:296:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/fit.c:522:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/fit.c:533:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/fit.c:553:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/fit.c:638:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/fit.c:652:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/fit.c:733:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/fit.c:785:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/geotag_exif.c:775:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/geotag_exif.c:894:7: style: The if condition is the same as the previous if condition [duplicateCondition] viking-1.11/src/geotag_exif.c:773:7: note: First condition viking-1.11/src/geotag_exif.c:894:7: note: Second condition viking-1.11/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.11/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.11/src/googlesearch.c:73:82: note: Function 'google_goto_tool_parse_file_for_latlon' argument 2 names different: declaration 'filename' definition 'file_name'. viking-1.11/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.11/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.11/src/googlesearch.c:142:86: note: Function 'google_goto_tool_parse_file_for_candidates' argument 2 names different: declaration 'filename' definition 'file_name'. viking-1.11/src/googlesearch.c:64:53: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] viking-1.11/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.11/src/googlesearch.c:56:45: note: You might need to cast the function pointer here viking-1.11/src/googlesearch.c:142:73: note: Parameter 'self' can be declared as pointer to const viking-1.11/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.11/src/googlesearch.c:56:45: note: You might need to cast the function pointer here viking-1.11/src/googlesearch.c:142:86: note: Parameter 'file_name' can be declared as pointer to const viking-1.11/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.11/src/googlesearch.c:53:34: note: You might need to cast the function pointer here viking-1.11/src/googlesearch.c:147:62: note: Parameter 'self' can be declared as pointer to const viking-1.11/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.11/src/googlesearch.c:54:40: note: You might need to cast the function pointer here viking-1.11/src/googlesearch.c:152:75: note: Parameter 'self' can be declared as pointer to const viking-1.11/src/fit.c:560:2: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] viking-1.11/src/fit.c:735:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/fit.c:741:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/fit.c:787:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/fit.c:793:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/fit.c:350:12: style: Local variable 'ts' shadows outer variable [shadowVariable] viking-1.11/src/fit.c:245:17: note: Shadowed declaration viking-1.11/src/fit.c:350:12: note: Shadow variable viking-1.11/src/fit.c:459:13: style: Local variable 'ts' shadows outer variable [shadowVariable] viking-1.11/src/fit.c:245:17: note: Shadowed declaration viking-1.11/src/fit.c:459:13: note: Shadow variable viking-1.11/src/fit.c:193:9: style: Variable 'sym' can be declared as pointer to const [constVariablePointer] viking-1.11/src/gpspoint.c:184:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/gpspoint.c:907:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/gpx.c:2200:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/geonamessearch.c:373:11: style: The if condition is the same as the previous if condition [duplicateCondition] viking-1.11/src/geonamessearch.c:363:11: note: First condition viking-1.11/src/geonamessearch.c:373:11: note: Second condition viking-1.11/src/geonamessearch.c:238:10: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] viking-1.11/src/geonamessearch.c:231:17: style: Variable 'more' is assigned a value that is never used. [unreadVariable] viking-1.11/src/geonamessearch.c:253:10: style: Variable 'more' is assigned a value that is never used. [unreadVariable] viking-1.11/src/jpg.c:59:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/jpg.c:77:7: style: Condition 'wp' is always false [knownConditionTrueFalse] viking-1.11/src/jpg.c:73:20: note: Assignment 'wp=NULL', assigned value is 0 viking-1.11/src/jpg.c:77:7: note: Condition 'wp' is always false viking-1.11/src/jpg.c:97:7: style: Condition 'auto_zoom' is always false [knownConditionTrueFalse] viking-1.11/src/jpg.c:90:15: note: Assignment 'auto_zoom=0', assigned value is 0 viking-1.11/src/jpg.c:97:7: note: Condition 'auto_zoom' is always false viking-1.11/src/gpx.c:558:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/gpx.c:610:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] viking-1.11/src/gpx.c:648:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/gpx.c:1160:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] viking-1.11/src/gpx.c:1358:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_STATUS_ERROR [valueFlowBailoutIncompleteVar] viking-1.11/src/gpx.c:1777:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] viking-1.11/src/gpx.c:1912:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] viking-1.11/src/gpx.c:2055:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable newsegment [valueFlowBailoutIncompleteVar] viking-1.11/src/gpx.c:2190:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/gpx.c:2287:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/gpx.c:2309:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/gpx.c:2398:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/kml.c:196:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] viking-1.11/src/kml.c:436:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/kml.c:524:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/kml.c:603:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] viking-1.11/src/kml.c:829:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/kml.c:902:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_FALSE [valueFlowBailoutIncompleteVar] viking-1.11/src/kml.c:931:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_STATUS_ERROR [valueFlowBailoutIncompleteVar] viking-1.11/src/gpsmapper.c:140:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.11/src/gpsmapper.c:33:10: style: Variable 'layers' can be declared as pointer to const [constVariablePointer] viking-1.11/src/libjpeg/jpeg-data.c:162:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JPEG_MARKER_SOS [valueFlowBailoutIncompleteVar] viking-1.11/src/libjpeg/jpeg-data.c:204:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIF_LOG_CODE_CORRUPT_DATA [valueFlowBailoutIncompleteVar] viking-1.11/src/libjpeg/jpeg-data.c:301:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIF_LOG_CODE_CORRUPT_DATA [valueFlowBailoutIncompleteVar] viking-1.11/src/libjpeg/jpeg-data.c:447:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JPEG_MARKER_APP1 [valueFlowBailoutIncompleteVar] viking-1.11/src/libjpeg/jpeg-data.c:463:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JPEG_MARKER_APP1 [valueFlowBailoutIncompleteVar] viking-1.11/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.11/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.11/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.11/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.11/src/libjpeg/jpeg-data.h:78:22: note: Function 'jpeg_data_save_data' argument 3 names different: declaration 'size' definition 'ds'. viking-1.11/src/libjpeg/jpeg-data.c:113:71: note: Function 'jpeg_data_save_data' argument 3 names different: declaration 'size' definition 'ds'. viking-1.11/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.11/src/libjpeg/jpeg-data.h:68:57: note: Function 'jpeg_data_new_from_data' argument 1 names different: declaration 'data' definition 'd'. viking-1.11/src/libjpeg/jpeg-data.c:173:47: note: Function 'jpeg_data_new_from_data' argument 1 names different: declaration 'data' definition 'd'. viking-1.11/src/kml.c:242:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/kml.c:268:19: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/kml.c:370:18: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/kml.c:469:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/kml.c:500:19: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/kml.c:528:6: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] viking-1.11/src/kml.c:528:6: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] viking-1.11/src/kml.c:544:6: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] viking-1.11/src/kml.c:544:6: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] viking-1.11/src/kml.c:559:6: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] viking-1.11/src/kml.c:559:6: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] viking-1.11/src/kml.c:575:6: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] viking-1.11/src/kml.c:575:6: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] viking-1.11/src/kml.c:316:11: warning: Either the condition 'cp==NULL' is redundant or there is possible null pointer dereference: cp. [nullPointerRedundantCheck] viking-1.11/src/kml.c:324:20: note: Assuming that condition 'cp==NULL' is not redundant viking-1.11/src/kml.c:316:11: note: Null pointer dereference viking-1.11/src/kml.c:315:35: warning: Either the condition 'cp==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] viking-1.11/src/kml.c:324:20: note: Assuming that condition 'cp==NULL' is not redundant viking-1.11/src/kml.c:315:35: note: Null pointer addition viking-1.11/src/kml.c:85:53: style: Parameter 'color' can be declared as pointer to const [constParameterPointer] viking-1.11/src/kml.c:305:11: style: Variable 'endptr' can be declared as pointer to const [constVariablePointer] viking-1.11/src/kml.c:314:11: style: Variable 'vp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/kml.c:523:16: style: Variable 'dd' can be declared as pointer to const [constVariablePointer] viking-1.11/src/kml.c:538:13: style: Variable 'lts' can be declared as pointer to const [constVariablePointer] viking-1.11/src/kml.c:553:13: style: Variable 'lts' can be declared as pointer to const [constVariablePointer] viking-1.11/src/kml.c:570:16: style: Variable 'dd' can be declared as pointer to const [constVariablePointer] viking-1.11/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.11/src/kml.c:957:93: note: You might need to cast the function pointer here viking-1.11/src/kml.c:907:33: note: Parameter 'xd' can be declared as pointer to const viking-1.11/src/kmz.c:102:32: style: Parameter 'pixbuf' can be declared as pointer to const [constParameterPointer] viking-1.11/src/kmz.c:450:57: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/kmz.c:450:78: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/kmz.c:172:12: style: struct member 'xtag_mapping::tag_type' is never used. [unusedStructMember] viking-1.11/src/kmz.c:173:14: style: struct member 'xtag_mapping::tag_name' is never used. [unusedStructMember] viking-1.11/src/mapcache.c:66:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/logging.c:78:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] viking-1.11/src/logging.c:85:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_lock [valueFlowBailoutIncompleteVar] viking-1.11/src/logging.c:111:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] viking-1.11/src/logging.c:322:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_lock [valueFlowBailoutIncompleteVar] viking-1.11/src/logging.c:392:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] viking-1.11/src/logging.c:399:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] viking-1.11/src/mapcache.c:182:16: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/mapcache.c:230:3: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/mapcache.c:248:3: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/mapcache.c:313:3: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/mapcache.c:200:16: style: Variable 'oldkey' can be declared as pointer to const [constVariablePointer] viking-1.11/src/logging.c:368: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] viking-1.11/src/mapcache.c:249:17: style: Variable 'ci' can be declared as pointer to const [constVariablePointer] viking-1.11/src/mapcache.c:259:37: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] viking-1.11/src/logging.c:69:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/logging.c:275: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.11/src/logging.c:357:2: note: You might need to cast the function pointer here viking-1.11/src/logging.c:275:44: note: Parameter 'tree_view' can be declared as pointer to const viking-1.11/src/mapnik_interface.cpp:125:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAPNIK_VERSION_STRING [valueFlowBailoutIncompleteVar] viking-1.11/src/mapnik_interface.cpp:194:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAPNIK_GMERC_PROJ [valueFlowBailoutIncompleteVar] viking-1.11/src/mapnik_interface.cpp:266:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] viking-1.11/src/mapnik_interface.cpp:340:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAPNIK_VERSION_STRING [valueFlowBailoutIncompleteVar] viking-1.11/src/libgeoclue.c:57:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/libgeoclue.c:100:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCLUE_ACCURACY_LEVEL_NONE [valueFlowBailoutIncompleteVar] viking-1.11/src/main.c:92:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_REGEX_CASELESS [valueFlowBailoutIncompleteVar] viking-1.11/src/main.c:135:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] viking-1.11/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.11/src/mapnik_interface.cpp:105:24: style: C-style pointer casting [cstyleCast] viking-1.11/src/mapnik_interface.cpp:158:31: style: C-style pointer casting [cstyleCast] viking-1.11/src/mapnik_interface.cpp:262:37: style: C-style pointer casting [cstyleCast] viking-1.11/src/mapnik_interface.cpp:312:28: style: C-style pointer casting [cstyleCast] viking-1.11/src/mapnik_interface.cpp:117:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] viking-1.11/src/mapnik_interface.cpp:338:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] viking-1.11/src/mapnik_interface.cpp:339:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] viking-1.11/src/mapnik_interface.cpp:80:65: style: Parameter 'mic' can be declared as pointer to const [constParameterPointer] viking-1.11/src/mapnik_interface.cpp:84:54: style: Parameter 'mi' can be declared as pointer to const [constParameterPointer] viking-1.11/src/mapnik_interface.cpp:285:58: style: Parameter 'mi' can be declared as pointer to const [constParameterPointer] viking-1.11/src/mapnik_interface.cpp:153:79: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] viking-1.11/src/mapnik_interface.cpp:303:81: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] viking-1.11/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.11/src/main.c:95:5: error: Memory leak: regex [memleak] viking-1.11/src/main.c:115:7: error: Memory leak: zs [memleak] viking-1.11/src/main.c:116:5: error: Memory leak: exts [memleak] viking-1.11/src/main.c:120:5: error: Memory leak: regex [memleak] viking-1.11/src/misc/gtkhtml.c:102:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] viking-1.11/src/misc/gtkhtml.c:119:9: style: Unused variable: first_end [unusedVariable] viking-1.11/src/misc/gtkhtml.c:119:21: style: Unused variable: colon [unusedVariable] viking-1.11/src/metatile.c:102:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] viking-1.11/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.11/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.11/src/metatile.c:124:21: style: Variable 'ignored' is assigned a value that is never used. [unreadVariable] viking-1.11/src/metatile.c:135:17: style: Variable 'ignored' is assigned a value that is never used. [unreadVariable] viking-1.11/src/metatile.c:142:21: style: Variable 'ignored' is assigned a value that is never used. [unreadVariable] viking-1.11/src/metatile.c:153:17: style: Variable 'ignored' is assigned a value that is never used. [unreadVariable] viking-1.11/src/metatile.c:165:17: style: Variable 'ignored' is assigned a value that is never used. [unreadVariable] viking-1.11/src/metatile.c:166:19: style: Variable 'tile_size' is assigned a value that is never used. [unreadVariable] viking-1.11/src/metatile.c:172:17: style: Variable 'ignored' is assigned a value that is never used. [unreadVariable] viking-1.11/src/metatile.c:182:21: style: Variable 'ignored' is assigned a value that is never used. [unreadVariable] viking-1.11/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.11/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.11/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.11/src/misc/kdtree.c:162:39: style:inconclusive: Function 'insert_rec' argument 1 names different: declaration 'node' definition 'nptr'. [funcArgNamesDifferent] viking-1.11/src/misc/kdtree.c:87:39: note: Function 'insert_rec' argument 1 names different: declaration 'node' definition 'nptr'. viking-1.11/src/misc/kdtree.c:162:39: note: Function 'insert_rec' argument 1 names different: declaration 'node' definition 'nptr'. viking-1.11/src/misc/kdtree.c:399:41: style:inconclusive: Function 'kd_nearest' argument 1 names different: declaration 'tree' definition 'kd'. [funcArgNamesDifferent] viking-1.11/src/misc/kdtree.h:63:41: note: Function 'kd_nearest' argument 1 names different: declaration 'tree' definition 'kd'. viking-1.11/src/misc/kdtree.c:399:41: note: Function 'kd_nearest' argument 1 names different: declaration 'tree' definition 'kd'. viking-1.11/src/misc/kdtree.c:532:47: style:inconclusive: Function 'kd_nearest_range' argument 1 names different: declaration 'tree' definition 'kd'. [funcArgNamesDifferent] viking-1.11/src/misc/kdtree.h:91:47: note: Function 'kd_nearest_range' argument 1 names different: declaration 'tree' definition 'kd'. viking-1.11/src/misc/kdtree.c:532:47: note: Function 'kd_nearest_range' argument 1 names different: declaration 'tree' definition 'kd'. viking-1.11/src/misc/kdtree.c:556:48: style:inconclusive: Function 'kd_nearest_rangef' argument 1 names different: declaration 'tree' definition 'kd'. [funcArgNamesDifferent] viking-1.11/src/misc/kdtree.h:92:48: note: Function 'kd_nearest_rangef' argument 1 names different: declaration 'tree' definition 'kd'. viking-1.11/src/misc/kdtree.c:556:48: note: Function 'kd_nearest_rangef' argument 1 names different: declaration 'tree' definition 'kd'. viking-1.11/src/misc/kdtree.c:608:32: style:inconclusive: Function 'kd_res_free' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] viking-1.11/src/misc/kdtree.h:97:32: note: Function 'kd_res_free' argument 1 names different: declaration 'set' definition 'rset'. viking-1.11/src/misc/kdtree.c:608:32: note: Function 'kd_res_free' argument 1 names different: declaration 'set' definition 'rset'. viking-1.11/src/misc/kdtree.c:620:34: style:inconclusive: Function 'kd_res_rewind' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] viking-1.11/src/misc/kdtree.h:103:34: note: Function 'kd_res_rewind' argument 1 names different: declaration 'set' definition 'rset'. viking-1.11/src/misc/kdtree.c:620:34: note: Function 'kd_res_rewind' argument 1 names different: declaration 'set' definition 'rset'. viking-1.11/src/misc/kdtree.c:625:30: style:inconclusive: Function 'kd_res_end' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] viking-1.11/src/misc/kdtree.h:106:30: note: Function 'kd_res_end' argument 1 names different: declaration 'set' definition 'rset'. viking-1.11/src/misc/kdtree.c:625:30: note: Function 'kd_res_end' argument 1 names different: declaration 'set' definition 'rset'. viking-1.11/src/misc/kdtree.c:630:31: style:inconclusive: Function 'kd_res_next' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] viking-1.11/src/misc/kdtree.h:111:31: note: Function 'kd_res_next' argument 1 names different: declaration 'set' definition 'rset'. viking-1.11/src/misc/kdtree.c:630:31: note: Function 'kd_res_next' argument 1 names different: declaration 'set' definition 'rset'. viking-1.11/src/misc/kdtree.c:636:33: style:inconclusive: Function 'kd_res_item' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] viking-1.11/src/misc/kdtree.h:116:33: note: Function 'kd_res_item' argument 1 names different: declaration 'set' definition 'rset'. viking-1.11/src/misc/kdtree.c:636:33: note: Function 'kd_res_item' argument 1 names different: declaration 'set' definition 'rset'. viking-1.11/src/misc/kdtree.c:647:34: style:inconclusive: Function 'kd_res_itemf' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] viking-1.11/src/misc/kdtree.h:117:34: note: Function 'kd_res_itemf' argument 1 names different: declaration 'set' definition 'rset'. viking-1.11/src/misc/kdtree.c:647:34: note: Function 'kd_res_itemf' argument 1 names different: declaration 'set' definition 'rset'. viking-1.11/src/misc/kdtree.c:661:34: style:inconclusive: Function 'kd_res_item3' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] viking-1.11/src/misc/kdtree.h:118:34: note: Function 'kd_res_item3' argument 1 names different: declaration 'set' definition 'rset'. viking-1.11/src/misc/kdtree.c:661:34: note: Function 'kd_res_item3' argument 1 names different: declaration 'set' definition 'rset'. viking-1.11/src/misc/kdtree.c:671:35: style:inconclusive: Function 'kd_res_item3f' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] viking-1.11/src/misc/kdtree.h:119:35: note: Function 'kd_res_item3f' argument 1 names different: declaration 'set' definition 'rset'. viking-1.11/src/misc/kdtree.c:671:35: note: Function 'kd_res_item3f' argument 1 names different: declaration 'set' definition 'rset'. viking-1.11/src/misc/kdtree.c:825:41: style:inconclusive: Function 'clear_results' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] viking-1.11/src/misc/kdtree.c:89:41: note: Function 'clear_results' argument 1 names different: declaration 'set' definition 'rset'. viking-1.11/src/misc/kdtree.c:825:41: note: Function 'clear_results' argument 1 names different: declaration 'set' definition 'rset'. viking-1.11/src/misc/kdtree.c:615:31: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] viking-1.11/src/misc/kdtree.c:625:30: style: Parameter 'rset' can be declared as pointer to const [constParameterPointer] viking-1.11/src/misc/fpconv.c:333:24: style:inconclusive: Function 'fpconv_dtoa' argument 1 names different: declaration 'fp' definition 'd'. [funcArgNamesDifferent] viking-1.11/src/misc/fpconv.h:30:24: note: Function 'fpconv_dtoa' argument 1 names different: declaration 'fp' definition 'd'. viking-1.11/src/misc/fpconv.c:333:24: note: Function 'fpconv_dtoa' argument 1 names different: declaration 'fp' definition 'd'. viking-1.11/src/misc/fpconv.c:67:43: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/misc/fpconv.c:93:24: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] viking-1.11/src/misc/fpconv.c:93:31: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] viking-1.11/src/misc/fpconv.c:124:32: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/misc/fpconv.c:124:40: style: Parameter 'upper' can be declared as pointer to const [constParameterPointer] viking-1.11/src/misc/fpconv.c:124:51: style: Parameter 'lower' can be declared as pointer to const [constParameterPointer] viking-1.11/src/misc/fpconv.c:137:15: style: Variable 'divp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/misc/fpconv.c:161:15: style: Variable 'unit' can be declared as pointer to const [constVariablePointer] viking-1.11/src/misc/fpconv.c:209:30: style: Parameter 'digits' can be declared as pointer to const [constParameterPointer] viking-1.11/src/misc/fpconv.c:29:18: style: union member 'Anonymous0::dbl' is never used. [unusedStructMember] viking-1.11/src/misc/strtod.c:90:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] viking-1.11/src/misc/heatmap.c:53:12: warning: If memory allocation fails, then there is a possible null pointer dereference: hm [nullPointerOutOfMemory] viking-1.11/src/misc/heatmap.c:61:39: note: Assuming allocation function fails viking-1.11/src/misc/heatmap.c:61:21: note: Assignment 'hm=(struct heatmap_t*)malloc(sizeof(struct heatmap_t))', assigned value is 0 viking-1.11/src/misc/heatmap.c:62:18: note: Calling function 'heatmap_init', 1st argument 'hm' value is 0 viking-1.11/src/misc/heatmap.c:53:12: note: Null pointer dereference viking-1.11/src/misc/heatmap.c:54:5: warning: If memory allocation fails, then there is a possible null pointer dereference: hm [nullPointerOutOfMemory] viking-1.11/src/misc/heatmap.c:61:39: note: Assuming allocation function fails viking-1.11/src/misc/heatmap.c:61:21: note: Assignment 'hm=(struct heatmap_t*)malloc(sizeof(struct heatmap_t))', assigned value is 0 viking-1.11/src/misc/heatmap.c:62:18: note: Calling function 'heatmap_init', 1st argument 'hm' value is 0 viking-1.11/src/misc/heatmap.c:54:5: note: Null pointer dereference viking-1.11/src/misc/heatmap.c:55:5: warning: If memory allocation fails, then there is a possible null pointer dereference: hm [nullPointerOutOfMemory] viking-1.11/src/misc/heatmap.c:61:39: note: Assuming allocation function fails viking-1.11/src/misc/heatmap.c:61:21: note: Assignment 'hm=(struct heatmap_t*)malloc(sizeof(struct heatmap_t))', assigned value is 0 viking-1.11/src/misc/heatmap.c:62:18: note: Calling function 'heatmap_init', 1st argument 'hm' value is 0 viking-1.11/src/misc/heatmap.c:55:5: note: Null pointer dereference viking-1.11/src/misc/heatmap.c:56:5: warning: If memory allocation fails, then there is a possible null pointer dereference: hm [nullPointerOutOfMemory] viking-1.11/src/misc/heatmap.c:61:39: note: Assuming allocation function fails viking-1.11/src/misc/heatmap.c:61:21: note: Assignment 'hm=(struct heatmap_t*)malloc(sizeof(struct heatmap_t))', assigned value is 0 viking-1.11/src/misc/heatmap.c:62:18: note: Calling function 'heatmap_init', 1st argument 'hm' value is 0 viking-1.11/src/misc/heatmap.c:56:5: note: Null pointer dereference viking-1.11/src/misc/heatmap.c:251:12: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] viking-1.11/src/misc/heatmap.c:250:33: note: Assuming allocation function fails viking-1.11/src/misc/heatmap.c:250:19: note: Assignment 'copy=(float*)malloc(sizeof(float)*w*h)', assigned value is 0 viking-1.11/src/misc/heatmap.c:251:12: note: Null pointer dereference viking-1.11/src/gpx.c:1785:26: style: Redundant condition: context->options. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] viking-1.11/src/gpx.c:1926:26: style: Redundant condition: context->options. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] viking-1.11/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] viking-1.11/src/misc/heatmap.c:260:45: style:inconclusive: Function 'heatmap_stamp_gen' argument 1 names different: declaration 'radius' definition 'r'. [funcArgNamesDifferent] viking-1.11/src/misc/heatmap.h:137:45: note: Function 'heatmap_stamp_gen' argument 1 names different: declaration 'radius' definition 'r'. viking-1.11/src/misc/heatmap.c:260:45: note: Function 'heatmap_stamp_gen' argument 1 names different: declaration 'radius' definition 'r'. viking-1.11/src/misc/heatmap.c:265:55: style:inconclusive: Function 'heatmap_stamp_gen_nonlinear' argument 1 names different: declaration 'radius' definition 'r'. [funcArgNamesDifferent] viking-1.11/src/misc/heatmap.h:150:55: note: Function 'heatmap_stamp_gen_nonlinear' argument 1 names different: declaration 'radius' definition 'r'. viking-1.11/src/misc/heatmap.c:265:55: note: Function 'heatmap_stamp_gen_nonlinear' argument 1 names different: declaration 'radius' definition 'r'. viking-1.11/src/misc/heatmap.c:297:70: style:inconclusive: Function 'heatmap_colorscheme_load' argument 1 names different: declaration 'colors' definition 'in_colors'. [funcArgNamesDifferent] viking-1.11/src/misc/heatmap.h:162:70: note: Function 'heatmap_colorscheme_load' argument 1 names different: declaration 'colors' definition 'in_colors'. viking-1.11/src/misc/heatmap.c:297:70: note: Function 'heatmap_colorscheme_load' argument 1 names different: declaration 'colors' definition 'in_colors'. viking-1.11/src/misc/heatmap.c:248:68: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] viking-1.11/src/gpx.c:946:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/gpx.c:955:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/gpx.c:959:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/gpx.c:1712:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/gpx.c:558:7: warning: Either the condition 'lap' is redundant or there is possible null pointer dereference: lap. [nullPointerRedundantCheck] viking-1.11/src/gpx.c:561:12: note: Assuming that condition 'lap' is not redundant viking-1.11/src/gpx.c:558:7: note: Null pointer dereference viking-1.11/src/gpx.c:559:7: warning: Either the condition 'lap' is redundant or there is possible null pointer dereference: lap. [nullPointerRedundantCheck] viking-1.11/src/gpx.c:561:12: note: Assuming that condition 'lap' is not redundant viking-1.11/src/gpx.c:559:7: note: Null pointer dereference viking-1.11/src/gpx.c:560:7: warning: Either the condition 'lap' is redundant or there is possible null pointer dereference: lap. [nullPointerRedundantCheck] viking-1.11/src/gpx.c:561:12: note: Assuming that condition 'lap' is not redundant viking-1.11/src/gpx.c:560:7: note: Null pointer dereference viking-1.11/src/gpx.c:2123:11: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] viking-1.11/src/gpx.c:2311:20: note: Assuming allocation function fails viking-1.11/src/gpx.c:2311:20: note: Assignment 'ff=fdopen(fd,"w")', assigned value is 0 viking-1.11/src/gpx.c:2314:38: note: Calling function 'a_gpx_write_track_file', 3rd argument 'ff' value is 0 viking-1.11/src/gpx.c:2268:22: note: Calling function 'gpx_write_footer', 1st argument 'f' value is 0 viking-1.11/src/gpx.c:2123:11: note: Null pointer dereference viking-1.11/src/gpx.c:2318:10: warning: If resource allocation fails, then there is a possible null pointer dereference: ff [nullPointerOutOfResources] viking-1.11/src/gpx.c:2311:20: note: Assuming allocation function fails viking-1.11/src/gpx.c:2311:20: note: Assignment 'ff=fdopen(fd,"w")', assigned value is 0 viking-1.11/src/gpx.c:2318:10: note: Null pointer dereference viking-1.11/src/gpx.c:1355:47: style:inconclusive: Function 'a_gpx_read_file' argument 1 names different: declaration 'trw' definition 'vtl'. [funcArgNamesDifferent] viking-1.11/src/gpx.h:58:48: note: Function 'a_gpx_read_file' argument 1 names different: declaration 'trw' definition 'vtl'. viking-1.11/src/gpx.c:1355:47: note: Function 'a_gpx_read_file' argument 1 names different: declaration 'trw' definition 'vtl'. viking-1.11/src/gpx.c:2140:38: style:inconclusive: Function 'a_gpx_write_file' argument 1 names different: declaration 'trw' definition 'vtl'. [funcArgNamesDifferent] viking-1.11/src/gpx.h:59:38: note: Function 'a_gpx_write_file' argument 1 names different: declaration 'trw' definition 'vtl'. viking-1.11/src/gpx.c:2140:38: note: Function 'a_gpx_write_file' argument 1 names different: declaration 'trw' definition 'vtl'. viking-1.11/src/gpx.c:2263:44: style:inconclusive: Function 'a_gpx_write_track_file' argument 1 names different: declaration 'trw' definition 'vtl'. [funcArgNamesDifferent] viking-1.11/src/gpx.h:60:44: note: Function 'a_gpx_write_track_file' argument 1 names different: declaration 'trw' definition 'vtl'. viking-1.11/src/gpx.c:2263:44: note: Function 'a_gpx_write_track_file' argument 1 names different: declaration 'trw' definition 'vtl'. viking-1.11/src/gpx.c:1814:12: style: Local variable 'tmp' shadows outer variable [shadowVariable] viking-1.11/src/gpx.c:1763:10: note: Shadowed declaration viking-1.11/src/gpx.c:1814:12: note: Shadow variable viking-1.11/src/gpx.c:249:16: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] viking-1.11/src/gpx.c:258:22: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] viking-1.11/src/gpx.c:267:22: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] viking-1.11/src/gpx.c:467:19: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] viking-1.11/src/gpx.c:1817:16: style: Variable 'rtmp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/gpx.c:2019:10: style: Variable 'header' can be declared as pointer to const [constVariablePointer] viking-1.11/src/gpx.c:2089:12: style: Variable 'header' can be declared as pointer to const [constVariablePointer] viking-1.11/src/gpx.c:2128:16: style: Variable 'a' can be declared as pointer to const [constVariablePointer] viking-1.11/src/gpx.c:2129:16: style: Variable 'b' can be declared as pointer to const [constVariablePointer] viking-1.11/src/gpx.c:2135:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] viking-1.11/src/gpx.c:2136:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] viking-1.11/src/gpx.c:2155:19: style: Variable 'md' can be declared as pointer to const [constVariablePointer] viking-1.11/src/gpx.c:2247:12: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] viking-1.11/src/gpx.c:2354:16: style: Variable 'a' can be declared as pointer to const [constVariablePointer] viking-1.11/src/gpx.c:2355:16: style: Variable 'b' can be declared as pointer to const [constVariablePointer] viking-1.11/src/gpx.c:2361:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] viking-1.11/src/gpx.c:2362:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] viking-1.11/src/gpx.c:2368:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] viking-1.11/src/gpx.c:2369:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] viking-1.11/src/gpx.c:1471:14: style: struct member 'entity_types::not_html' is never used. [unusedStructMember] viking-1.11/src/gpx.c:1987:35: style: Variable 'first_tp_is_newsegment' is assigned a value that is never used. [unreadVariable] viking-1.11/src/preferences.c:412:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/modules.c:75:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/modules.c:84:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/modules.c:92:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/modules.c:100:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/modules.c:108:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/modules.c:191:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIKING_SYSCONFDIR [valueFlowBailoutIncompleteVar] viking-1.11/src/preferences.c:145:138: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.11/src/preferences.c:158:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/preferences.c:266:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/preferences.c:285:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/preferences.c:364:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/preferences.c:412:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/preferences.c:440:48: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] viking-1.11/src/preferences.c:94:29: style: Variable 'oldval' can be declared as pointer to const [constVariablePointer] viking-1.11/src/preferences.c:145:27: style: Variable 'val' can be declared as pointer to const [constVariablePointer] viking-1.11/src/preferences.c:400:35: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'reset_cb' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/preferences.c:421:37: note: You might need to cast the function pointer here viking-1.11/src/preferences.c:400:35: note: Parameter 'widget' can be declared as pointer to const viking-1.11/src/settings.c:44:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_KEY_FILE_KEEP_COMMENTS [valueFlowBailoutIncompleteVar] viking-1.11/src/osm-traces.c:420:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_ERROR_SIZE [valueFlowBailoutIncompleteVar] viking-1.11/src/osm-traces.c:578:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/osm-traces.c:656:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/settings.c:89:2: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] viking-1.11/src/socket.c:208:35: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] viking-1.11/src/print-preview.c:92:28: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] viking-1.11/src/print.c:113:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG [valueFlowBailoutIncompleteVar] viking-1.11/src/print.c:135:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/print.c:145:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/print.c:215:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/print.c:271:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/print.c:372:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/print.c:563:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/print.c:697:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/print-preview.c:92:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] viking-1.11/src/print-preview.c:155:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS_MASK [valueFlowBailoutIncompleteVar] viking-1.11/src/print-preview.c:195:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_print_preview_parent_class [valueFlowBailoutIncompleteVar] viking-1.11/src/print-preview.c:354:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_FLEUR [valueFlowBailoutIncompleteVar] viking-1.11/src/print-preview.c:385:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SEAT_CAPABILITY_POINTER [valueFlowBailoutIncompleteVar] viking-1.11/src/print-preview.c:472:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/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] viking-1.11/src/osm-traces.c:674:26: style: Condition 'osm_use_basic_auth()' is always true [knownConditionTrueFalse] viking-1.11/src/osm-traces.c:642:25: note: Assignment 'basic_auth=!0', assigned value is 1 viking-1.11/src/osm-traces.c:674:26: note: Calling function 'osm_use_basic_auth' returns 1 viking-1.11/src/osm-traces.c:674:26: note: Condition 'osm_use_basic_auth()' is always true viking-1.11/src/osm-traces.c:783:28: style: Condition 'osm_use_basic_auth()' is always true [knownConditionTrueFalse] viking-1.11/src/osm-traces.c:642:25: note: Assignment 'basic_auth=!0', assigned value is 1 viking-1.11/src/osm-traces.c:783:28: note: Calling function 'osm_use_basic_auth' returns 1 viking-1.11/src/osm-traces.c:783:28: note: Condition 'osm_use_basic_auth()' is always true viking-1.11/src/osm-traces.c:420:8: style: Variable 'curl_error_buffer' can be declared as const array [constVariable] viking-1.11/src/osm-traces.c:567:14: style: Variable 'timeinfo' can be declared as pointer to const [constVariablePointer] viking-1.11/src/osm-traces.c:614:22: style: Variable 'pref_user' can be declared as pointer to const [constVariablePointer] viking-1.11/src/osm-traces.c:615:22: style: Variable 'pref_password' can be declared as pointer to const [constVariablePointer] viking-1.11/src/osm-traces.c:736:19: style: Variable 'md' can be declared as pointer to const [constVariablePointer] viking-1.11/src/osm-traces.c:505:45: error: Uninitialized variable: curl_error_buffer [uninitvar] viking-1.11/src/print.c:578: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] viking-1.11/src/print.c:582: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] viking-1.11/src/print.c:586: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] viking-1.11/src/print.c:589: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] viking-1.11/src/print.c:604: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] viking-1.11/src/print.c:633: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] viking-1.11/src/print.c:636: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] viking-1.11/src/print.c:140: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.11/src/print.c:104:3: note: You might need to cast the function pointer here viking-1.11/src/print.c:140:42: note: Parameter 'operation' can be declared as pointer to const viking-1.11/src/print.c:141: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.11/src/print.c:104:3: note: You might need to cast the function pointer here viking-1.11/src/print.c:141:42: note: Parameter 'context' can be declared as pointer to const viking-1.11/src/print.c:142: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.11/src/print.c:104:3: note: You might need to cast the function pointer here viking-1.11/src/print.c:142:34: note: Parameter 'data' can be declared as pointer to const viking-1.11/src/print.c:151:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] viking-1.11/src/print.c:167:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] viking-1.11/src/print.c:36:19: style: struct member 'PrintCenterName::mode' is never used. [unusedStructMember] viking-1.11/src/print.c:49:23: style: struct member 'PrintData::show_info_header' is never used. [unusedStructMember] viking-1.11/src/terraservermapsource.c:73:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable terraserver_map_source_parent_class [valueFlowBailoutIncompleteVar] viking-1.11/src/terraservermapsource.c:143:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT8 [valueFlowBailoutIncompleteVar] viking-1.11/src/terraservermapsource.c:184:71: style:inconclusive: Function '_coord_to_mapcoord' argument 3 names different: declaration 'xzoom' definition 'xmpp'. [funcArgNamesDifferent] viking-1.11/src/terraservermapsource.c:28:87: note: Function '_coord_to_mapcoord' argument 3 names different: declaration 'xzoom' definition 'xmpp'. viking-1.11/src/terraservermapsource.c:184:71: note: Function '_coord_to_mapcoord' argument 3 names different: declaration 'xzoom' definition 'xmpp'. viking-1.11/src/terraservermapsource.c:184:85: style:inconclusive: Function '_coord_to_mapcoord' argument 4 names different: declaration 'yzoom' definition 'ympp'. [funcArgNamesDifferent] viking-1.11/src/terraservermapsource.c:28:102: note: Function '_coord_to_mapcoord' argument 4 names different: declaration 'yzoom' definition 'ympp'. viking-1.11/src/terraservermapsource.c:184:85: note: Function '_coord_to_mapcoord' argument 4 names different: declaration 'yzoom' definition 'ympp'. viking-1.11/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.11/src/terraservermapsource.c:126:31: note: You might need to cast the function pointer here viking-1.11/src/terraservermapsource.c:80:52: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/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.11/src/terraservermapsource.c:127:34: note: You might need to cast the function pointer here viking-1.11/src/terraservermapsource.c:101:50: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/src/terraservermapsource.c:103:32: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/terraservermapsource.c:188:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/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.11/src/terraservermapsource.c:132:45: note: You might need to cast the function pointer here viking-1.11/src/terraservermapsource.c:207:40: note: Parameter 'self' can be declared as pointer to const viking-1.11/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.11/src/terraservermapsource.c:133:34: note: You might need to cast the function pointer here viking-1.11/src/terraservermapsource.c:213:29: note: Parameter 'self' can be declared as pointer to const viking-1.11/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.11/src/terraservermapsource.c:131:48: note: You might need to cast the function pointer here viking-1.11/src/terraservermapsource.c:219:59: note: Parameter 'src' can be declared as pointer to const viking-1.11/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.11/src/terraservermapsource.c:135:26: note: You might need to cast the function pointer here viking-1.11/src/terraservermapsource.c:230:48: note: Parameter 'src' can be declared as pointer to const viking-1.11/src/terraservermapsource.c:234:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/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.11/src/terraservermapsource.c:136:31: note: You might need to cast the function pointer here viking-1.11/src/terraservermapsource.c:242:37: note: Parameter 'self' can be declared as pointer to const viking-1.11/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.11/src/terraservermapsource.c:137:39: note: You might need to cast the function pointer here viking-1.11/src/terraservermapsource.c:250:45: note: Parameter 'self' can be declared as pointer to const viking-1.11/src/terraservermapsource.c:271:8: style: Variable 'copyright' can be declared as pointer to const [constVariablePointer] viking-1.11/src/ui_util.c:92:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CURRENT_TIME [valueFlowBailoutIncompleteVar] viking-1.11/src/ui_util.c:109:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CURRENT_TIME [valueFlowBailoutIncompleteVar] viking-1.11/src/ui_util.c:141:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] viking-1.11/src/ui_util.c:220:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] viking-1.11/src/ui_util.c:329:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] viking-1.11/src/ui_util.c:419:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/ui_util.c:591:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_EXPAND [valueFlowBailoutIncompleteVar] viking-1.11/src/ui_util.c:716:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_LOOKUP_FORCE_SIZE [valueFlowBailoutIncompleteVar] viking-1.11/src/ui_util.c:794:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_CLEAR [valueFlowBailoutIncompleteVar] viking-1.11/src/tcx.c:173:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/tcx.c:281:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/tcx.c:467:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_STATUS_ERROR [valueFlowBailoutIncompleteVar] viking-1.11/src/tcx.c:514:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_STATUS_ERROR [valueFlowBailoutIncompleteVar] viking-1.11/src/thumbnails.c:128:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] viking-1.11/src/thumbnails.c:189:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/thumbnails.c:261:42: style:inconclusive: Function 'a_thumbnails_get' argument 1 names different: declaration 'filename' definition 'pathname'. [funcArgNamesDifferent] viking-1.11/src/thumbnails.h:35:42: note: Function 'a_thumbnails_get' argument 1 names different: declaration 'filename' definition 'pathname'. viking-1.11/src/thumbnails.c:261:42: note: Function 'a_thumbnails_get' argument 1 names different: declaration 'filename' definition 'pathname'. viking-1.11/src/tcx.c:231:21: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/ui_util.c:218:38: style: Parameter 'color' can be declared as pointer to const [constParameterPointer] viking-1.11/src/ui_util.c:348:10: style: Variable 'px' can be declared as pointer to const [constVariablePointer] viking-1.11/src/ui_util.c:475:56: style: Parameter 'data' can be declared as pointer to const. However it seems that 'ui_icon_clear_entry' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/ui_util.c:537:2: note: You might need to cast the function pointer here viking-1.11/src/ui_util.c:475:56: note: Parameter 'data' can be declared as pointer to const viking-1.11/src/ui_util.c:623:55: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] viking-1.11/src/ui_util.c:347:12: style: Variable 'alpha' is assigned a value that is never used. [unreadVariable] viking-1.11/src/tcx.c:116:15: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vik_compat.c:27:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMutex [valueFlowBailoutIncompleteVar] viking-1.11/src/uibuilder.c:37:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] viking-1.11/src/uibuilder.c:38:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] viking-1.11/src/uibuilder.c:274:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] viking-1.11/src/uibuilder.c:384:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/uibuilder.c:454:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/uibuilder.c:521:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/util.c:115:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/uibuilder.c:801:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] viking-1.11/src/util.c:212:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] viking-1.11/src/util.c:233:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] viking-1.11/src/util.c:263:32: style: Parameter 'tm' can be declared as pointer to const [constParameterPointer] viking-1.11/src/util.c:359:49: style: Parameter 'aa' can be declared as pointer to const [constParameterPointer] viking-1.11/src/util.c:359:60: style: Parameter 'bb' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikcoordlayer.c:46:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] viking-1.11/src/vikcoordlayer.c:47:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/vikcoordlayer.c:54:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] viking-1.11/src/vikcoordlayer.c:205:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikcoord.c:142:43: style: Parameter 'center' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikcoord.c:142:66: style: Parameter 'dist' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikcoord.c:154:43: style: Parameter 'center' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikcoord.c:154:66: style: Parameter 'dist' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikcoordlayer.c:229:54: style:inconclusive: Function 'coord_layer_new' argument 1 names different: declaration 'vp' definition 'vvp'. [funcArgNamesDifferent] viking-1.11/src/vikcoordlayer.c:26:54: note: Function 'coord_layer_new' argument 1 names different: declaration 'vp' definition 'vvp'. viking-1.11/src/vikcoordlayer.c:229:54: note: Function 'coord_layer_new' argument 1 names different: declaration 'vp' definition 'vvp'. viking-1.11/src/vikcoordlayer.c:172: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.11/src/vikcoordlayer.c:110:29: note: You might need to cast the function pointer here viking-1.11/src/vikcoordlayer.c:172:55: note: Parameter 'data' can be declared as pointer to const viking-1.11/src/vikcoordlayer.c:209: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.11/src/vikcoordlayer.c:114:41: note: You might need to cast the function pointer here viking-1.11/src/vikcoordlayer.c:209:65: note: Parameter 'vcl' can be declared as pointer to const viking-1.11/src/toolbar.c:544:16: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/toolbar.c:533:27: debug: Function::addArguments found argument 'tool_cb' with varid 0. [varid0] viking-1.11/src/toolbar.c:1203:124: debug: Function::addArguments found argument 'reload_cb' with varid 0. [varid0] viking-1.11/src/toolbar.c:433:39: debug: Function::addArguments found argument 'reload_cb' with varid 0. [varid0] viking-1.11/src/toolbar.c:1054:152: debug: Function::addArguments found argument 'reload_cb' with varid 0. [varid0] viking-1.11/src/uibuilder.c:724: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.11/src/uibuilder.c:756:19: note: You might need to cast the function pointer here viking-1.11/src/uibuilder.c:724:119: note: Parameter 'params' can be declared as pointer to const viking-1.11/src/uibuilder.c:736: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.11/src/uibuilder.c:759:19: note: You might need to cast the function pointer here viking-1.11/src/uibuilder.c:736:70: note: Parameter 'params_defaults' can be declared as pointer to const viking-1.11/src/uibuilder.c:773:82: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] viking-1.11/src/uibuilder.c:361:14: error: Overlapping read/write of union is undefined behavior [overlappingWriteUnion] viking-1.11/src/vikaggregatelayer.c:1199:21: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/vikaggregatelayer.c:2069:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/vikaggregatelayer.c:2157:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/vikaggregatelayer.c:2256:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/vikaggregatelayer.c:2293:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/vikaggregatelayer.c:2382:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/vikaggregatelayer.c:2423:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/vikaggregatelayer.c:2519:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/vikaggregatelayer.c:2541:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/vikdatetime_edit_dialog.c:74:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/vikdatetime_edit_dialog.c:110:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] viking-1.11/src/vikdatetime_edit_dialog.c:124:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/vikdatetime_edit_dialog.c:159:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/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] viking-1.11/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] viking-1.11/src/vikdatetime_edit_dialog.c:271:12: style: Local variable 'cal' shadows outer variable [shadowVariable] viking-1.11/src/vikdatetime_edit_dialog.c:171:13: note: Shadowed declaration viking-1.11/src/vikdatetime_edit_dialog.c:271:12: note: Shadow variable viking-1.11/src/vikdemlayer.c:149:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/vikdemlayer.c:150:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/vikdemlayer.c:151:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] viking-1.11/src/vikdemlayer.c:152:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] viking-1.11/src/vikdemlayer.c:153:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/vikdemlayer.c:154:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/vikdemlayer.c:156:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/vikdemlayer.c:157:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/vikdemlayer.c:178:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] viking-1.11/src/vikdemlayer.c:575:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikdemlayer.c:815:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GdkColor [valueFlowBailoutIncompleteVar] viking-1.11/src/vikdemlayer.c:1228:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] viking-1.11/src/vikdemlayer.c:1333:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikdemlayer.c:1381:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] viking-1.11/src/vikdemlayer.c:1406:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] viking-1.11/src/vikdemlayer.c:1527:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] viking-1.11/src/vikdemlayer.c:1604:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] viking-1.11/src/vikdemlayer.c:1652:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikexttool.c:123:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] viking-1.11/src/vikexttool.c:175:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_at_position [valueFlowBailoutIncompleteVar] viking-1.11/src/vikexttool.c:157:48: style:inconclusive: Function 'ext_tool_get_label' argument 1 names different: declaration 'vw' definition 'self'. [funcArgNamesDifferent] viking-1.11/src/vikexttool.c:35:48: note: Function 'ext_tool_get_label' argument 1 names different: declaration 'vw' definition 'self'. viking-1.11/src/vikexttool.c:157:48: note: Function 'ext_tool_get_label' argument 1 names different: declaration 'vw' definition 'self'. viking-1.11/src/vikexttool.c:163:45: style:inconclusive: Function 'vik_ext_tool_get_label' argument 1 names different: declaration 'self' definition 'w'. [funcArgNamesDifferent] viking-1.11/src/vikexttool.h:56:45: note: Function 'vik_ext_tool_get_label' argument 1 names different: declaration 'self' definition 'w'. viking-1.11/src/vikexttool.c:163:45: note: Function 'vik_ext_tool_get_label' argument 1 names different: declaration 'self' definition 'w'. viking-1.11/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.11/src/vikexttool.c:116:33: note: You might need to cast the function pointer here viking-1.11/src/vikexttool.c:60:37: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/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.11/src/vikexttool.c:117:33: note: You might need to cast the function pointer here viking-1.11/src/vikexttool.c:88:35: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/src/vikexttool.c:90:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikexttools.c:69:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_UI_MANAGER_MENUITEM [valueFlowBailoutIncompleteVar] viking-1.11/src/toolbar.c:160:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] viking-1.11/src/toolbar.c:278:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkToggleActionEntry [valueFlowBailoutIncompleteVar] viking-1.11/src/toolbar.c:342:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TOOLBAR_ICONS [valueFlowBailoutIncompleteVar] viking-1.11/src/toolbar.c:357:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_SMALL_TOOLBAR [valueFlowBailoutIncompleteVar] viking-1.11/src/toolbar.c:493:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reload_cb [valueFlowBailoutIncompleteVar] viking-1.11/src/toolbar.c:512:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TOOLBAR_ICONS [valueFlowBailoutIncompleteVar] viking-1.11/src/toolbar.c:540:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] viking-1.11/src/toolbar.c:883:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable target [valueFlowBailoutIncompleteVar] viking-1.11/src/toolbar.c:925:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_VIEW_DROP_BEFORE [valueFlowBailoutIncompleteVar] viking-1.11/src/toolbar.c:991:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/toolbar.c:1070:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] viking-1.11/src/toolbar.c:1225:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reload_cb [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:63:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:69:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:92:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:93:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:98:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:99:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:117:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:144:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:412:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:509:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable realized [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:517:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable realized [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:642:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:894:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:1013:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:1062:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:1338:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:1503:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:1510:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:1537:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:1544:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:1578:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:1609:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:1640:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:1671:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:1696:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:1717:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:1742:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:1778:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:1807:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:1819:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:1891:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:1931:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:2069:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:2157:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:2256:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:2293:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:2382:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:2423:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:2608:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:2666:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:2732:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:2755:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:3034:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:3087:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:3101:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:3115:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:3133:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:3333:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:3381:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:3389:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:3496:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:3501:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:3562:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:3584:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:3655:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:3744:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:3861:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:3933:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.11/src/vikfileentry.c:64:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_HBOX [valueFlowBailoutIncompleteVar] viking-1.11/src/vikfileentry.c:111:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] viking-1.11/src/vikfilelist.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] viking-1.11/src/vikfilelist.c:101:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/vikfilelist.c:160:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_VBOX [valueFlowBailoutIncompleteVar] viking-1.11/src/vikfilelist.c:185:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] viking-1.11/src/vikfilelist.c:225:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/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] viking-1.11/src/vikfilelist.c:93:17: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] viking-1.11/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] viking-1.11/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] viking-1.11/src/toolbar.c:759:4: error: Memory leak: label_clean [memleak] viking-1.11/src/toolbar.c:68:54: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] viking-1.11/src/toolbar.c:273:82: style: Parameter 'action' can be declared as pointer to const [constParameterPointer] viking-1.11/src/toolbar.c:302:18: style: Variable 'an_action' can be declared as pointer to const [constVariablePointer] viking-1.11/src/toolbar.c:421:43: style: Parameter 'vtb' can be declared as pointer to const [constParameterPointer] viking-1.11/src/toolbar.c:547:19: style: Variable 'action' can be declared as pointer to const [constVariablePointer] viking-1.11/src/toolbar.c:561:10: style: Variable 'gl' can be declared as pointer to const [constVariablePointer] viking-1.11/src/toolbar.c:563:25: style: Variable 'action' can be declared as pointer to const [constVariablePointer] viking-1.11/src/toolbar.c:578:24: style: Variable 'action' can be declared as pointer to const [constVariablePointer] viking-1.11/src/toolbar.c:594:24: style: Variable 'action' can be declared as pointer to const [constVariablePointer] viking-1.11/src/toolbar.c:744:13: style: Variable 'action' can be declared as pointer to const [constVariablePointer] viking-1.11/src/toolbar.c:902:10: style: Variable 'text' can be declared as pointer to const [constVariablePointer] viking-1.11/src/toolbar.c:1207:10: style: Variable 'sl' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikgeocluelayer.c:63:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgeocluelayer.c:74:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgeocluelayer.c:328:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIK_LAYER_GEOCLUE [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgeocluelayer.c:405:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgeocluelayer.c:424:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgeocluelayer.c:479:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TIME_SPAN_SECOND [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgeocluelayer.c:525:113: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgeocluelayer.c:562:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgeocluelayer.c:629:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgeocluelayer.c:650:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgeocluelayer.c:703:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgobjectbuilder.c:65:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_gobject_builder_parent_class [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgobjectbuilder.c:91:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_OBJECT [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgobjectbuilder.c:151:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgobjectbuilder.c:177:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VALUE_INIT [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgobjectbuilder.c:239:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgobjectbuilder.c:55:46: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] viking-1.11/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.11/src/vikgobjectbuilder.c:81:22: note: You might need to cast the function pointer here viking-1.11/src/vikgobjectbuilder.c:69:52: note: Parameter 'self' can be declared as pointer to const viking-1.11/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.11/src/vikgobjectbuilder.c:81:22: note: You might need to cast the function pointer here viking-1.11/src/vikgobjectbuilder.c:69:67: note: Parameter 'object' can be declared as pointer to const viking-1.11/src/vikgeocluelayer.c:282:2: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] viking-1.11/src/vikgeocluelayer.c:282:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] viking-1.11/src/vikgeocluelayer.c:234:81: style:inconclusive: Function 'geoclue_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. [funcArgNamesDifferent] viking-1.11/src/vikgeocluelayer.c:36:81: note: Function 'geoclue_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.11/src/vikgeocluelayer.c:234:81: note: Function 'geoclue_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.11/src/vikgeocluelayer.c:390:61: style:inconclusive: Function 'geoclue_layer_add_menu_items' argument 1 names different: declaration 'vtl' definition 'vgl'. [funcArgNamesDifferent] viking-1.11/src/vikgeocluelayer.c:44:61: note: Function 'geoclue_layer_add_menu_items' argument 1 names different: declaration 'vtl' definition 'vgl'. viking-1.11/src/vikgeocluelayer.c:390:61: note: Function 'geoclue_layer_add_menu_items' argument 1 names different: declaration 'vtl' definition 'vgl'. viking-1.11/src/vikgeocluelayer.c:686:2: warning: Redundant code: Found a statement that begins with NULL constant. [constStatement] viking-1.11/src/vikgeocluelayer.c:225: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.11/src/vikgeocluelayer.c:137:41: note: You might need to cast the function pointer here viking-1.11/src/vikgeocluelayer.c:225:62: note: Parameter 'vgl' can be declared as pointer to const viking-1.11/src/vikgeocluelayer.c:302: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.11/src/vikgeocluelayer.c:146:41: note: You might need to cast the function pointer here viking-1.11/src/vikgeocluelayer.c:302:69: note: Parameter 'vgl' can be declared as pointer to const viking-1.11/src/vikgeocluelayer.c:442:56: style: Parameter 'vgl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikgeocluelayer.c:449:59: style: Parameter 'vgl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikgototool.c:128:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgototool.c:310:46: style:inconclusive: Function 'vik_goto_tool_free_candidate' argument 1 names different: declaration 'candidate' definition 'data'. [funcArgNamesDifferent] viking-1.11/src/vikgototool.h:67:46: note: Function 'vik_goto_tool_free_candidate' argument 1 names different: declaration 'candidate' definition 'data'. viking-1.11/src/vikgototool.c:310:46: note: Function 'vik_goto_tool_free_candidate' argument 1 names different: declaration 'candidate' definition 'data'. viking-1.11/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.11/src/vikgototool.c:121:33: note: You might need to cast the function pointer here viking-1.11/src/vikgototool.c:65:41: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/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.11/src/vikgototool.c:122:33: note: You might need to cast the function pointer here viking-1.11/src/vikgototool.c:93:39: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/src/vikgototool.c:95:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikgototool.c:172:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/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.11/src/vikgototool.c:145:33: note: You might need to cast the function pointer here viking-1.11/src/vikgototool.c:176:75: note: Parameter 'self' can be declared as pointer to const viking-1.11/src/vikgototool.c:221:63: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikgeoreflayer.c:603:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgeoreflayer.c:751:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgeoreflayer.c:784:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgeoreflayer.c:813:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgeoreflayer.c:977:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgeoreflayer.c:1027:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgeoreflayer.c:1228:118: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpp_easting [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgoto.c:84:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgoto.c:160:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgoto.c:246:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgoto.c:361:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgoto.c:646:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgoto.c:701:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgoto.c:869:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/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] viking-1.11/src/vikgotoxmltool.c:271:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgotoxmltool.c:382:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgotoxmltool.c:417:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_goto_xml_tool_parent_class [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgotoxmltool.c:465:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgotoxmltool.c:567:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgoto.c:94:52: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'find_provider' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/vikgoto.c:117:42: note: You might need to cast the function pointer here viking-1.11/src/vikgoto.c:94:52: note: Parameter 'user_data' can be declared as pointer to const viking-1.11/src/vikgoto.c:250:12: style: Variable 'provider' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikgoto.c:658:10: style: Variable 'provider' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikgotoxmltool.c:645:27: style: Same expression on both sides of '||'. [duplicateExpression] viking-1.11/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.11/src/vikgotoxmltool.c:263:32: note: You might need to cast the function pointer here viking-1.11/src/vikgotoxmltool.c:78:47: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/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.11/src/vikgotoxmltool.c:264:32: note: You might need to cast the function pointer here viking-1.11/src/vikgotoxmltool.c:196:45: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/src/vikgotoxmltool.c:638:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikgotoxmltool.c:664:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viklayer.c:68:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayer.c:111:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayer.c:135:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayer.c:382:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayer.c:457:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayer.c:530:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayer.c:618:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayer.c:777:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayer.c:359:70: style:inconclusive: Function 'vik_layer_marshall_params' argument 3 names different: declaration 'len' definition 'datalen'. [funcArgNamesDifferent] viking-1.11/src/viklayer.h:320:75: note: Function 'vik_layer_marshall_params' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.11/src/viklayer.c:359:70: note: Function 'vik_layer_marshall_params' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.11/src/viklayer.c:427:76: style:inconclusive: Function 'vik_layer_unmarshall_params' argument 3 names different: declaration 'len' definition 'datalen'. [funcArgNamesDifferent] viking-1.11/src/viklayer.h:321:81: note: Function 'vik_layer_unmarshall_params' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.11/src/viklayer.c:427:76: note: Function 'vik_layer_unmarshall_params' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.11/src/viklayer.c:111:14: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viklayer.c:135:14: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viklayer.c:171:59: style: Parameter 'vl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viklayer.c:177:50: style: Parameter 'vl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viklayer.c:249:45: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viklayer.c:361:18: style: Variable 'params' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viklayer.c:429:18: style: Variable 'params' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viklayer.c:704:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viklayer.c:738:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viklayer.c:756:22: style: Variable 'vli' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viklayer_defaults.c:46:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayer_defaults.c:224:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_KEY_FILE_KEEP_COMMENTS [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayer_defaults.c:283:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayer_defaults.c:72:10: style: Variable 'str' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viklayer_defaults.c:153:17: style: Variable 'vlp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viklayer_defaults.c:158:46: style: Parameter 'index_ptr' can be declared as pointer to const. However it seems that 'defaults_run_setparam' is a callback function, if 'index_ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viklayer_defaults.c:369:101: note: You might need to cast the function pointer here viking-1.11/src/viklayer_defaults.c:158:46: note: Parameter 'index_ptr' can be declared as pointer to const viking-1.11/src/viklayer_defaults.c:158:107: style: Parameter 'params' can be declared as pointer to const. However it seems that 'defaults_run_setparam' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viklayer_defaults.c:369:101: note: You might need to cast the function pointer here viking-1.11/src/viklayer_defaults.c:158:107: note: Parameter 'params' can be declared as pointer to const viking-1.11/src/viklayer_defaults.c:162:17: style: Variable 'vlp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viklayer_defaults.c:167:59: style: Parameter 'index_ptr' can be declared as pointer to const. However it seems that 'defaults_run_getparam' is a callback function, if 'index_ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viklayer_defaults.c:504:68: note: You might need to cast the function pointer here viking-1.11/src/viklayer_defaults.c:167:59: note: Parameter 'index_ptr' can be declared as pointer to const viking-1.11/src/viklayer_defaults.c:171:17: style: Variable 'vlp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viklayer_defaults.c:177:60: style: Parameter 'index_ptr' can be declared as pointer to const. However it seems that 'getparam_default_value' is a callback function, if 'index_ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viklayer_defaults.c:507:68: note: You might need to cast the function pointer here viking-1.11/src/viklayer_defaults.c:177:60: note: Parameter 'index_ptr' can be declared as pointer to const viking-1.11/src/viklayer_defaults.c:312:18: style: Variable 'param' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viklayer_defaults.c:397:48: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viklayer_defaults.c:489:69: style: Parameter 'index_ptr' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikgpslayer.c:234:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgpslayer.c:440:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgpslayer.c:605:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgpslayer.c:698:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgpslayer.c:896:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgpslayer.c:933:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgpslayer.c:1412:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgpslayer.c:1514:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgpslayer.c:1606:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgpslayer.c:1615:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikgeoreflayer.c:1044: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] viking-1.11/src/vikgeoreflayer.c:1100: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] viking-1.11/src/vikgeoreflayer.c:1152: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] viking-1.11/src/vikgeoreflayer.c:680:39: style: Comparing expression of type 'unsigned char' against value 255. Condition is always true. [compareValueOutOfTypeRangeError] viking-1.11/src/vikgeoreflayer.c:1205:41: style: Comparing expression of type 'unsigned char' against value 255. Condition is always true. [compareValueOutOfTypeRangeError] viking-1.11/src/vikgeoreflayer.c:1207:41: style: Comparing expression of type 'unsigned char' against value 255. Condition is always true. [compareValueOutOfTypeRangeError] viking-1.11/src/vikgeoreflayer.c:1209:42: style: Comparing expression of type 'unsigned char' against value 255. Condition is always true. [compareValueOutOfTypeRangeError] viking-1.11/src/vikgeoreflayer.c:1348:54: style:inconclusive: Function 'vik_georef_layer_create' argument 4 names different: declaration 'pibxbuf' definition 'pixbuf'. [funcArgNamesDifferent] viking-1.11/src/vikgeoreflayer.h:50:54: note: Function 'vik_georef_layer_create' argument 4 names different: declaration 'pibxbuf' definition 'pixbuf'. viking-1.11/src/vikgeoreflayer.c:1348:54: note: Function 'vik_georef_layer_create' argument 4 names different: declaration 'pibxbuf' definition 'pixbuf'. viking-1.11/src/vikgeoreflayer.c:1349:53: style:inconclusive: Function 'vik_georef_layer_create' argument 5 names different: declaration 'coord_tr' definition 'coord_tl'. [funcArgNamesDifferent] viking-1.11/src/vikgeoreflayer.h:51:53: note: Function 'vik_georef_layer_create' argument 5 names different: declaration 'coord_tr' definition 'coord_tl'. viking-1.11/src/vikgeoreflayer.c:1349:53: note: Function 'vik_georef_layer_create' argument 5 names different: declaration 'coord_tr' definition 'coord_tl'. viking-1.11/src/vikgeoreflayer.c:260: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.11/src/vikgeoreflayer.c:143:41: note: You might need to cast the function pointer here viking-1.11/src/vikgeoreflayer.c:260:60: note: Parameter 'vgl' can be declared as pointer to const viking-1.11/src/vikgeoreflayer.c:270: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.11/src/vikgeoreflayer.c:148:29: note: You might need to cast the function pointer here viking-1.11/src/vikgeoreflayer.c:270:57: note: Parameter 'data' can be declared as pointer to const viking-1.11/src/vikgeoreflayer.c:719:65: style: Parameter 'values' can be declared as const array [constParameter] viking-1.11/src/vikgeoreflayer.c:809:19: style: Variable 'vgl' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikgeoreflayer.c:1251: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.11/src/vikgeoreflayer.c:137:41: note: You might need to cast the function pointer here viking-1.11/src/vikgeoreflayer.c:1251:73: note: Parameter 'menu' can be declared as pointer to const viking-1.11/src/vikgeoreflayer.c:1265: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.11/src/vikgeoreflayer.c:87:30: note: You might need to cast the function pointer here viking-1.11/src/vikgeoreflayer.c:1265:55: note: Parameter 'vw' can be declared as pointer to const viking-1.11/src/vikgeoreflayer.c:1270: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.11/src/vikgeoreflayer.c:88:74: note: You might need to cast the function pointer here viking-1.11/src/vikgeoreflayer.c:1270:96: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/vikgeoreflayer.c:1285: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.11/src/vikgeoreflayer.c:96:30: note: You might need to cast the function pointer here viking-1.11/src/vikgeoreflayer.c:1285:55: note: Parameter 'vw' can be declared as pointer to const viking-1.11/src/vikgeoreflayer.c:1290: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.11/src/vikgeoreflayer.c:97:24: note: You might need to cast the function pointer here viking-1.11/src/vikgeoreflayer.c:1290:94: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/vikgeoreflayer.c:1316: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.11/src/vikgeoreflayer.c:88:24: note: You might need to cast the function pointer here viking-1.11/src/vikgeoreflayer.c:1316:94: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/vikgeoreflayer.c:1349:53: style: Parameter 'coord_tl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikgeoreflayer.c:1350:53: style: Parameter 'coord_br' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikdemlayer.c:1609:52: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] viking-1.11/src/vikdemlayer.c:1135:14: style: Unsigned expression 'x' can't be negative so it is unnecessary to test it. [unsignedPositive] viking-1.11/src/viklayerspanel.c:212:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/viklayerspanel.c:332:23: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/vikdemlayer.c:427:44: style: Parameter 'vdl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikdemlayer.c:429:22: style: Variable 'pref_user' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikdemlayer.c:430:22: style: Variable 'pref_password' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikdemlayer.c:465: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.11/src/vikdemlayer.c:319:41: note: You might need to cast the function pointer here viking-1.11/src/vikdemlayer.c:465:53: note: Parameter 'vdl' can be declared as pointer to const viking-1.11/src/vikdemlayer.c:477: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.11/src/vikdemlayer.c:324:29: note: You might need to cast the function pointer here viking-1.11/src/vikdemlayer.c:477:51: note: Parameter 'data' can be declared as pointer to const viking-1.11/src/vikdemlayer.c:520: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.11/src/vikdemlayer.c:659:51: note: You might need to cast the function pointer here viking-1.11/src/vikdemlayer.c:520:61: note: Parameter 'data' can be declared as pointer to const viking-1.11/src/vikdemlayer.c:858:26: style: Variable 'prevcolumn' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikdemlayer.c:858:39: style: Variable 'nextcolumn' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikdemlayer.c:1202:10: style: Variable 'dems_iter' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikdemlayer.c:1266:40: style: Parameter 'b_url' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikdemlayer.c:1572: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.11/src/vikdemlayer.c:231:30: note: You might need to cast the function pointer here viking-1.11/src/vikdemlayer.c:1572:56: note: Parameter 'vw' can be declared as pointer to const viking-1.11/src/vikdemlayer.c:1586:18: style: Variable 'll' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikdemlayer.c:1693: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.11/src/vikdemlayer.c:232:24: note: You might need to cast the function pointer here viking-1.11/src/vikdemlayer.c:1693:71: note: Parameter 'vdl' can be declared as pointer to const viking-1.11/src/vikgpslayer.c:1299:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] viking-1.11/src/vikdemlayer.c:1693: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.11/src/vikdemlayer.c:232:24: note: You might need to cast the function pointer here viking-1.11/src/vikdemlayer.c:1693:92: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/vikgpslayer.c:1300:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] viking-1.11/src/vikdemlayer.c:1693: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.11/src/vikdemlayer.c:232:24: note: You might need to cast the function pointer here viking-1.11/src/vikdemlayer.c:1693:112: note: Parameter 'vvp' can be declared as pointer to const viking-1.11/src/vikgpslayer.c:1360:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] viking-1.11/src/vikgpslayer.c:1361:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] viking-1.11/src/vikgpslayer.c:1567:5: error: Return value of allocation function 'g_thread_try_new' is not stored. [leakReturnValNotUsed] viking-1.11/src/vikdemlayer.c:1219:8: warning: Size of pointer 'pixels' used instead of size of its data. [pointerSize] viking-1.11/src/vikgpslayer.c:520:73: style:inconclusive: Function 'gps_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. [funcArgNamesDifferent] viking-1.11/src/vikgpslayer.c:45:73: note: Function 'gps_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.11/src/vikgpslayer.c:520:73: note: Function 'gps_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.11/src/vikgpslayer.c:808:66: style:inconclusive: Function 'gps_layer_post_read' argument 2 names different: declaration 'vp' definition 'vvp'. [funcArgNamesDifferent] viking-1.11/src/vikgpslayer.c:43:66: note: Function 'gps_layer_post_read' argument 2 names different: declaration 'vp' definition 'vvp'. viking-1.11/src/vikgpslayer.c:808:66: note: Function 'gps_layer_post_read' argument 2 names different: declaration 'vp' definition 'vvp'. viking-1.11/src/vikgpslayer.c:866:52: style:inconclusive: Function 'gps_layer_add_menu_items' argument 1 names different: declaration 'vtl' definition 'vgl'. [funcArgNamesDifferent] viking-1.11/src/vikgpslayer.c:53:52: note: Function 'gps_layer_add_menu_items' argument 1 names different: declaration 'vtl' definition 'vgl'. viking-1.11/src/vikgpslayer.c:866:52: note: Function 'gps_layer_add_menu_items' argument 1 names different: declaration 'vtl' definition 'vgl'. viking-1.11/src/vikgpslayer.c:485: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.11/src/vikgpslayer.c:320:41: note: You might need to cast the function pointer here viking-1.11/src/vikgpslayer.c:485:54: note: Parameter 'vgl' can be declared as pointer to const viking-1.11/src/vikgpslayer.c:691: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.11/src/vikgpslayer.c:329:41: note: You might need to cast the function pointer here viking-1.11/src/vikgpslayer.c:691:61: note: Parameter 'vgl' can be declared as pointer to const viking-1.11/src/vikgpslayer.c:849: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.11/src/vikgpslayer.c:306:41: note: You might need to cast the function pointer here viking-1.11/src/vikgpslayer.c:849:48: note: Parameter 'vgl' can be declared as pointer to const viking-1.11/src/vikgpslayer.c:849: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.11/src/vikgpslayer.c:306:41: note: You might need to cast the function pointer here viking-1.11/src/vikgpslayer.c:849:66: note: Parameter 'vp' can be declared as pointer to const viking-1.11/src/vikgpslayer.c:866: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.11/src/vikgpslayer.c:314:41: note: You might need to cast the function pointer here viking-1.11/src/vikgpslayer.c:866:66: note: Parameter 'menu' can be declared as pointer to const viking-1.11/src/vikgpslayer.c:972:48: style: Parameter 'vgl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viklayerspanel.c:111:118: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayerspanel.c:167:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable label [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayerspanel.c:212:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayerspanel.c:332:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayerspanel.c:380:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayerspanel.c:412:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayerspanel.c:480:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayerspanel.c:676:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_SMALL_TOOLBAR [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayerspanel.c:864:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayerspanel.c:943:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Delete [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayerspanel.c:1147:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayerspanel.c:1153:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayerspanel.c:1314:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] viking-1.11/src/viklayerspanel.c:1495:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VALUE_INIT [valueFlowBailoutIncompleteVar] viking-1.11/src/vikmapniklayer.c:636: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] viking-1.11/src/vikmapslayer.c:1398: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] viking-1.11/src/vikmapslayer_compat.c:34:84: style: Parameter 'map_type' can be declared as pointer to const [constParameterPointer] viking-1.11/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] viking-1.11/src/viklayerspanel.c:275:16: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viklayerspanel.c:275:16: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viklayerspanel.c:278:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viklayerspanel.c:278:11: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viklayerspanel.c:280:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viklayerspanel.c:397:21: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viklayerspanel.c:397:21: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viklayerspanel.c:397:21: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viklayerspanel.c:429:16: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viklayerspanel.c:429:16: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viklayerspanel.c:429:16: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viklayerspanel.c:438:13: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'GDate *'. [invalidPrintfArgType_uint] viking-1.11/src/viklayerspanel.c:470:16: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viklayerspanel.c:470:16: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viklayerspanel.c:470:16: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viklayerspanel.c:502:21: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viklayerspanel.c:502:21: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viklayerspanel.c:502:21: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viklayerspanel.c:141:62: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] viking-1.11/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.11/src/viklayerspanel.c:745:3: note: You might need to cast the function pointer here viking-1.11/src/viklayerspanel.c:568:67: note: Parameter 'vlp' can be declared as pointer to const viking-1.11/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.11/src/viklayerspanel.c:786:3: note: You might need to cast the function pointer here viking-1.11/src/viklayerspanel.c:626:62: note: Parameter 'vlp' can be declared as pointer to const viking-1.11/src/viklayerspanel.c:825:12: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] viking-1.11/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.11/src/viklayerspanel.c:670:3: note: You might need to cast the function pointer here viking-1.11/src/viklayerspanel.c:923:79: note: Parameter 'event' can be declared as pointer to const viking-1.11/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.11/src/viklayerspanel.c:673:3: note: You might need to cast the function pointer here viking-1.11/src/viklayerspanel.c:940:73: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/viklayerspanel.c:1329:69: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viklayerspanel.c:1358:62: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viklayerspanel.c:437:7: warning: Size of pointer 'date_str' used instead of size of its data. [pointerSize] viking-1.11/src/vikmaptype.c:84:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_map_type_parent_class [valueFlowBailoutIncompleteVar] viking-1.11/src/vikmaptype.c:112:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikmaptype.c:130:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikmapsource.c:55:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_map_source_parent_class [valueFlowBailoutIncompleteVar] viking-1.11/src/vikradiogroup.c:60:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_VBOX [valueFlowBailoutIncompleteVar] viking-1.11/src/vikradiogroup.c:103:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/vikmapsource.c:95:44: style:inconclusive: Function '_supports_download_only_new' argument 1 names different: declaration 'object' definition 'self'. [funcArgNamesDifferent] viking-1.11/src/vikmapsource.c:40:60: note: Function '_supports_download_only_new' argument 1 names different: declaration 'object' definition 'self'. viking-1.11/src/vikmapsource.c:95:44: note: Function '_supports_download_only_new' argument 1 names different: declaration 'object' definition 'self'. viking-1.11/src/vikmapsource.c:45:36: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] viking-1.11/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.11/src/vikmapsource.c:76:38: note: You might need to cast the function pointer here viking-1.11/src/vikmapsource.c:95:44: note: Parameter 'self' can be declared as pointer to const viking-1.11/src/vikrouting.c:154:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikrouting.c:80:9: style: Variable 'engineId' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikrouting.c:97:9: style: Variable 'elem' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikroutingengine.c:154:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] viking-1.11/src/vikroutingengine.c:183:40: style:inconclusive: Function 'vik_routing_engine_finalize' argument 1 names different: declaration 'gob' definition 'self'. [funcArgNamesDifferent] viking-1.11/src/vikroutingengine.c:41:52: note: Function 'vik_routing_engine_finalize' argument 1 names different: declaration 'gob' definition 'self'. viking-1.11/src/vikroutingengine.c:183:40: note: Function 'vik_routing_engine_finalize' argument 1 names different: declaration 'gob' definition 'self'. viking-1.11/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.11/src/vikroutingengine.c:135:32: note: You might need to cast the function pointer here viking-1.11/src/vikroutingengine.c:69:41: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/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.11/src/vikroutingengine.c:136:32: note: You might need to cast the function pointer here viking-1.11/src/vikroutingengine.c:101:39: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/src/vikroutingengine.c:103:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikroutingengine.c:230:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikroutingengine.c:243:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikroutingengine.c:258:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikslippymapsource.c:173:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_slippy_map_source_parent_class [valueFlowBailoutIncompleteVar] viking-1.11/src/vikslippymapsource.c:400:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] viking-1.11/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.11/src/vikslippymapsource.c:374:31: note: You might need to cast the function pointer here viking-1.11/src/vikslippymapsource.c:180:51: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/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.11/src/vikslippymapsource.c:375:34: note: You might need to cast the function pointer here viking-1.11/src/vikslippymapsource.c:281:49: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/src/vikslippymapsource.c:544:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikslippymapsource.c:554:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikslippymapsource.c:566:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikslippymapsource.c:585:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikslippymapsource.c:596:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikslippymapsource.c:607:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikslippymapsource.c:618:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikslippymapsource.c:629:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikslippymapsource.c:640:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/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.11/src/vikslippymapsource.c:379:48: note: You might need to cast the function pointer here viking-1.11/src/vikslippymapsource.c:651:59: note: Parameter 'src' can be declared as pointer to const viking-1.11/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.11/src/vikslippymapsource.c:391:26: note: You might need to cast the function pointer here viking-1.11/src/vikslippymapsource.c:657:48: note: Parameter 'src' can be declared as pointer to const viking-1.11/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.11/src/vikslippymapsource.c:393:39: note: You might need to cast the function pointer here viking-1.11/src/vikslippymapsource.c:689:61: note: Parameter 'src' can be declared as pointer to const viking-1.11/src/vikroutingwebengine.c:262:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] viking-1.11/src/vikroutingwebengine.c:454:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_routing_web_engine_parent_class [valueFlowBailoutIncompleteVar] viking-1.11/src/vikroutingwebengine.c:647:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikstatus.c:85:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INT [valueFlowBailoutIncompleteVar] viking-1.11/src/vikstatus.c:135:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RELIEF_NONE [valueFlowBailoutIncompleteVar] viking-1.11/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.11/src/vikroutingwebengine.c:241:32: note: You might need to cast the function pointer here viking-1.11/src/vikroutingwebengine.c:99:41: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/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.11/src/vikroutingwebengine.c:242:32: note: You might need to cast the function pointer here viking-1.11/src/vikroutingwebengine.c:176:39: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/src/vikroutingwebengine.c:538:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikroutingwebengine.c:573:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikroutingwebengine.c:679:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktmsmapsource.c:150:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_tms_map_source_parent_class [valueFlowBailoutIncompleteVar] viking-1.11/src/viktmsmapsource.c:337:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] viking-1.11/src/viktmsmapsource.c:480:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/viktmsmapsource.c:507:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/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.11/src/viktmsmapsource.c:311:31: note: You might need to cast the function pointer here viking-1.11/src/viktmsmapsource.c:157:51: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/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.11/src/viktmsmapsource.c:312:34: note: You might need to cast the function pointer here viking-1.11/src/viktmsmapsource.c:238:49: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/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.11/src/viktmsmapsource.c:318:45: note: You might need to cast the function pointer here viking-1.11/src/viktmsmapsource.c:442:40: note: Parameter 'self' can be declared as pointer to const viking-1.11/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.11/src/viktmsmapsource.c:319:34: note: You might need to cast the function pointer here viking-1.11/src/viktmsmapsource.c:448:29: note: Parameter 'self' can be declared as pointer to const viking-1.11/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.11/src/viktmsmapsource.c:320:41: note: You might need to cast the function pointer here viking-1.11/src/viktmsmapsource.c:454:36: note: Parameter 'self' can be declared as pointer to const viking-1.11/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.11/src/viktmsmapsource.c:316:48: note: You might need to cast the function pointer here viking-1.11/src/viktmsmapsource.c:494:59: note: Parameter 'src' can be declared as pointer to const viking-1.11/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.11/src/viktmsmapsource.c:328:26: note: You might need to cast the function pointer here viking-1.11/src/viktmsmapsource.c:512:48: note: Parameter 'src' can be declared as pointer to const viking-1.11/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.11/src/viktmsmapsource.c:330:39: note: You might need to cast the function pointer here viking-1.11/src/viktmsmapsource.c:540:61: note: Parameter 'src' can be declared as pointer to const viking-1.11/src/viktmsmapsource.c:573:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktmsmapsource.c:584:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktmsmapsource.c:595:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktmsmapsource.c:606:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktmsmapsource.c:617:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktmsmapsource.c:628:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikaggregatelayer.c:984:5: portability: Returning an address value in a function with integer return type is not portable. [CastAddressToIntegerAtReturn] viking-1.11/src/vikaggregatelayer.c:788:22: error: Array 'val->tiles_cached[16]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] viking-1.11/src/vikaggregatelayer.c:787:26: note: Assuming that condition 'xx<=(sizeof(params_tile_area_levels)/sizeof((params_tile_area_levels)[0]))' is not redundant viking-1.11/src/vikaggregatelayer.c:788:22: note: Array index out of bounds viking-1.11/src/vikaggregatelayer.c:2538:52: warning: Either the condition 'zoom_index<=(sizeof(params_tile_area_levels)/sizeof((params_tile_area_levels)[0]))' is redundant or the array 'ct->val->tiles_cached[16]' is accessed at index 16, which is out of bounds. [arrayIndexOutOfBoundsCond] viking-1.11/src/vikaggregatelayer.c:2536:19: note: Assuming that condition 'zoom_index<=(sizeof(params_tile_area_levels)/sizeof((params_tile_area_levels)[0]))' is not redundant viking-1.11/src/vikaggregatelayer.c:2538:52: note: Array index out of bounds viking-1.11/src/vikaggregatelayer.c:2580:50: error: Array 'val->tiles_cached[16]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] viking-1.11/src/vikaggregatelayer.c:2579:28: note: Assuming that condition 'xx<=(sizeof(params_tile_area_levels)/sizeof((params_tile_area_levels)[0]))' is not redundant viking-1.11/src/vikaggregatelayer.c:2580:50: note: Array index out of bounds viking-1.11/src/vikaggregatelayer.c:412:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikaggregatelayer.c:418:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikaggregatelayer.c:1073:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikaggregatelayer.c:1940:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikaggregatelayer.c:2147:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikaggregatelayer.c:2147:3: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikaggregatelayer.c:2244:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikaggregatelayer.c:2244:3: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikaggregatelayer.c:2263:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikaggregatelayer.c:2271:11: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikaggregatelayer.c:2363:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikaggregatelayer.c:2363:3: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikaggregatelayer.c:3503:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikaggregatelayer.c:3801:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikaggregatelayer.c:3806:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikaggregatelayer.c:3811:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikaggregatelayer.c:3816:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikaggregatelayer.c:3821:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikaggregatelayer.c:2608:22: warning: Either the condition 'trk->trackpoints' is redundant or there is possible null pointer dereference: trk->trackpoints. [nullPointerRedundantCheck] viking-1.11/src/vikaggregatelayer.c:2609:17: note: Assuming that condition 'trk->trackpoints' is not redundant viking-1.11/src/vikaggregatelayer.c:2608:22: note: Null pointer dereference viking-1.11/src/vikaggregatelayer.c:3398:20: warning: Either the condition 'event' is redundant or there is possible null pointer dereference: event. [nullPointerRedundantCheck] viking-1.11/src/vikaggregatelayer.c:3401:8: note: Assuming that condition 'event' is not redundant viking-1.11/src/vikaggregatelayer.c:3398:20: note: Null pointer dereference viking-1.11/src/vikaggregatelayer.c:3399:20: warning: Either the condition 'event' is redundant or there is possible null pointer dereference: event. [nullPointerRedundantCheck] viking-1.11/src/vikaggregatelayer.c:3401:8: note: Assuming that condition 'event' is not redundant viking-1.11/src/vikaggregatelayer.c:3399:20: note: Null pointer dereference viking-1.11/src/viktreeview.c:87:28: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] viking-1.11/src/vikaggregatelayer.c:2071:34: style:inconclusive: Same expression used in consecutive assignments of 'brx' and 'bry'. [duplicateAssignExpression] viking-1.11/src/vikaggregatelayer.c:2071:48: note: Same expression used in consecutive assignments of 'brx' and 'bry'. viking-1.11/src/vikaggregatelayer.c:2071:34: note: Same expression used in consecutive assignments of 'brx' and 'bry'. viking-1.11/src/vikaggregatelayer.c:2170:34: style:inconclusive: Same expression used in consecutive assignments of 'brx' and 'bry'. [duplicateAssignExpression] viking-1.11/src/vikaggregatelayer.c:2170:48: note: Same expression used in consecutive assignments of 'brx' and 'bry'. viking-1.11/src/vikaggregatelayer.c:2170:34: note: Same expression used in consecutive assignments of 'brx' and 'bry'. viking-1.11/src/vikaggregatelayer.c:2295:34: style:inconclusive: Same expression used in consecutive assignments of 'brx' and 'bry'. [duplicateAssignExpression] viking-1.11/src/vikaggregatelayer.c:2295:48: note: Same expression used in consecutive assignments of 'brx' and 'bry'. viking-1.11/src/vikaggregatelayer.c:2295:34: note: Same expression used in consecutive assignments of 'brx' and 'bry'. viking-1.11/src/vikaggregatelayer.c:1969:14: style: Redundant initialization for 'tmpx'. The initialized value is overwritten before it is read. [redundantInitialization] viking-1.11/src/vikaggregatelayer.c:1967:13: note: tmpx is initialized viking-1.11/src/vikaggregatelayer.c:1969:14: note: tmpx is overwritten viking-1.11/src/vikaggregatelayer.c:717:85: style:inconclusive: Function 'aggregate_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. [funcArgNamesDifferent] viking-1.11/src/vikaggregatelayer.c:41:85: note: Function 'aggregate_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.11/src/vikaggregatelayer.c:717:85: note: Function 'aggregate_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.11/src/vikaggregatelayer.c:1975:14: style: Local variable 'tmpy' shadows outer variable [shadowVariable] viking-1.11/src/vikaggregatelayer.c:1968:8: note: Shadowed declaration viking-1.11/src/vikaggregatelayer.c:1975:14: note: Shadow variable viking-1.11/src/vikaggregatelayer.c:514:67: style: Parameter 'vlsp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikaggregatelayer.c:793:41: style: Parameter 'vl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikaggregatelayer.c:981:12: style: Variable 'gp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikaggregatelayer.c:1039:84: style: Parameter 'ul' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikaggregatelayer.c:1039:98: style: Parameter 'br' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikaggregatelayer.c:1282:83: style: Parameter 'center' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikaggregatelayer.c:1284:18: style: Variable 'll' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikaggregatelayer.c:1484:77: style: Parameter 'order' can be declared as pointer to const. However it seems that 'sort_layer_compare' is a callback function, if 'order' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/vikaggregatelayer.c:1511:58: note: You might need to cast the function pointer here viking-1.11/src/vikaggregatelayer.c:1484:77: note: Parameter 'order' can be declared as pointer to const viking-1.11/src/vikaggregatelayer.c:1486:13: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikaggregatelayer.c:1487:13: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikaggregatelayer.c:1517:87: style: Parameter 'order' can be declared as pointer to const. However it seems that 'sort_layer_compare_timestamp' is a callback function, if 'order' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/vikaggregatelayer.c:1545:58: note: You might need to cast the function pointer here viking-1.11/src/vikaggregatelayer.c:1517:87: note: Parameter 'order' can be declared as pointer to const viking-1.11/src/vikaggregatelayer.c:1555: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.11/src/vikaggregatelayer.c:1579:74: note: You might need to cast the function pointer here viking-1.11/src/vikaggregatelayer.c:1555:77: note: Parameter 'user_data' can be declared as pointer to const viking-1.11/src/vikaggregatelayer.c:1591:10: style: Variable 'children' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikaggregatelayer.c:1637:75: style: Parameter 'date_str' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikaggregatelayer.c:1688: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.11/src/vikaggregatelayer.c:1746:62: note: You might need to cast the function pointer here viking-1.11/src/vikaggregatelayer.c:1688:74: note: Parameter 'user_data' can be declared as pointer to const viking-1.11/src/vikaggregatelayer.c:1754:15: style: Variable 'vl' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikaggregatelayer.c:1885:61: style: Parameter 'coord' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikaggregatelayer.c:2443:15: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikaggregatelayer.c:2658:121: style: Parameter 'stamp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikaggregatelayer.c:3241:80: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikaggregatelayer.c:3292:61: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikaggregatelayer.c:3292:75: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikaggregatelayer.c:3312:74: style: Parameter 'mc' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikaggregatelayer.c:3331:14: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikaggregatelayer.c:3413:14: style: Variable 'sm' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikaggregatelayer.c:3659:13: style: Variable 'vl' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikaggregatelayer.c:3730:68: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikaggregatelayer.c:3735:60: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikaggregatelayer.c:3775:10: style: Variable 'children' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikaggregatelayer.c:3835:10: style: Variable 'children' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikaggregatelayer.c:3845:74: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikaggregatelayer.c:468:73: warning: Found calculation inside sizeof(). [sizeofCalculation] viking-1.11/src/vikaggregatelayer.c:484:73: warning: Found calculation inside sizeof(). [sizeofCalculation] viking-1.11/src/vikaggregatelayer.c:498:73: warning: Found calculation inside sizeof(). [sizeofCalculation] viking-1.11/src/viktreeview.c:87:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] viking-1.11/src/viktreeview.c:115:123: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] viking-1.11/src/viktreeview.c:376:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_VIEW_COLUMN_AUTOSIZE [valueFlowBailoutIncompleteVar] viking-1.11/src/viktreeview.c:406:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_VIEW_COLUMN_FIXED [valueFlowBailoutIncompleteVar] viking-1.11/src/viktreeview.c:479:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktreeview.c:558:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_TREE_DRAG_SOURCE [valueFlowBailoutIncompleteVar] viking-1.11/src/viktreeview.c:992:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/viktreeview.c:1012:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_F2 [valueFlowBailoutIncompleteVar] viking-1.11/src/vikaggregatelayer.c:1043:24: style: Variable 'shrinkfactor' is assigned a value that is never used. [unreadVariable] viking-1.11/src/vikaggregatelayer.c:1088:22: style: Variable 'yy' is assigned a value that is never used. [unreadVariable] viking-1.11/src/vikaggregatelayer.c:2512:22: style: Variable 'tracks_processed' is assigned a value that is never used. [unreadVariable] viking-1.11/src/vikmapsourcedefault.c:132:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_map_source_default_parent_class [valueFlowBailoutIncompleteVar] viking-1.11/src/vikmapsourcedefault.c:322:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:253:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:323:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:375:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:396:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable newsegment [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:415:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:435:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:467:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:498:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:518:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:614:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:641:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable newsegment [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:669:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable newsegment [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:713:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable newsegment [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:733:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable newsegment [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:773:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:810:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:843:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:879:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:911:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable speed [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:931:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable heart_rate [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:957:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable heart_rate [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:977:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable heart_rate [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1041:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1126:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cadence [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1144:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cadence [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1164:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cadence [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1190:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable temp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1219:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable temp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1237:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable temp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1256:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable temp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1276:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable power [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1295:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable power [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1315:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable power [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1331:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1360:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable altitude [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1491:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1547:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1621:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1695:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1777:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1820:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1861:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1911:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable speed [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1952:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable altitude [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:1975:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable altitude [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:2079:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:2174:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:2278:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:2303:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable altitude [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:2361:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:2439:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrack.c:2620:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/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.11/src/viktreeview.c:387:3: note: You might need to cast the function pointer here viking-1.11/src/viktreeview.c:122:71: note: Parameter 'path_str' can be declared as pointer to const viking-1.11/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.11/src/viktreeview.c:365:3: note: You might need to cast the function pointer here viking-1.11/src/viktreeview.c:143:74: note: Parameter 'path_str' can be declared as pointer to const viking-1.11/src/viktreeview.c:650:50: style: Parameter 'vt' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktreeview.c:795:77: style: Parameter 'order' can be declared as pointer to const. However it seems that 'sort_tuple_compare' is a callback function, if 'order' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viktreeview.c:881:22: note: You might need to cast the function pointer here viking-1.11/src/viktreeview.c:795:77: note: Parameter 'order' can be declared as pointer to const viking-1.11/src/viktreeview.c:797:14: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktreeview.c:798:14: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktreeview.c:1005:65: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] viking-1.11/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.11/src/vikmapsourcedefault.c:290:31: note: You might need to cast the function pointer here viking-1.11/src/vikmapsourcedefault.c:139:52: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/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.11/src/vikmapsourcedefault.c:291:34: note: You might need to cast the function pointer here viking-1.11/src/vikmapsourcedefault.c:218:50: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/src/vikmapsourcedefault.c:441:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikmapsourcedefault.c:451:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikmapsourcedefault.c:461:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikmapsourcedefault.c:486:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikmapsourcedefault.c:496:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikmapsourcedefault.c:506:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikmapsourcedefault.c:516:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikmapsourcedefault.c:526:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikmapsourcedefault.c:536:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikmapsourcedefault.c:558:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikmapsourcedefault.c:566:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikmapsourcedefault.c:574:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/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.11/src/vikmapsourcedefault.c:309:43: note: You might need to cast the function pointer here viking-1.11/src/vikmapsourcedefault.c:579:39: note: Parameter 'self' can be declared as pointer to const viking-1.11/src/viktrwlayer_analysis.c:88:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_analysis.c:135:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_analysis.c:280:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_analysis.c:443:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_analysis.c:568:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_analysis.c:601:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_analysis.c:664:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_analysis.c:688:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_analysis.c:1021:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_analysis.c:1193:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:1846:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/viktrwlayer.c:4092:18: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/viktrwlayer.c:5614:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/viktrwlayer.c:5724:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/viktrwlayer.c:7094:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/viktrwlayer.c:7123:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/viktrwlayer.c:9120:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/viktrwlayer.c:9240:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/viktrwlayer.c:12778:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/viktrwlayer.c:12832:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/viktrwlayer.c:12966:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/viktrwlayer_geotag.c:701:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/viktrwlayer_export.c:83:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/viktrwlayer_export.c:331:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/viktrwlayer_geotag.c:219:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_geotag.c:331:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_geotag.c:353:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_geotag.c:443:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_geotag.c:617:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_geotag.c:683:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] viking-1.11/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.11/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.11/src/viktrwlayer_analysis.c:237:3: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'GDate *'. [invalidPrintfArgType_uint] viking-1.11/src/viktrwlayer_analysis.c:396:3: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'GDate *'. [invalidPrintfArgType_uint] viking-1.11/src/viktrwlayer_analysis.c:402:3: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'GDate *'. [invalidPrintfArgType_uint] viking-1.11/src/viktrwlayer_analysis.c:449:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_analysis.c:664:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_analysis.c:688:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_analysis.c:818:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_analysis.c:1275:18: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_analysis.c:727:3: error: Memory leak: str [memleak] viking-1.11/src/viktrwlayer_analysis.c:969:3: error: Memory leak: str [memleak] viking-1.11/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] viking-1.11/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] viking-1.11/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] viking-1.11/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] viking-1.11/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] viking-1.11/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] viking-1.11/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] viking-1.11/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] viking-1.11/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] viking-1.11/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] viking-1.11/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.11/src/viktrack.h:152:57: note: Function 'vik_track_remove_dodgy_first_point' argument 1 names different: declaration 'vt' definition 'tr'. viking-1.11/src/viktrack.c:572:57: note: Function 'vik_track_remove_dodgy_first_point' argument 1 names different: declaration 'vt' definition 'tr'. viking-1.11/src/viktrack.c:647:52: style:inconclusive: Function 'vik_track_split_into_segments' argument 1 names different: declaration 'tr' definition 't'. [funcArgNamesDifferent] viking-1.11/src/viktrack.h:139:52: note: Function 'vik_track_split_into_segments' argument 1 names different: declaration 'tr' definition 't'. viking-1.11/src/viktrack.c:647:52: note: Function 'vik_track_split_into_segments' argument 1 names different: declaration 'tr' definition 't'. viking-1.11/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.11/src/viktrack.h:142:61: note: Function 'vik_track_get_duration' argument 2 names different: declaration 'include_segments' definition 'segment_gaps'. viking-1.11/src/viktrack.c:753:61: note: Function 'vik_track_get_duration' argument 2 names different: declaration 'include_segments' definition 'segment_gaps'. viking-1.11/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.11/src/viktrack.h:182:53: note: Function 'vik_track_get_tp_by_dist' argument 1 names different: declaration 'tr' definition 'trk'. viking-1.11/src/viktrack.c:1769:53: note: Function 'vik_track_get_tp_by_dist' argument 1 names different: declaration 'tr' definition 'trk'. viking-1.11/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.11/src/viktrack.h:184:84: note: Function 'vik_track_get_closest_tp_by_percentage_time' argument 2 names different: declaration 'reldist' definition 'reltime'. viking-1.11/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.11/src/viktrack.c:2055:63: style:inconclusive: Function 'vik_track_marshall' argument 3 names different: declaration 'len' definition 'datalen'. [funcArgNamesDifferent] viking-1.11/src/viktrack.h:206:63: note: Function 'vik_track_marshall' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.11/src/viktrack.c:2055:63: note: Function 'vik_track_marshall' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.11/src/viktrwlayer_geotag.c:747:2: error: Memory leak: gd [memleak] viking-1.11/src/viktrwlayer_analysis.c:277:53: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_analysis.c:445:13: style: Variable 'num' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer_analysis.c:558:19: style: Variable 'tot' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer_analysis.c:591:19: style: Variable 'tot' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer_analysis.c:635:56: style: Parameter 'tracks_and_layers' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrack.c:318:10: style: Variable 'tpl' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer_analysis.c:672:41: style: Parameter 'tracks_and_layers' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrack.c:392:12: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrack.c:411:12: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer_analysis.c:752:47: style: Parameter 'tree_view' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrack.c:432:10: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer_analysis.c:1013:16: style: Variable 'acb' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrack.c:495:10: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer_analysis.c:1018:13: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrack.c:636:10: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrack.c:647:52: style: Parameter 't' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrack.c:762:24: style: Variable 'trkpt_last' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrack.c:790:43: style: Parameter 'tr' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrack.c:1006:20: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrack.c:1060:20: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrack.c:1479:22: style: Variable 'tp1' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrack.c:1480:22: style: Variable 'tp2' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrack.c:1769:53: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrack.c:2004:75: style: Parameter 'tp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrack.c:2040:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrack.c:2167:10: style: Variable 'tp_iter' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrack.c:2405:43: style: Parameter 'tp2' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrack.c:2441:18: style: Variable 'tp_missing' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrack.c:2531:15: style: Variable 'cur_coord' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrack.c:2532:15: style: Variable 'prev_coord' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrack.c:2566:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrack.c:2567:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrack.c:2569:18: style: Variable 'tpa' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrack.c:2570:18: style: Variable 'tpb' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer_geotag.c:37:39: style: Parameter 'StringTime' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_geotag.c:37:57: style: Parameter 'Format' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_geotag.c:354:16: style: Variable 'wpt' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer_geotag.c:706:15: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrack.c:873:34: style: Variable 'speed' is assigned a value that is never used. [unreadVariable] viking-1.11/src/viktrack.c:1383:16: style: Variable 'current_dist' is assigned a value that is never used. [unreadVariable] viking-1.11/src/viktrack.c:1384:28: style: Variable 'current_area_under_curve' is assigned a value that is never used. [unreadVariable] viking-1.11/src/viktrack.c:1458:20: style: Variable 'current_dist' is assigned a value that is never used. [unreadVariable] viking-1.11/src/viktrack.c:1901:33: style: Variable 'speed' is assigned a value that is never used. [unreadVariable] viking-1.11/src/viktrwlayer_export.c:83:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_export.c:172:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_export.c:253:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_export.c:312:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_export.c:412:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_export.c:477:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_export.c:489: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] viking-1.11/src/viktrwlayer_export.c:501: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] viking-1.11/src/viktrwlayer_export.c:507: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] viking-1.11/src/viktrwlayer_export.c:109:23: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_export.c:338:21: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer_export.c:360:21: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer_export.c:533:18: style: Variable 'active' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer_tpwin.c:75:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_DIALOG [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_tpwin.c:162:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_tpwin.c:259:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_GRAVITY_STATIC [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_tpwin.c:310:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RELIEF_NONE [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_tpwin.c:517:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] viking-1.11/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] viking-1.11/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] viking-1.11/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] viking-1.11/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] viking-1.11/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] viking-1.11/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] viking-1.11/src/viktrwlayer_tpwin.c:496:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_tpwin.c:608:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_tpwin.c:608:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_tpwin.c:172:36: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_tpwin.c:172:76: style: Parameter 'tpwin' can be declared as pointer to const [constParameterPointer] viking-1.11/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.11/src/viktrwlayer_tpwin.c:311:3: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_tpwin.c:185:72: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/viktrwlayer_tpwin.c:483:70: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_waypointlist.c:54:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_GRAVITY_STATIC [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_waypointlist.c:158:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_waypointlist.c:173:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_waypointlist.c:201:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_waypointlist.c:381:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_waypointlist.c:453:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_waypointlist.c:626:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_waypointlist.c:742:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_tracklist.c:53:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_GRAVITY_STATIC [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_tracklist.c:163:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_tracklist.c:179:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_tracklist.c:353:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_tracklist.c:422:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_tracklist.c:607:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_tracklist.c:764:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/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] viking-1.11/src/viktrwlayer_waypointlist.c:495:3: error: Memory leak: filter_case [memleak] viking-1.11/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.11/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.11/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'. viking-1.11/src/viktrwlayer_waypointlist.c:293:44: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_waypointlist.c:293:61: style: Parameter 'tree_view' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_waypointlist.c:377:11: style: Variable 'wptf' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer_waypointlist.c:570:61: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'format_elev_cell_data_func' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viktrwlayer_waypointlist.c:671:62: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_waypointlist.c:570:61: note: Parameter 'user_data' can be declared as pointer to const viking-1.11/src/viktrwlayer_waypointlist.c:249:135: error: Uninitialized struct member: ll.lat [uninitStructMember] viking-1.11/src/viktrwlayer_waypointlist.c:249:148: error: Uninitialized struct member: ll.lon [uninitStructMember] viking-1.11/src/viktrwlayer_tracklist.c:733: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] viking-1.11/src/viktrwlayer_tracklist.c:240:4: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_tracklist.c:245:4: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_tracklist.c:511:3: error: Memory leak: filter_case [memleak] viking-1.11/src/viktrwlayer_tracklist.c:761: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.11/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.11/src/viktrwlayer_tracklist.c:761:54: note: Function 'vik_trw_layer_track_list_show_dialog' argument 5 names different: declaration 'is_aggregate' definition 'show_layer_names'. viking-1.11/src/viktrwlayer_tracklist.c:153:12: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer_tracklist.c:272:43: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_tracklist.c:272:60: style: Parameter 'tree_view' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_tracklist.c:346:11: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:642:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:643:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:644:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:645:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:646:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:650:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:651:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:652:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:657:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:665:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:676:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:678:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:680:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:681:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:682:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:684:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:693:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:695:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:707:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:1094:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:1637:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:1846:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:2093:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:2475:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:2587:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:3022:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:3030:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:3044:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:3084:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_PROPERTY_BACKGROUND_COLOR [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:3122:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:3225:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CROSSHAIR [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:3264:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:3270:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkTreeIter [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:3299:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkTreeIter [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:3374:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:3433:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:3848:115: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:3888:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:3914:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:3961:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:4092:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:4239:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:4268:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:4383:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:4406:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:4578:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:4709:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:4772:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:4800:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:4822:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:4866:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:4920:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:4927:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:5007:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:5045:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:5111:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:5153:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:5403:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:5497:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable realized [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:5536:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable realized [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:5577:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable realized [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:5614:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:5659:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_REGEX_CASELESS [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:5724:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:5797:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:5873:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:5920:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:5943:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:5979:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:6086:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:6104:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:6129:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:6190:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:6203:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:6213:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:6230:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:6290:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:6315:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:6333:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:6364:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:6404:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:6438:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:6530:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:6614:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:6744:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:6825:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:6930:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:6946:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:6963:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:6985:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:7029:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:7073:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:7094:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:7123:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:7304:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:7329:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:7518:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:7574:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:7678:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:7761:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:7834:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:7846:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:7931:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable newsegment [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:7994:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:8083:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:8197:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:8209:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable newsegment [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:8311:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:8342:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:8363:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:8445:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:8482:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:8574:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:8730:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:8799:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:8856:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:8906:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9032:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9070:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9120:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9177:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9197:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9240:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9306:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9319:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9332:107: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9360:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9373:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9386:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9398:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9411:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9424:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9444:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9489:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9519:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9537:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9560:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9571:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9594:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9696:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tracks [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:9774:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable waypoints [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:10310:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:10485:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:10576:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:10799:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:10837:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:10927:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:11084:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:11187:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_DEST_ATOP [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:11209:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable drawpoints_size [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:11329:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:11369:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:11486:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:11619:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:11691:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:11720:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:11835:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_desc [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:11967:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:11997:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Shift_L [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:12038:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_2BUTTON_PRESS [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:12090:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:12164:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:12199:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:12249:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:12342:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:12433:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:12466:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:12495:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:12532:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:12596:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:12656:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:12745:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:12778:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:12832:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:12876:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:12895:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:12918:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:12961:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable realized [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:13153:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:13243:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:13368:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:13380:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:13389:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:13429:155: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:13460:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:13539:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/vikutils.c:1467:16: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/viktrwlayer_propwin.c:491:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:513:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:562:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:577:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_GRAVITY_STATIC [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:599:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:646:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:865:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:1178:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:1191:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:1309:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:2068:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:2223:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_LINE_CAP_SQUARE [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:2577:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:2683:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS_MASK [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:2697:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:2872:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:2932:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:3103:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:3504:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:3807:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:4136:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:4259:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:4352:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:4403:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:4480:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] viking-1.11/src/vikviewport.c:171:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] viking-1.11/src/vikviewport.c:214:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikviewport.c:338:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikviewport.c:472:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] viking-1.11/src/vikviewport.c:521:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] viking-1.11/src/vikviewport.c:605:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] viking-1.11/src/vikviewport.c:810:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_desc [valueFlowBailoutIncompleteVar] viking-1.11/src/vikviewport.c:890:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_desc [valueFlowBailoutIncompleteVar] viking-1.11/src/vikviewport.c:1001:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_CONTENT_COLOR_ALPHA [valueFlowBailoutIncompleteVar] viking-1.11/src/vikviewport.c:1053:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MININT [valueFlowBailoutIncompleteVar] viking-1.11/src/vikviewport.c:1274:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/vikviewport.c:1621:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT16 [valueFlowBailoutIncompleteVar] viking-1.11/src/vikviewport.c:1779:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] viking-1.11/src/vikutils.c:342:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] viking-1.11/src/vikutils.c:437:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] viking-1.11/src/vikutils.c:519:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] viking-1.11/src/vikutils.c:570:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikutils.c:601:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikutils.c:645:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikutils.c:784:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikutils.c:914:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] viking-1.11/src/vikutils.c:961:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] viking-1.11/src/vikutils.c:1285:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] viking-1.11/src/vikutils.c:1467:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/vikutils.c:1506:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/vikutils.c:1526:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_wpwin.c:50:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_wpwin.c:148:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_wpwin.c:310:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_APPLY [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_wpwin.c:739:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] viking-1.11/src/vikutils.c:64:13: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] viking-1.11/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] viking-1.11/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] viking-1.11/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] viking-1.11/src/vikviewport.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] viking-1.11/src/vikutils.c:601:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikutils.c:421:3: error: Return value of allocation function 'g_thread_try_new' is not stored. [leakReturnValNotUsed] viking-1.11/src/vikutils.c:719:97: style:inconclusive: Function 'vu_get_time_string' argument 4 names different: declaration 'gtz' definition 'tz'. [funcArgNamesDifferent] viking-1.11/src/vikutils.h:39:97: note: Function 'vu_get_time_string' argument 4 names different: declaration 'gtz' definition 'tz'. viking-1.11/src/vikutils.c:719:97: note: Function 'vu_get_time_string' argument 4 names different: declaration 'gtz' definition 'tz'. viking-1.11/src/vikviewport.c:2042:16: style: Condition 'found==NULL' is always true [knownConditionTrueFalse] viking-1.11/src/vikviewport.c:2041:24: note: Assignment 'found=NULL', assigned value is 0 viking-1.11/src/vikviewport.c:2042:16: note: Condition 'found==NULL' is always true viking-1.11/src/vikviewport.c:217:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikutils.c:50:49: style: Parameter 'format_code' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikutils.c:50:121: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikutils.c:553:13: style: Variable 'pt' can be declared as const array [constVariable] viking-1.11/src/vikutils.c:620:32: style: Parameter 'a1' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikutils.c:620:44: style: Parameter 'a2' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikutils.c:908:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikutils.c:1233:58: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikutils.c:1419:77: style: Parameter 'order' can be declared as pointer to const. However it seems that 'sort_hash_compare' is a callback function, if 'order' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/vikutils.c:1487:35: note: You might need to cast the function pointer here viking-1.11/src/vikutils.c:1419:77: note: Parameter 'order' can be declared as pointer to const viking-1.11/src/vikutils.c:1421:16: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikutils.c:1422:16: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikutils.c:1496:9: style: Variable 'txt' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikutils.c:1504:44: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:330:73: style:inconclusive: Function 'vik_viewport_set_background_color' argument 2 names different: declaration 'color' definition 'colorname'. [funcArgNamesDifferent] viking-1.11/src/vikviewport.h:160:73: note: Function 'vik_viewport_set_background_color' argument 2 names different: declaration 'color' definition 'colorname'. viking-1.11/src/vikviewport.c:330:73: note: Function 'vik_viewport_set_background_color' argument 2 names different: declaration 'color' definition 'colorname'. viking-1.11/src/vikviewport.c:364:72: style:inconclusive: Function 'vik_viewport_set_highlight_color' argument 2 names different: declaration 'color' definition 'colorname'. [funcArgNamesDifferent] viking-1.11/src/vikviewport.h:168:72: note: Function 'vik_viewport_set_highlight_color' argument 2 names different: declaration 'color' definition 'colorname'. viking-1.11/src/vikviewport.c:364:72: note: Function 'vik_viewport_set_highlight_color' argument 2 names different: declaration 'color' definition 'colorname'. viking-1.11/src/vikviewport.c:574:48: style:inconclusive: Function 'vik_viewport_configure' argument 1 names different: declaration 'vp' definition 'vvp'. [funcArgNamesDifferent] viking-1.11/src/vikviewport.h:65:48: note: Function 'vik_viewport_configure' argument 1 names different: declaration 'vp' definition 'vvp'. viking-1.11/src/vikviewport.c:574:48: note: Function 'vik_viewport_configure' argument 1 names different: declaration 'vp' definition 'vvp'. viking-1.11/src/vikviewport.c:1091:56: style:inconclusive: Function 'vik_viewport_set_zoom' argument 2 names different: declaration 'mpp' definition 'xympp'. [funcArgNamesDifferent] viking-1.11/src/vikviewport.h:78:56: note: Function 'vik_viewport_set_zoom' argument 2 names different: declaration 'mpp' definition 'xympp'. viking-1.11/src/vikviewport.c:1091:56: note: Function 'vik_viewport_set_zoom' argument 2 names different: declaration 'mpp' definition 'xympp'. viking-1.11/src/vikviewport.c:195:45: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:317:62: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:323:63: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:351:61: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:357:62: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:382:53: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:387:58: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:430:49: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:533:63: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:723:53: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:875:12: style: Variable 'copyright' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikviewport.c:917:58: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:970:57: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:1143:46: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:1150:46: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:1155:46: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:1315:13: style: Variable 'center' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikviewport.c:1339:13: style: Variable 'new_center' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikviewport.c:1360:13: style: Variable 'new_center' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikviewport.c:1506:43: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:1512:44: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:1568:17: style: Variable 'center' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikviewport.c:1569:17: style: Variable 'utm' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikviewport.c:1580:20: style: Variable 'center' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikviewport.c:1581:20: style: Variable 'll' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikviewport.c:1676:44: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:1699:49: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:1900:50: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:1905:46: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:1928:62: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikviewport.c:2019:13: style: Variable 'found' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikviewport.c:2041:16: style: Variable 'found' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikwaypoint.c:365:21: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/vikwaypoint.c:584:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] viking-1.11/src/vikwebtool.c:100:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable get_url_at_position [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwebtool.c:64:44: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwaypoint.c:38:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwaypoint.c:365:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwaypoint.c:441:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwaypoint.c:584:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] viking-1.11/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] viking-1.11/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] viking-1.11/src/vikwaypoint.c:554:69: style:inconclusive: Function 'vik_waypoint_marshall' argument 3 names different: declaration 'len' definition 'datalen'. [funcArgNamesDifferent] viking-1.11/src/vikwaypoint.h:103:69: note: Function 'vik_waypoint_marshall' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.11/src/vikwaypoint.c:554:69: note: Function 'vik_waypoint_marshall' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.11/src/vikwaypoint.c:365:16: style: Local variable 'key' shadows outer argument [shadowArgument] viking-1.11/src/vikwaypoint.c:344:84: note: Shadowed declaration viking-1.11/src/vikwaypoint.c:365:16: note: Shadow variable viking-1.11/src/vikwaypoint.c:214:19: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikwaypoint.c:338:52: style: Parameter 'wp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwaypoint.c:344:43: style: Parameter 'wp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwaypoint.c:344:96: style: Parameter 'ext_start' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwaypoint.c:344:114: style: Parameter 'ext_end' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_propwin.c:4160:13: style: Condition 'pwgt==PGT_ELEVATION_DISTANCE' is always true [knownConditionTrueFalse] viking-1.11/src/viktrwlayer_propwin.c:4156:32: note: Assignment 'pwgt=PGT_ELEVATION_DISTANCE', assigned value is 0 viking-1.11/src/viktrwlayer_propwin.c:4160:13: note: Condition 'pwgt==PGT_ELEVATION_DISTANCE' is always true viking-1.11/src/viktrwlayer_propwin.c:4169:13: style: Condition 'pwgt==PGT_SPEED_TIME' is always false [knownConditionTrueFalse] viking-1.11/src/viktrwlayer_propwin.c:4156:32: note: Assignment 'pwgt=PGT_ELEVATION_DISTANCE', assigned value is 0 viking-1.11/src/viktrwlayer_propwin.c:4169:13: note: Condition 'pwgt==PGT_SPEED_TIME' is always false viking-1.11/src/viktrwlayer_propwin.c:1021:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_propwin.c:1021:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_propwin.c:1021:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_propwin.c:1612:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_propwin.c:1678:20: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_propwin.c:3658:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_propwin.c:3658:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_propwin.c:3658:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_propwin.c:3663:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_propwin.c:3663:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_propwin.c:3663:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_propwin.c:4321:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_propwin.c:4321:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_propwin.c:4321:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_propwin.c:3214:5: error: Memory leak: str [memleak] viking-1.11/src/viktrwlayer_propwin.c:4077:41: style: Checking if unsigned expression 'vik_track_get_dup_point_count(tr)' is less than zero. [unsignedLessThanZero] viking-1.11/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.11/src/viktrwlayer_propwin.h:56:57: note: Function 'vik_trw_layer_propwin_main_refresh' argument 1 names different: declaration 'vtl' definition 'vl'. viking-1.11/src/viktrwlayer_propwin.c:4349:57: note: Function 'vik_trw_layer_propwin_main_refresh' argument 1 names different: declaration 'vtl' definition 'vl'. viking-1.11/src/viktrwlayer_propwin.c:489:69: style: Parameter 'trackpoint' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwebtoolbounds.c:120:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer_propwin.c:511:54: style: Parameter 'tr' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_propwin.c:511:73: style: Parameter 'trackpoint' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_propwin.c:819:57: style: Parameter 'widgets' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_propwin.c:838:70: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_propwin.c:864:14: style: Variable 'graph_box' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer_propwin.c:909:67: style: Parameter 'event_box' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_propwin.c:909:91: style: Parameter 'widgets' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_propwin.c:966:72: style: Parameter 'trackpoint' can be declared as pointer to const [constParameterPointer] viking-1.11/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.11/src/viktrwlayer_propwin.c:2722:34: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_propwin.c:995:54: note: Parameter 'trackpoint' can be declared as pointer to const viking-1.11/src/viktrwlayer_propwin.c:1026:94: style: Parameter 'trackpoint' can be declared as pointer to const [constParameterPointer] viking-1.11/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.11/src/viktrwlayer_propwin.c:2790:34: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_propwin.c:1100:60: note: Parameter 'trackpoint' can be declared as pointer to const viking-1.11/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.11/src/viktrwlayer_propwin.c:2806:34: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_propwin.c:1120:48: note: Parameter 'trackpoint' can be declared as pointer to const viking-1.11/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.11/src/viktrwlayer_propwin.c:2822:34: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_propwin.c:1133:49: note: Parameter 'trackpoint' can be declared as pointer to const viking-1.11/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.11/src/viktrwlayer_propwin.c:2838:34: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_propwin.c:1146:50: note: Parameter 'trackpoint' can be declared as pointer to const viking-1.11/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.11/src/viktrwlayer_propwin.c:2854:34: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_propwin.c:1162:51: note: Parameter 'trackpoint' can be declared as pointer to const viking-1.11/src/viktrwlayer_propwin.c:1289:10: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer_propwin.c:1562:76: style: Parameter 'widgets' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_propwin.c:1562:105: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_propwin.c:1600:81: style: Parameter 'widgets' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_propwin.c:1669:85: style: Parameter 'widgets' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_propwin.c:2136:37: style: Parameter 'rgba' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_propwin.c:2145:22: style: Variable 'vlpd' can be declared as pointer to const [constVariablePointer] viking-1.11/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.11/src/viktrwlayer_propwin.c:4082:3: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_propwin.c:2596:73: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/viktrwlayer_propwin.c:3196:62: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_propwin.c:3252:48: style: Parameter 'tree_view' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_propwin.c:3277:61: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'format_time_cell_data_func' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viktrwlayer_propwin.c:3331:63: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_propwin.c:3277:61: note: Parameter 'user_data' can be declared as pointer to const viking-1.11/src/viktrwlayer_propwin.c:3298:52: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_propwin.c:3342:10: style: Variable 'hght_str' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer_propwin.c:4144:14: style: Variable 'page' can be declared as pointer to const [constVariablePointer] viking-1.11/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.11/src/viktrwlayer_propwin.c:4516:5: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_propwin.c:4240:48: note: Parameter 'widget' can be declared as pointer to const viking-1.11/src/viktrwlayer_propwin.c:4276:22: style: Variable 'tp1' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikwebtoolbounds.c:161:52: style:inconclusive: Function 'webtool_bounds_get_url' argument 1 names different: declaration 'vw' definition 'self'. [funcArgNamesDifferent] viking-1.11/src/vikwebtoolbounds.c:39:52: note: Function 'webtool_bounds_get_url' argument 1 names different: declaration 'vw' definition 'self'. viking-1.11/src/vikwebtoolbounds.c:161:52: note: Function 'webtool_bounds_get_url' argument 1 names different: declaration 'vw' definition 'self'. viking-1.11/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.11/src/vikwebtoolbounds.c:40:64: note: Function 'webtool_bounds_get_url_at_position' argument 1 names different: declaration 'vw' definition 'self'. viking-1.11/src/vikwebtoolbounds.c:189:64: note: Function 'webtool_bounds_get_url_at_position' argument 1 names different: declaration 'vw' definition 'self'. viking-1.11/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.11/src/vikwebtoolbounds.c:113:33: note: You might need to cast the function pointer here viking-1.11/src/vikwebtoolbounds.c:63:44: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/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.11/src/vikwebtoolbounds.c:114:33: note: You might need to cast the function pointer here viking-1.11/src/vikwebtoolbounds.c:86:42: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/src/vikwebtoolbounds.c:88:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer_propwin.c:1567:77: warning: Uninitialized variable: ss [uninitvar] viking-1.11/src/viktrwlayer_propwin.c:2245:44: note: Calling function 'draw_grid_y', 5th argument 'ss' value is viking-1.11/src/viktrwlayer_propwin.c:1567:77: note: Uninitialized variable: ss viking-1.11/src/viktrwlayer_propwin.c:85:12: style: struct member '_propsaved::saved' is never used. [unusedStructMember] viking-1.11/src/viktrwlayer_propwin.c:865:14: style: Variable 'pc' is assigned a value that is never used. [unreadVariable] viking-1.11/src/vikwebtool_datasource.c:242:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwebtool_datasource.c:267:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwebtool_datasource.c:351:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwebtool_datasource.c:539:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwebtool_datasource.c:551:13: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] viking-1.11/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.11/src/vikwebtool_datasource.c:344:32: note: You might need to cast the function pointer here viking-1.11/src/vikwebtool_datasource.c:82:60: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/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.11/src/vikwebtool_datasource.c:345:32: note: You might need to cast the function pointer here viking-1.11/src/vikwebtool_datasource.c:154:58: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/src/vikwebtool_datasource.c:224:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikwebtool_datasource.c:230:9: style: Variable 'last_str' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikwebtool_datasource.c:603:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikwebtoolformat.c:132:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwebtoolformat.c:253:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwebtoolformat.c:265:13: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] viking-1.11/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.11/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.11/src/vikwebtoolformat.c:195:64: note: Function 'webtool_format_get_url_at_position' argument order different: declaration 'vw, vwindow, vc' definition 'self, vw, vc' viking-1.11/src/vikwebtoolformat.c:293:52: warning: Function 'webtool_format_get_url' argument order different: declaration 'vw, vwindow' definition 'self, vw' [funcArgOrderDifferent] viking-1.11/src/vikwebtoolformat.c:42:52: note: Function 'webtool_format_get_url' argument order different: declaration 'vw, vwindow' definition 'self, vw' viking-1.11/src/vikwebtoolformat.c:293:52: note: Function 'webtool_format_get_url' argument order different: declaration 'vw, vwindow' definition 'self, vw' viking-1.11/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.11/src/vikwebtoolformat.c:125:32: note: You might need to cast the function pointer here viking-1.11/src/vikwebtoolformat.c:68:44: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/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.11/src/vikwebtoolformat.c:126:32: note: You might need to cast the function pointer here viking-1.11/src/vikwebtoolformat.c:95:42: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/src/vikwebtoolformat.c:97:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/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.11/src/vikwebtoolformat.c:152:23: note: You might need to cast the function pointer here viking-1.11/src/vikwebtoolformat.c:189:56: note: Parameter 'self' can be declared as pointer to const viking-1.11/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.11/src/vikwebtoolformat.c:150:36: note: You might need to cast the function pointer here viking-1.11/src/vikwebtoolformat.c:195:95: note: Parameter 'vc' can be declared as pointer to const viking-1.11/src/viktrwlayer_wpwin.c:235:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer_wpwin.c:59:36: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] viking-1.11/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.11/src/viktrwlayer_wpwin.c:362:5: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_wpwin.c:71:66: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/viktrwlayer_wpwin.c:278:101: style: Parameter 'default_name' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer_wpwin.c:571:12: style: Variable 'cmt' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikwmscmapsource.c:143:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_wmsc_map_source_parent_class [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwmscmapsource.c:330:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwmscmapsource.c:473:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwmscmapsource.c:500:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/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.11/src/vikwmscmapsource.c:304:31: note: You might need to cast the function pointer here viking-1.11/src/vikwmscmapsource.c:150:51: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/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.11/src/vikwmscmapsource.c:305:34: note: You might need to cast the function pointer here viking-1.11/src/vikwmscmapsource.c:231:49: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/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.11/src/vikwmscmapsource.c:311:45: note: You might need to cast the function pointer here viking-1.11/src/vikwmscmapsource.c:443:40: note: Parameter 'self' can be declared as pointer to const viking-1.11/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.11/src/vikwmscmapsource.c:312:34: note: You might need to cast the function pointer here viking-1.11/src/vikwmscmapsource.c:449:29: note: Parameter 'self' can be declared as pointer to const viking-1.11/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.11/src/vikwmscmapsource.c:313:41: note: You might need to cast the function pointer here viking-1.11/src/vikwmscmapsource.c:455:36: note: Parameter 'self' can be declared as pointer to const viking-1.11/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.11/src/vikwmscmapsource.c:309:48: note: You might need to cast the function pointer here viking-1.11/src/vikwmscmapsource.c:487:59: note: Parameter 'src' can be declared as pointer to const viking-1.11/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.11/src/vikwmscmapsource.c:321:26: note: You might need to cast the function pointer here viking-1.11/src/vikwmscmapsource.c:505:48: note: Parameter 'src' can be declared as pointer to const viking-1.11/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.11/src/vikwmscmapsource.c:323:39: note: You might need to cast the function pointer here viking-1.11/src/vikwmscmapsource.c:549:61: note: Parameter 'src' can be declared as pointer to const viking-1.11/src/vikwmscmapsource.c:581:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikwmscmapsource.c:592:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikwmscmapsource.c:603:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikwmscmapsource.c:614:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikwmscmapsource.c:625:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikwmscmapsource.c:636:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikwebtoolcenter.c:123:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] viking-1.11/test/geotag_write.c:15:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIK_COORD_LATLON [valueFlowBailoutIncompleteVar] viking-1.11/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.11/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.11/src/vikwebtoolcenter.c:43:64: note: Function 'webtool_center_get_url_at_position' argument 1 names different: declaration 'vw' definition 'self'. viking-1.11/src/vikwebtoolcenter.c:170:64: note: Function 'webtool_center_get_url_at_position' argument 1 names different: declaration 'vw' definition 'self'. viking-1.11/src/vikwebtoolcenter.c:204:52: style:inconclusive: Function 'webtool_center_get_url' argument 1 names different: declaration 'vw' definition 'self'. [funcArgNamesDifferent] viking-1.11/src/vikwebtoolcenter.c:42:52: note: Function 'webtool_center_get_url' argument 1 names different: declaration 'vw' definition 'self'. viking-1.11/src/vikwebtoolcenter.c:204:52: note: Function 'webtool_center_get_url' argument 1 names different: declaration 'vw' definition 'self'. viking-1.11/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.11/src/vikwebtoolcenter.c:116:33: note: You might need to cast the function pointer here viking-1.11/src/vikwebtoolcenter.c:66:44: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/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.11/src/vikwebtoolcenter.c:117:33: note: You might need to cast the function pointer here viking-1.11/src/vikwebtoolcenter.c:89:42: note: Parameter 'pspec' can be declared as pointer to const viking-1.11/src/vikwebtoolcenter.c:91:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] viking-1.11/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.11/src/vikwebtoolcenter.c:134:24: note: You might need to cast the function pointer here viking-1.11/src/vikwebtoolcenter.c:166:56: note: Parameter 'self' can be declared as pointer to const viking-1.11/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.11/src/vikwebtoolcenter.c:132:37: note: You might need to cast the function pointer here viking-1.11/src/vikwebtoolcenter.c:170:100: note: Parameter 'vc' can be declared as pointer to const viking-1.11/test/test_coord_conversion.c:9:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIK_COORD_LATLON [valueFlowBailoutIncompleteVar] viking-1.11/test/test_coord_conversion.c:36:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIK_TYPE_WMSC_MAP_SOURCE [valueFlowBailoutIncompleteVar] viking-1.11/test/test_file_load.c:36:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] viking-1.11/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.11/test/test_decimal_output.c:15:27: style: Parameter 'argv' can be declared as const array [constParameter] viking-1.11/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.11/test/test_babel.c:28:39: note: You might need to cast the function pointer here viking-1.11/test/test_babel.c:8:56: note: Parameter 'user_data' can be declared as pointer to const viking-1.11/test/test_babel.c:10:13: style: Variable 'file' can be declared as pointer to const [constVariablePointer] viking-1.11/test/test_babel.c:18:25: style: Parameter 'argv' can be declared as const array [constParameter] viking-1.11/test/test_parse_latlon.c:24:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] viking-1.11/test/test_time.c:14:26: style: Parameter 'argv' can be declared as const array [constParameter] viking-1.11/test/test_vikgotoxmltool.c:16:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] viking-1.11/test/test_vikgotoxmltool.c:48:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIK_GOTO_XML_TOOL_TYPE [valueFlowBailoutIncompleteVar] viking-1.11/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.11/test/vik2vik.c:55:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOAD_TYPE_VIK_FAILURE_NON_FATAL [valueFlowBailoutIncompleteVar] viking-1.11/test/test_metatile.c:36:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable METATILE_MAX_SIZE [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:427:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:723:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:749:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:792:117: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:1004:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:1039:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:1074:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:1132:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:1149:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:1173:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VOLUME_IDENTIFIER_KIND_LABEL [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:1202:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VOLUME_IDENTIFIER_KIND_LABEL [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:1235:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VOLUME_IDENTIFIER_KIND_LABEL [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:1314:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WATCH [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:1591:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:1631:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:1738:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:1843:109: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tooltip [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:2230:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SCROLL_UP [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:2257:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:2310:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SOURCE_TOUCHPAD [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:2406:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_desc [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:2801:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:2878:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_desc [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:2964:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:2984:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Right [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:2996:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Up [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:3023:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:3044:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:3181:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:3228:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:3242:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:3361:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_2BUTTON_PRESS [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:3453:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:3555:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_2BUTTON_PRESS [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:3634:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_MOD5_MASK [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:3669:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_MOD5_MASK [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:3723:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Left [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:3743:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Menu [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:4006:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:4333:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FORMAT_SIZE_LONG_FORMAT [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:4573:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:4631:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:4659:140: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:4707:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:4883:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RECENT_SORT_MRU [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:4900:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:5035:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:5219:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:5232:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:5351:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:5414:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:5461:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:5685:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:5745:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:5805:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:5898:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:5989:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable viking_vvp [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:6041:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:6146:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:6457:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:6472:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] viking-1.11/src/vikwindow.c:6722:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_active [valueFlowBailoutIncompleteVar] viking-1.11/src/viktrwlayer.c:1097:55: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] viking-1.11/src/viktrwlayer.c:1146:55: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] viking-1.11/src/viktrwlayer.c:3573:48: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] viking-1.11/src/viktrwlayer.c:3574:48: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] viking-1.11/src/viktrwlayer.c:5176: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] viking-1.11/src/viktrwlayer.c:5181: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] viking-1.11/src/viktrwlayer.c:5186: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] viking-1.11/src/viktrwlayer.c:5215:53: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] viking-1.11/src/viktrwlayer.c:8012:50: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] viking-1.11/src/viktrwlayer.c:8447:57: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] viking-1.11/src/viktrwlayer.c:8462:57: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] viking-1.11/src/viktrwlayer.c:8560:55: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] viking-1.11/src/viktrwlayer.c:8562:57: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] viking-1.11/src/viktrwlayer.c:8584:55: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] viking-1.11/src/viktrwlayer.c:8586:57: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] viking-1.11/src/viktrwlayer.c:8480:55: error: Invalid g_file_open_tmp() argument nr 2. A nul-terminated string is required. [invalidFunctionArgStr] viking-1.11/src/vikwindow.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] viking-1.11/src/viktrwlayer.c:12086:53: style: Redundant condition: vtl->current_track. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] viking-1.11/src/viktrwlayer.c:12194:53: style: Redundant condition: vtl->current_track. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] viking-1.11/src/viktrwlayer.c:12246:29: style: Redundant condition: vtl->current_track. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] viking-1.11/src/viktrwlayer.c:9864:20: style: The if condition is the same as the previous if condition [duplicateCondition] viking-1.11/src/viktrwlayer.c:9862:20: note: First condition viking-1.11/src/viktrwlayer.c:9864:20: note: Second condition viking-1.11/src/viktrwlayer.c:10066:20: style: The if condition is the same as the previous if condition [duplicateCondition] viking-1.11/src/viktrwlayer.c:10062:20: note: First condition viking-1.11/src/viktrwlayer.c:10066:20: note: Second condition viking-1.11/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] viking-1.11/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] viking-1.11/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] viking-1.11/src/vikwindow.c:1414:71: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] viking-1.11/src/vikwindow.c:1672:10: style: Condition 'vl' is always true [knownConditionTrueFalse] viking-1.11/src/vikwindow.c:1712:10: style: Condition 'vl' is always true [knownConditionTrueFalse] viking-1.11/src/vikwindow.c:1413:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikwindow.c:1733:20: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikwindow.c:4334:16: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikwindow.c:5835:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikwindow.c:5835:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikwindow.c:5906:7: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikwindow.c:5906:7: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer.c:13142:30: style: Condition 'get_download_area_width(vvp,zoom_level,&wh)' is always false [knownConditionTrueFalse] viking-1.11/src/viktrwlayer.c:13142:30: note: Calling function 'get_download_area_width' returns 0 viking-1.11/src/viktrwlayer.c:13142:30: note: Condition 'get_download_area_width(vvp,zoom_level,&wh)' is always false viking-1.11/src/viktrwlayer.c:3528:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer.c:3528:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer.c:3528:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer.c:3591:11: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'GDate *'. [invalidPrintfArgType_uint] viking-1.11/src/viktrwlayer.c:3592:11: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'GDate *'. [invalidPrintfArgType_uint] viking-1.11/src/viktrwlayer.c:3598:13: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'GDate *'. [invalidPrintfArgType_uint] viking-1.11/src/viktrwlayer.c:4964:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer.c:4988:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer.c:4988:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer.c:4988:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer.c:6703:19: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/vikwindow.c:4934:1: error: Memory leak: recent_data [memleak] viking-1.11/src/vikwindow.c:5594:5: error: Memory leak: texts [memleak] viking-1.11/src/viktrwlayer.c:11742:5: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] viking-1.11/src/viktrwlayer.c:12982:9: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] viking-1.11/src/vikwindow.c:6881:3: error: Memory leak: action.label [memleak] viking-1.11/src/vikwindow.c:6881:3: error: Memory leak: action_dl.name [memleak] viking-1.11/src/vikwindow.c:6881:3: error: Memory leak: action_dl.label [memleak] viking-1.11/src/vikwindow.c:1180:59: warning: Either the condition 'id' is redundant or there is possible null pointer dereference: id. [nullPointerRedundantCheck] viking-1.11/src/vikwindow.c:1186:24: note: Assuming that condition 'id' is not redundant viking-1.11/src/vikwindow.c:1180:59: note: Null pointer dereference viking-1.11/src/vikwindow.c:1210:63: warning: Either the condition 'id' is redundant or there is possible null pointer dereference: id. [nullPointerRedundantCheck] viking-1.11/src/vikwindow.c:1216:41: note: Assuming that condition 'id' is not redundant viking-1.11/src/vikwindow.c:1210:63: note: Null pointer dereference viking-1.11/src/viktrwlayer.c:5259:5: error: Memory leak: gl [memleak] viking-1.11/src/viktrwlayer.c:5267:1: error: Memory leak: gl [memleak] viking-1.11/src/viktrwlayer.c:12370:17: warning: Either the condition '!vtl' is redundant or there is possible null pointer dereference: vtl. [nullPointerRedundantCheck] viking-1.11/src/viktrwlayer.c:12383:7: note: Assuming that condition '!vtl' is not redundant viking-1.11/src/viktrwlayer.c:12370:17: note: Null pointer dereference viking-1.11/src/vikwindow.c:6376:54: style:inconclusive: Function 'window_change_coord_mode_cb' argument 1 names different: declaration 'old' definition 'old_a'. [funcArgNamesDifferent] viking-1.11/src/vikwindow.c:140:54: note: Function 'window_change_coord_mode_cb' argument 1 names different: declaration 'old' definition 'old_a'. viking-1.11/src/vikwindow.c:6376:54: note: Function 'window_change_coord_mode_cb' argument 1 names different: declaration 'old' definition 'old_a'. viking-1.11/src/vikwindow.c:940:15: style: Local variable 'entries' shadows outer variable [shadowVariable] viking-1.11/src/vikwindow.c:6520:23: note: Shadowed declaration viking-1.11/src/vikwindow.c:940:15: note: Shadow variable viking-1.11/src/vikwindow.c:303:46: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwindow.c:308:53: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwindow.c:316:54: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwindow.c:324:50: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwindow.c:403:12: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikwindow.c:735:57: style: Parameter 'vl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwindow.c:936:14: style: Variable 'str' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikwindow.c:1583:70: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] viking-1.11/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.11/src/vikwindow.c:1430:3: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:1700:52: note: Parameter 'vw' can be declared as pointer to const viking-1.11/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.11/src/vikwindow.c:1430:3: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:1700:69: note: Parameter 'event' can be declared as pointer to const viking-1.11/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.11/src/vikwindow.c:1430:3: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:1700:85: note: Parameter 'data' can be declared as pointer to const viking-1.11/src/vikwindow.c:1862:10: style: Variable 'unit' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikwindow.c:1999:66: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwindow.c:2038:65: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwindow.c:2165:69: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwindow.c:2177:20: style: Variable 'gs' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikwindow.c:2238:67: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwindow.c:2752:63: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwindow.c:2813:62: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] viking-1.11/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.11/src/vikwindow.c:3068:24: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:2972:76: note: Parameter 'event' can be declared as pointer to const viking-1.11/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.11/src/vikwindow.c:3407:22: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:2981:51: note: Parameter 'vl' can be declared as pointer to const viking-1.11/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.11/src/vikwindow.c:3407:22: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:2981:68: note: Parameter 'event' can be declared as pointer to const viking-1.11/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.11/src/vikwindow.c:3407:22: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:2981:84: note: Parameter 'unused_data' can be declared as pointer to const viking-1.11/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.11/src/vikwindow.c:3408:22: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:3019:70: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/vikwindow.c:3129:74: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] viking-1.11/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.11/src/vikwindow.c:3339:24: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:3179:77: note: Parameter 'event' can be declared as pointer to const viking-1.11/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.11/src/vikwindow.c:3341:24: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:3240:79: note: Parameter 'event' can be declared as pointer to const viking-1.11/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.11/src/vikwindow.c:3400:30: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:3353:61: note: Parameter 'vvp' can be declared as pointer to const viking-1.11/src/vikwindow.c:3525:49: style: Parameter 'te' can be declared as pointer to const [constParameterPointer] viking-1.11/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.11/src/vikwindow.c:3782:24: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:3553:59: note: Parameter 'vl' can be declared as pointer to const viking-1.11/src/vikwindow.c:3609:20: style: Variable 'gs' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikwindow.c:3661:22: style: Variable 'gs' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikwindow.c:3847:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikwindow.c:4569:46: style: Parameter 'vt' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwindow.c:4749:54: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwindow.c:4754:53: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwindow.c:4766:59: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwindow.c:4821:47: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwindow.c:5301:78: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] viking-1.11/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.11/src/vikwindow.c:6599:161: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:5578:44: note: Parameter 'a' can be declared as pointer to const viking-1.11/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.11/src/vikwindow.c:6599:161: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:5578:58: note: Parameter 'vw' can be declared as pointer to const viking-1.11/src/vikwindow.c:6057:12: style: Variable 'extension' can be declared as pointer to const [constVariablePointer] viking-1.11/src/vikwindow.c:6961:57: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwindow.c:6984:57: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwindow.c:7003:54: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwindow.c:7023:60: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwindow.c:7040:56: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] viking-1.11/src/vikwindow.c:7093:45: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:2690:22: style: Redundant initialization for 'tmp_gc'. The initialized value is overwritten before it is read. [redundantInitialization] viking-1.11/src/viktrwlayer.c:2688:22: note: tmp_gc is initialized viking-1.11/src/viktrwlayer.c:2690:22: note: tmp_gc is overwritten viking-1.11/src/viktrwlayer.c:2694:21: style: Redundant initialization for 'gcl'. The initialized value is overwritten before it is read. [redundantInitialization] viking-1.11/src/viktrwlayer.c:2689:28: note: gcl is initialized viking-1.11/src/viktrwlayer.c:2694:21: note: gcl is overwritten viking-1.11/src/viktrwlayer.c:2690:15: style: Variable 'tmp_gc' is assigned an expression that holds the same value. [redundantAssignment] viking-1.11/src/viktrwlayer.c:2688:22: note: tmp_gc is assigned 'main_gc' here. viking-1.11/src/viktrwlayer.c:2690:15: note: Variable 'tmp_gc' is assigned an expression that holds the same value. viking-1.11/src/viktrwlayer.c:8512:12: style: Redundant initialization for 'sign_c'. The initialized value is overwritten before it is read. [redundantInitialization] viking-1.11/src/viktrwlayer.c:8506:16: note: sign_c is initialized viking-1.11/src/viktrwlayer.c:8512:12: note: sign_c is overwritten viking-1.11/src/viktrwlayer.c:3714:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] viking-1.11/src/viktrwlayer.c:3724:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] viking-1.11/src/viktrwlayer.c:3809:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] viking-1.11/src/viktrwlayer.c:3975:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] viking-1.11/src/viktrwlayer.c:3987:6: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] viking-1.11/src/viktrwlayer.c:4002:6: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] viking-1.11/src/viktrwlayer.c:4017:6: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] viking-1.11/src/viktrwlayer.c:4034:6: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] viking-1.11/src/viktrwlayer.c:4038:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] viking-1.11/src/viktrwlayer.c:3096:48: style:inconclusive: Function 'trw_layer_configure' argument 1 names different: declaration 'l' definition 'vtl'. [funcArgNamesDifferent] viking-1.11/src/viktrwlayer.c:852:48: note: Function 'trw_layer_configure' argument 1 names different: declaration 'l' definition 'vtl'. viking-1.11/src/viktrwlayer.c:3096:48: note: Function 'trw_layer_configure' argument 1 names different: declaration 'l' definition 'vtl'. viking-1.11/src/viktrwlayer.c:6455:36: warning: Function 'goto_coord' argument order different: declaration 'vlp, vvp, vl, coord' definition 'vlp, vl, vvp, coord' [funcArgOrderDifferent] viking-1.11/src/viktrwlayer.c:314:36: note: Function 'goto_coord' argument order different: declaration 'vlp, vvp, vl, coord' definition 'vlp, vl, vvp, coord' viking-1.11/src/viktrwlayer.c:6455:36: note: Function 'goto_coord' argument order different: declaration 'vlp, vvp, vl, coord' definition 'vlp, vl, vvp, coord' viking-1.11/src/viktrwlayer.c:10892:112: style:inconclusive: Function 'trw_layer_select_click' argument 4 names different: declaration 't' definition 'tet'. [funcArgNamesDifferent] viking-1.11/src/viktrwlayer.c:876:112: note: Function 'trw_layer_select_click' argument 4 names different: declaration 't' definition 'tet'. viking-1.11/src/viktrwlayer.c:10892:112: note: Function 'trw_layer_select_click' argument 4 names different: declaration 't' definition 'tet'. viking-1.11/src/viktrwlayer.c:12316:55: style:inconclusive: Function 'tool_edit_track_deactivate' argument 1 names different: declaration 'vtl' definition 'ignore'. [funcArgNamesDifferent] viking-1.11/src/viktrwlayer.c:425:55: note: Function 'tool_edit_track_deactivate' argument 1 names different: declaration 'vtl' definition 'ignore'. viking-1.11/src/viktrwlayer.c:12316:55: note: Function 'tool_edit_track_deactivate' argument 1 names different: declaration 'vtl' definition 'ignore'. viking-1.11/src/viktrwlayer.c:13528:48: style:inconclusive: Function 'trw_layer_replace_external' argument 1 names different: declaration 'vtl' definition 'trw'. [funcArgNamesDifferent] viking-1.11/src/viktrwlayer.h:203:48: note: Function 'trw_layer_replace_external' argument 1 names different: declaration 'vtl' definition 'trw'. viking-1.11/src/viktrwlayer.c:13528:48: note: Function 'trw_layer_replace_external' argument 1 names different: declaration 'vtl' definition 'trw'. viking-1.11/src/viktrwlayer.c:3407:20: style: Local variable 't' shadows outer variable [shadowVariable] viking-1.11/src/viktrwlayer.c:3392:13: note: Shadowed declaration viking-1.11/src/viktrwlayer.c:3407:20: note: Shadow variable viking-1.11/src/viktrwlayer.c:6871:18: style: Local variable 'tp' shadows outer variable [shadowVariable] viking-1.11/src/viktrwlayer.c:6831:20: note: Shadowed declaration viking-1.11/src/viktrwlayer.c:6871:18: note: Shadow variable viking-1.11/src/viktrwlayer.c:6879:18: style: Local variable 'tp' shadows outer variable [shadowVariable] viking-1.11/src/viktrwlayer.c:6831:20: note: Shadowed declaration viking-1.11/src/viktrwlayer.c:6879:18: note: Shadow variable viking-1.11/src/viktrwlayer.c:10120:18: style: Local variable 'item' shadows outer variable [shadowVariable] viking-1.11/src/viktrwlayer.c:9726:14: note: Shadowed declaration viking-1.11/src/viktrwlayer.c:10120:18: note: Shadow variable viking-1.11/src/viktrwlayer.c:10125:18: style: Local variable 'item' shadows outer variable [shadowVariable] viking-1.11/src/viktrwlayer.c:9726:14: note: Shadowed declaration viking-1.11/src/viktrwlayer.c:10125:18: note: Shadow variable viking-1.11/src/vikwindow.c:5879:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable] viking-1.11/src/viktrwlayer.c:1020:59: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:1032:60: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:1042:52: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:1054:56: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:1066:47: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:1120:28: style: Variable 'tpt' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:1241:20: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:1248:17: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:1255:17: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:1308: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.11/src/viktrwlayer.c:946:41: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:1308:80: note: Parameter 'item' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:2156:65: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:2181:62: style: Parameter 'fgcolour' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:2181:79: style: Parameter 'bgcolour' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:2181:125: style: Parameter 'coord' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:2390:18: style: Variable 'tp_end' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:2393:18: style: Variable 'tp_begin' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:2991: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.11/src/viktrwlayer.c:3136:43: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:2991:51: note: Parameter 'id' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:3061:37: style: Parameter 'rgba' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:3258:38: style: Parameter 'symbol' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:3278:18: style: Variable 'tpt' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:3372:82: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:3440:70: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:3448: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.11/src/viktrwlayer.c:3662:50: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:3448:69: note: Parameter 'tr' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:3466: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.11/src/viktrwlayer.c:3563:50: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:3466:69: note: Parameter 'tr' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:3478:20: style: Variable 'trkpt_last' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:3519:21: style: Variable 'lap' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:3731:17: style: Variable 'tr' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:3812:20: style: Variable 'w' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:3897:94: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:4046:53: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:4051:53: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:4056:56: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:4061:59: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:4066:59: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:4071:62: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:4110:61: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:4115:61: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:4120:64: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:4125:60: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:4242:52: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:4363:10: style: Variable 'label' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:4444:16: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:4481:44: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:4867:21: style: Variable 'vti' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:4961:21: style: Variable 'lap' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:5030:52: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:5256:10: style: Variable 'gl' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:5490:60: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:5529:57: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:5546:20: style: Variable 'tpt' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:5570:57: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:5602:66: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:5639:12: style: Variable 'id' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:5864:14: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:5911:14: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:5936:72: style: Parameter 'wp' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:5963:14: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:6017:12: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:6058:12: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:6181:56: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:6286:12: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:6309:12: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:6327:12: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:6422:12: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:6488:13: style: Variable 'track' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:6509:13: style: Variable 'track' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:6517:20: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:6621:9: style: Variable 'wpnm' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:6691:20: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:6960:12: style: Variable 'dems' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:7278:68: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:7418:18: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:7418:23: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:7419:13: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:7453:13: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:7456:13: style: Variable 'orig_trk' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:7466:14: style: Variable 'udata' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:7477:20: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:7478:20: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:7874:10: style: Variable 'trps' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:8384:13: style: Variable 'track' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:8399:13: style: Variable 'track' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:8439:15: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:8454:18: style: Variable 'wpt' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:8679:10: style: Variable 'dummy_list' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:8712:10: style: Variable 'dummy_list1' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:8744:14: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:8768:12: style: Variable 'dummy_list2' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:8986:10: style: Variable 'dummy_list' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:9018:10: style: Variable 'dummy_list1' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:9048:12: style: Variable 'dummy_list2' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:9277:85: style: Parameter 'on_off' can be declared as pointer to const. However it seems that 'trw_layer_waypoints_visibility' is a callback function, if 'on_off' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viktrwlayer.c:9321:51: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:9277:85: note: Parameter 'on_off' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:9341:80: style: Parameter 'on_off' can be declared as pointer to const. However it seems that 'trw_layer_tracks_visibility' is a callback function, if 'on_off' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viktrwlayer.c:9413:48: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:9341:80: note: Parameter 'on_off' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:9500:68: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'trw_layer_create_track_list' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viktrwlayer.c:13372:85: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:9500:68: note: Parameter 'user_data' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:9556:16: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:9567:16: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:9590:18: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:9620:15: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:9657:15: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:9687:49: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:9746:17: style: Variable 'tr' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:9751:17: style: Variable 'tr' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:10411:13: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:10483:78: style: Parameter 'coord' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:10598:50: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:10788: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.11/src/viktrwlayer.c:952:41: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:10788:75: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:10801:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:10809:20: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:10824: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.11/src/viktrwlayer.c:953:41: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:10824:78: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:10839:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:10847:20: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:10892: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.11/src/viktrwlayer.c:951:41: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:10892:76: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:11098:16: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:11142:16: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:11239: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.11/src/viktrwlayer.c:519:24: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:11239:92: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:11316: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.11/src/viktrwlayer.c:520:28: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:11316:91: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:11331:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:11339:20: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:11355: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.11/src/viktrwlayer.c:521:24: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:11355:94: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:11371:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:11379:20: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:11487:21: style: Variable 'vti' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:11688:14: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:11696:14: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:11705:63: style: Parameter 'target' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:11777:88: style: Parameter 'event' can be declared as pointer to const. However it seems that 'tool_edit_track_move' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viktrwlayer.c:496:28: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:11777:88: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:11964: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.11/src/viktrwlayer.c:484:22: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:11964:76: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:11995: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.11/src/viktrwlayer.c:499:22: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:11995:78: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:12013:98: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:12058:20: style: Variable 'other_tp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:12295: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.11/src/viktrwlayer.c:497:24: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:12295:91: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:12331: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.11/src/viktrwlayer.c:452:30: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:12331:55: note: Parameter 'vw' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:12336: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.11/src/viktrwlayer.c:453:24: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:12336:91: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:12364: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.11/src/viktrwlayer.c:532:24: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:12364:94: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:12393:15: style: Variable 'current_tr' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:12419: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.11/src/viktrwlayer.c:533:28: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:12419:93: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:12435:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:12451: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.11/src/viktrwlayer.c:534:24: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:12451:96: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:12468:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:12505:14: style: Variable 'last_to' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:12594: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.11/src/viktrwlayer.c:498:22: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:12594:87: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:12620: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.11/src/viktrwlayer.c:542:30: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:12620:55: note: Parameter 'vw' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:12631:21: style: Variable 'event' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:12902:15: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:12904:20: style: Variable 'tpt' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:12922:18: style: Variable 'wpt' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:13021:58: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:13042: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.11/src/viktrwlayer.c:13057:53: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:13042:82: note: Parameter 'dest_mode' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:13047: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.11/src/viktrwlayer.c:13059:50: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:13047:76: note: Parameter 'dest_mode' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:13068: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.11/src/viktrwlayer.c:920:41: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:13068:72: note: Parameter 'vtl' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:13088:43: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:13088:59: style: Parameter 'to' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:13088:78: style: Parameter 'dist' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:13150:13: style: Variable 'cur_coord' can be declared as pointer to const [constVariablePointer] viking-1.11/src/viktrwlayer.c:13339:50: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] viking-1.11/src/viktrwlayer.c:13554: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.11/src/viktrwlayer.c:505:30: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:13554:51: note: Parameter 'vw' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:13559: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.11/src/viktrwlayer.c:506:24: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:13559:87: note: Parameter 'event' can be declared as pointer to const viking-1.11/src/viktrwlayer.c:13181:8: warning: Uninitialized variable: cur_coord [uninitvar] viking-1.11/src/viktrwlayer.c:13152:10: note: Assuming condition is false viking-1.11/src/viktrwlayer.c:13181:8: note: Uninitialized variable: cur_coord viking-1.11/src/viktrwlayer.c:2139:14: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] viking-1.11/src/gpspoint.c:713:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] viking-1.11/src/gpspoint.c:471:17: style: Variable 'value_start' is assigned a value that is never used. [unreadVariable] viking-1.11/src/gpspoint.c:471:29: style: Variable 'value_end' is assigned a value that is never used. [unreadVariable] diff: head viking-1.11/src/acquire.c:109:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] head viking-1.11/src/acquire.c:178:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] head viking-1.11/src/acquire.c:230:7: error: Memory leak: options [memleak] head viking-1.11/src/acquire.c:239:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] head viking-1.11/src/acquire.c:253:7: error: Memory leak: options [memleak] head viking-1.11/src/acquire.c:265:7: error: Memory leak: options [memleak] head viking-1.11/src/acquire.c:376:7: error: Return value of allocation function 'g_thread_try_new' is not stored. [leakReturnValNotUsed] head viking-1.11/src/acquire.c:487:113: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] head viking-1.11/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] head viking-1.11/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] head viking-1.11/src/babel_ui.c:48:14: style: Variable 'file' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/babel_ui.c:52:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] head viking-1.11/src/background.c:170:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/background.c:195:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkTreeIter [valueFlowBailoutIncompleteVar] head viking-1.11/src/background.c:234:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/background.c:379:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CLOSE [valueFlowBailoutIncompleteVar] head viking-1.11/src/background.c:411:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] head viking-1.11/src/background.c:418:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] head viking-1.11/src/background.c:71:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] head viking-1.11/src/bingmapsource.c:130:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bing_map_source_parent_class [valueFlowBailoutIncompleteVar] head viking-1.11/src/bingmapsource.c:137: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.11/src/bingmapsource.c:206:31: note: You might need to cast the function pointer here viking-1.11/src/bingmapsource.c:137:30: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/src/bingmapsource.c:170: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.11/src/bingmapsource.c:207:31: note: You might need to cast the function pointer here viking-1.11/src/bingmapsource.c:170:28: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/src/bingmapsource.c:173:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/bingmapsource.c:217:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] head viking-1.11/src/bingmapsource.c:268: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.11/src/bingmapsource.c:208:31: note: You might need to cast the function pointer here viking-1.11/src/bingmapsource.c:268:48: note: Parameter 'src' can be declared as pointer to const head viking-1.11/src/bingmapsource.c:289: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.11/src/bingmapsource.c:210:30: note: You might need to cast the function pointer here viking-1.11/src/bingmapsource.c:289:26: note: Parameter 'self' can be declared as pointer to const head viking-1.11/src/bingmapsource.c:299:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/bingmapsource.c:415:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] head viking-1.11/src/bingmapsource.c:421:14: style: Condition 'offset==-1' is always false [knownConditionTrueFalse] head viking-1.11/src/bingmapsource.c:452:25: style: Variable 'aa' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/bingmapsource.c:476:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/bingmapsource.c:490: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.11/src/bingmapsource.c:508:31: note: You might need to cast the function pointer here viking-1.11/src/bingmapsource.c:490:25: note: Parameter 'data' can be declared as pointer to const head viking-1.11/src/clipboard.c:144:10: style: Variable 'cand' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/clipboard.c:170:13: style: Variable 'latc' can be declared as const array [constVariable] head viking-1.11/src/clipboard.c:171:13: style: Variable 'lonc' can be declared as const array [constVariable] head viking-1.11/src/clipboard.c:246:61: style: Parameter 'coord' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/clipboard.c:255:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/clipboard.c:267:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/clipboard.c:302:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/clipboard.c:361:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_TARGET_STRING [valueFlowBailoutIncompleteVar] head viking-1.11/src/clipboard.c:434:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] head viking-1.11/src/clipboard.c:452:1: error: Memory leak: vc [memleak] head viking-1.11/src/clipboard.c:452:1: error: Memory leak: vc.text [memleak] head viking-1.11/src/clipboard.c:462:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] head viking-1.11/src/clipboard.c:476:20: style: Variable 'vc' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/clipboard.c:524:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] head viking-1.11/src/compression.c:218:25: style: Parameter 'zip_file' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/compression.c:218:43: style: Parameter 'unzip_size' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/compression.c:297:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GInputStream [valueFlowBailoutIncompleteVar] head viking-1.11/src/compression.c:394:9: style: Variable 'tmp_name' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/compression.c:503:9: style: Variable 'tmp_name' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/compression.c:537:9: style: Variable 'tmp_name' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/compression.c:89:61: style: Parameter 'top' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/compression.c:90:55: style: Parameter 'vp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/compression.c:91:55: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/curl_download.c:108:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_GLOBAL_ALL [valueFlowBailoutIncompleteVar] head viking-1.11/src/curl_download.c:146:77: style: Parameter 'options' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/curl_download.c:148:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/curl_download.c:179:114: style: Parameter 'cdo' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/curl_download.c:179:114: style:inconclusive: Function 'curl_download_uri' argument 4 names different: declaration 'curl_options' definition 'cdo'. [funcArgNamesDifferent] viking-1.11/src/curl_download.h:58:114: note: Function 'curl_download_uri' argument 4 names different: declaration 'curl_options' definition 'cdo'. viking-1.11/src/curl_download.c:179:114: note: Function 'curl_download_uri' argument 4 names different: declaration 'curl_options' definition 'cdo'. head viking-1.11/src/curl_download.c:179:60: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/curl_download.c:183:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLE_FAILED_INIT [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/curl_download.h:57:154: note: Function 'curl_download_get_url' argument 6 names different: declaration 'curl_options' definition 'cdo'. viking-1.11/src/curl_download.c:275:154: note: Function 'curl_download_get_url' argument 6 names different: declaration 'curl_options' definition 'cdo'. head viking-1.11/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.11/src/curl_download.c:344:51: note: You might need to cast the function pointer here viking-1.11/src/curl_download.c:311:41: note: Parameter 'ptr' can be declared as pointer to const head viking-1.11/src/curl_download.c:343:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_WRITEDATA [valueFlowBailoutIncompleteVar] head viking-1.11/src/curl_download.c:356:27: error: Dereferencing 'curl' after it is deallocated / released [deallocuse] head viking-1.11/src/curl_download.c:358:27: error: Dereferencing 'curl' after it is deallocated / released [deallocuse] head viking-1.11/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.11/src/curl_download.c:191:51: note: You might need to cast the function pointer here viking-1.11/src/curl_download.c:61:37: note: Parameter 'ptr' can be declared as pointer to const head viking-1.11/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.11/src/curl_download.c:208:58: note: You might need to cast the function pointer here viking-1.11/src/curl_download.c:66:40: note: Parameter 'ptr' can be declared as pointer to const head viking-1.11/src/curl_download.c:74:11: style: Variable 'etag_str' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/curl_download.c:75:11: style: Variable 'end_str' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/curl_download.c:76:9: style: Condition 'etag_str' is always true [knownConditionTrueFalse] head viking-1.11/src/curl_download.c:78:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/datasource_bfilter.c:235:40: note: You might need to cast the function pointer here viking-1.11/src/datasource_bfilter.c:219:80: note: Parameter 'paramdatas' can be declared as pointer to const head viking-1.11/src/datasource_bfilter.c:54:23: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/datasource_file.c:120:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] head viking-1.11/src/datasource_file.c:168:10: style: Variable 'type' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/datasource_file.c:170:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/datasource_file.c:58:28: note: You might need to cast the function pointer here viking-1.11/src/datasource_file.c:76:51: note: Parameter 'avt' can be declared as pointer to const head viking-1.11/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.11/src/datasource_geojson.c:37:86: note: Function 'datasource_geojson_get_process_options' argument 1 names different: declaration 'user_data' definition 'userdata'. viking-1.11/src/datasource_geojson.c:111:86: note: Function 'datasource_geojson_get_process_options' argument 1 names different: declaration 'user_data' definition 'userdata'. head viking-1.11/src/datasource_geojson.c:154:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/src/datasource_geojson.c:76:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] head viking-1.11/src/datasource_geotag.c:163:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/src/datasource_geotag.c:79:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] head viking-1.11/src/datasource_gps.c:144:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head viking-1.11/src/datasource_gps.c:216:9: style: Variable 'device' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/datasource_gps.c:217:9: style: Variable 'tracks' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/datasource_gps.c:218:9: style: Variable 'routes' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/datasource_gps.c:219:9: style: Variable 'waypoints' can be declared as pointer to const [constVariablePointer] head viking-1.11/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.11/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.11/src/datasource_gps.c:269:43: note: Function 'datasource_gps_off' argument 1 names different: declaration 'add_widgets_data_not_used' definition 'user_data'. head viking-1.11/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.11/src/datasource_gps.c:46:97: note: Function 'datasource_gps_off' argument 3 names different: declaration 'input_file' definition 'file_descriptor'. viking-1.11/src/datasource_gps.c:269:81: note: Function 'datasource_gps_off' argument 3 names different: declaration 'input_file' definition 'file_descriptor'. head viking-1.11/src/datasource_gps.c:272:9: style: Variable 'device' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/datasource_gps.c:287:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head viking-1.11/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] head viking-1.11/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] head viking-1.11/src/datasource_gps.c:564:52: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'find_protocol' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/datasource_gps.c:594:51: note: You might need to cast the function pointer here viking-1.11/src/datasource_gps.c:564:52: note: Parameter 'user_data' can be declared as pointer to const head viking-1.11/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.11/src/datasource_osm.c:63:41: note: You might need to cast the function pointer here viking-1.11/src/datasource_osm.c:100:126: note: Parameter 'options' can be declared as pointer to const head viking-1.11/src/datasource_osm.c:124:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] head viking-1.11/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.11/src/datasource_osm_my_traces.c:61:40: note: You might need to cast the function pointer here viking-1.11/src/datasource_osm_my_traces.c:120:121: note: Parameter 'options' can be declared as pointer to const head viking-1.11/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] head viking-1.11/src/datasource_osm_my_traces.c:236:16: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/datasource_osm_my_traces.c:246:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] head viking-1.11/src/datasource_osm_my_traces.c:344:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_STATUS_ERROR [valueFlowBailoutIncompleteVar] head viking-1.11/src/datasource_osm_my_traces.c:376:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/src/datasource_osm_my_traces.c:510:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] head viking-1.11/src/datasource_osm_my_traces.c:540:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/datasource_osm_my_traces.c:62:40: note: You might need to cast the function pointer here viking-1.11/src/datasource_osm_my_traces.c:544:86: note: Parameter 'process_options' can be declared as pointer to const head viking-1.11/src/datasource_osm_my_traces.c:584:7: style: Condition 'tmpname' is always true [knownConditionTrueFalse] head viking-1.11/src/datasource_osm_my_traces.c:677:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/datasource_routing.c:59:41: note: You might need to cast the function pointer here viking-1.11/src/datasource_routing.c:113:134: note: Parameter 'options' can be declared as pointer to const head viking-1.11/src/datasource_routing.c:128:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] head viking-1.11/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.11/src/datasource_routing.c:56:28: note: You might need to cast the function pointer here viking-1.11/src/datasource_routing.c:73:54: note: Parameter 'avt' can be declared as pointer to const head viking-1.11/src/datasource_url.c:153:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/datasource_url.c:52:40: note: You might need to cast the function pointer here viking-1.11/src/datasource_url.c:68:50: note: Parameter 'avt' can be declared as pointer to const head viking-1.11/src/datasource_url.c:83:48: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'find_type' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/datasource_url.c:116:46: note: You might need to cast the function pointer here viking-1.11/src/datasource_url.c:83:48: note: Parameter 'user_data' can be declared as pointer to const head viking-1.11/src/dem.c:155:73: style: Parameter 'cur_column' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/dem.c:158:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_points [valueFlowBailoutIncompleteVar] head viking-1.11/src/dem.c:220:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable east_west [valueFlowBailoutIncompleteVar] head viking-1.11/src/dem.c:281:5: error: Memory leak: dem.columns [memleak] head viking-1.11/src/dem.c:310:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/dem.c:411:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable east_west [valueFlowBailoutIncompleteVar] head viking-1.11/src/dem.c:427:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable points [valueFlowBailoutIncompleteVar] head viking-1.11/src/dem.c:433:44: style:inconclusive: Function 'vik_dem_get_xy' argument 2 names different: declaration 'x' definition 'col'. [funcArgNamesDifferent] viking-1.11/src/dem.h:71:44: note: Function 'vik_dem_get_xy' argument 2 names different: declaration 'x' definition 'col'. viking-1.11/src/dem.c:433:44: note: Function 'vik_dem_get_xy' argument 2 names different: declaration 'x' definition 'col'. head viking-1.11/src/dem.c:433:55: style:inconclusive: Function 'vik_dem_get_xy' argument 3 names different: declaration 'y' definition 'row'. [funcArgNamesDifferent] viking-1.11/src/dem.h:71:53: note: Function 'vik_dem_get_xy' argument 3 names different: declaration 'y' definition 'row'. viking-1.11/src/dem.c:433:55: note: Function 'vik_dem_get_xy' argument 3 names different: declaration 'y' definition 'row'. head viking-1.11/src/dem.c:436:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_points [valueFlowBailoutIncompleteVar] head viking-1.11/src/dem.c:569:41: style: Parameter 'dem' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/dems.c:153:34: style: Parameter 'dems' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/dems.c:174:10: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/dems.c:272:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/dems.c:272:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/dems.c:93:14: style: Variable 'ldem' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/dialog.c:1037:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] head viking-1.11/src/dialog.c:1111:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdk_pixbuf_version [valueFlowBailoutIncompleteVar] head viking-1.11/src/dialog.c:1208:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/src/dialog.c:1244:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NEWS [valueFlowBailoutIncompleteVar] head viking-1.11/src/dialog.c:143:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/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] head viking-1.11/src/dialog.c:201:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] head viking-1.11/src/dialog.c:223:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/src/dialog.c:324:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/src/dialog.c:398:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/src/dialog.c:39:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] head viking-1.11/src/dialog.c:446:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/src/dialog.c:478:16: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/dialog.c:478:16: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/dialog.c:478:16: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/dialog.c:489: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] head viking-1.11/src/dialog.c:508:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] head viking-1.11/src/dialog.c:546:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] head viking-1.11/src/dialog.c:556: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] head viking-1.11/src/dialog.c:595:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/src/dialog.c:63:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/dialog.c:675:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/src/dialog.c:749:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/src/dialog.c:759:16: style: Variable 'result' is assigned a value that is never used. [unreadVariable] head viking-1.11/src/dialog.c:798:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/src/dialog.c:808:15: style: Variable 'result' is assigned a value that is never used. [unreadVariable] head viking-1.11/src/dialog.c:860:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/src/dialog.c:881:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] head viking-1.11/src/dialog.c:89:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/src/dialog.c:989:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/src/download.c:136:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/download.c:142:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/download.c:145:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/download.c:230:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/download.c:259:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/download.c:276:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/download.c:285:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/download.c:308:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/download.c:313:68: style: Parameter 'cdo' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/download.c:325:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/download.c:334:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/download.c:346:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] head viking-1.11/src/download.c:518:61: error: Invalid g_file_open_tmp() argument nr 2. A nul-terminated string is required. [invalidFunctionArgStr] head viking-1.11/src/download.c:71:10: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] head viking-1.11/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.11/src/expedia.c:51:117: note: You might need to cast the function pointer here viking-1.11/src/expedia.c:164:58: note: Parameter 'src' can be declared as pointer to const head viking-1.11/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.11/src/expedia.c:51:151: note: You might need to cast the function pointer here viking-1.11/src/expedia.c:171:54: note: Parameter 'src' can be declared as pointer to const head viking-1.11/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.11/src/expedia.c:51:190: note: You might need to cast the function pointer here viking-1.11/src/expedia.c:201:44: note: Parameter 'handle' can be declared as pointer to const head viking-1.11/src/file.c:186:41: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_URL is a macro then please configure it. [unknownMacro] head viking-1.11/src/fit.c:193:9: style: Variable 'sym' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/fit.c:296:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/fit.c:350:12: style: Local variable 'ts' shadows outer variable [shadowVariable] viking-1.11/src/fit.c:245:17: note: Shadowed declaration viking-1.11/src/fit.c:350:12: note: Shadow variable head viking-1.11/src/fit.c:459:13: style: Local variable 'ts' shadows outer variable [shadowVariable] viking-1.11/src/fit.c:245:17: note: Shadowed declaration viking-1.11/src/fit.c:459:13: note: Shadow variable head viking-1.11/src/fit.c:522:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/fit.c:533:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/fit.c:553:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/fit.c:560:2: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] head viking-1.11/src/fit.c:638:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/fit.c:652:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/fit.c:733:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/fit.c:735:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/fit.c:741:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/fit.c:785:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/fit.c:787:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/fit.c:793:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/garminsymbols.c:33:8: style: struct member 'Anonymous2::num' is never used. [unusedStructMember] head viking-1.11/src/garminsymbols.c:34:10: style: struct member 'Anonymous2::desc' is never used. [unusedStructMember] head viking-1.11/src/geojson.c:151:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/geojson.c:174:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fout [nullPointerOutOfResources] viking-1.11/src/geojson.c:173:22: note: Assuming allocation function fails viking-1.11/src/geojson.c:173:22: note: Assignment 'fout=fdopen(mystdout,"r")', assigned value is 0 viking-1.11/src/geojson.c:174:11: note: Null pointer dereference head viking-1.11/src/geojson.c:176:36: warning: If resource allocation fails, then there is a possible null pointer dereference: fout [nullPointerOutOfResources] viking-1.11/src/geojson.c:173:22: note: Assuming allocation function fails viking-1.11/src/geojson.c:173:22: note: Assignment 'fout=fdopen(mystdout,"r")', assigned value is 0 viking-1.11/src/geojson.c:176:36: note: Null pointer dereference head viking-1.11/src/geojson.c:184:10: warning: If resource allocation fails, then there is a possible null pointer dereference: gpxfile [nullPointerOutOfResources] viking-1.11/src/geojson.c:163:25: note: Assuming allocation function fails viking-1.11/src/geojson.c:163:25: note: Assignment 'gpxfile=fdopen(fd,"w")', assigned value is 0 viking-1.11/src/geojson.c:184:10: note: Null pointer dereference head viking-1.11/src/geojson.c:203:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/geojson.c:218:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/geojson.c:245:10: style: Variable 'coord' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/geojson.c:72:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SPAWN_SEARCH_PATH [valueFlowBailoutIncompleteVar] head viking-1.11/src/geojson.c:88:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fout [nullPointerOutOfResources] viking-1.11/src/geojson.c:87:22: note: Assuming allocation function fails viking-1.11/src/geojson.c:87:22: note: Assignment 'fout=fdopen(mystdout,"r")', assigned value is 0 viking-1.11/src/geojson.c:88:11: note: Null pointer dereference head viking-1.11/src/geojson.c:90:36: warning: If resource allocation fails, then there is a possible null pointer dereference: fout [nullPointerOutOfResources] viking-1.11/src/geojson.c:87:22: note: Assuming allocation function fails viking-1.11/src/geojson.c:87:22: note: Assignment 'fout=fdopen(mystdout,"r")', assigned value is 0 viking-1.11/src/geojson.c:90:36: note: Null pointer dereference head viking-1.11/src/geonamessearch.c:103:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] head viking-1.11/src/geonamessearch.c:121:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/src/geonamessearch.c:231:17: style: Variable 'more' is assigned a value that is never used. [unreadVariable] head viking-1.11/src/geonamessearch.c:238:10: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/geonamessearch.c:253:10: style: Variable 'more' is assigned a value that is never used. [unreadVariable] head viking-1.11/src/geonamessearch.c:373:11: style: The if condition is the same as the previous if condition [duplicateCondition] viking-1.11/src/geonamessearch.c:363:11: note: First condition viking-1.11/src/geonamessearch.c:373:11: note: Second condition head viking-1.11/src/geonamessearch.c:471:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/src/geonamessearch.c:63:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/geotag_exif.c:775:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/geotag_exif.c:894:7: style: The if condition is the same as the previous if condition [duplicateCondition] viking-1.11/src/geotag_exif.c:773:7: note: First condition viking-1.11/src/geotag_exif.c:894:7: note: Second condition head viking-1.11/src/globals.c:122:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/globals.c:157:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head viking-1.11/src/globals.c:158:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/globals.c:161:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] head viking-1.11/src/globals.c:235:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] head viking-1.11/src/globals.c:249:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] head viking-1.11/src/globals.c:47:40: style: Parameter 'version' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/globals.c:53:10: style: Variable 'part' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/globals.c:78:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/globals.c:80:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] head viking-1.11/src/globals.c:81:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] head viking-1.11/src/globals.c:82:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] head viking-1.11/src/globals.c:91:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/globals.c:98:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/googlesearch.c:56:45: note: You might need to cast the function pointer here viking-1.11/src/googlesearch.c:142:73: note: Parameter 'self' can be declared as pointer to const head viking-1.11/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.11/src/googlesearch.c:56:45: note: You might need to cast the function pointer here viking-1.11/src/googlesearch.c:142:86: note: Parameter 'file_name' can be declared as pointer to const head viking-1.11/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.11/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.11/src/googlesearch.c:142:86: note: Function 'google_goto_tool_parse_file_for_candidates' argument 2 names different: declaration 'filename' definition 'file_name'. head viking-1.11/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.11/src/googlesearch.c:53:34: note: You might need to cast the function pointer here viking-1.11/src/googlesearch.c:147:62: note: Parameter 'self' can be declared as pointer to const head viking-1.11/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.11/src/googlesearch.c:54:40: note: You might need to cast the function pointer here viking-1.11/src/googlesearch.c:152:75: note: Parameter 'self' can be declared as pointer to const head viking-1.11/src/googlesearch.c:64:53: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] head viking-1.11/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.11/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.11/src/googlesearch.c:73:82: note: Function 'google_goto_tool_parse_file_for_latlon' argument 2 names different: declaration 'filename' definition 'file_name'. head viking-1.11/src/gpsmapper.c:140:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head viking-1.11/src/gpsmapper.c:33:10: style: Variable 'layers' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/gpspoint.c:184:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/gpspoint.c:471:17: style: Variable 'value_start' is assigned a value that is never used. [unreadVariable] head viking-1.11/src/gpspoint.c:471:29: style: Variable 'value_end' is assigned a value that is never used. [unreadVariable] head viking-1.11/src/gpspoint.c:713:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/gpspoint.c:907:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/src/gpx.c:1160:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] head viking-1.11/src/gpx.c:1355:47: style:inconclusive: Function 'a_gpx_read_file' argument 1 names different: declaration 'trw' definition 'vtl'. [funcArgNamesDifferent] viking-1.11/src/gpx.h:58:48: note: Function 'a_gpx_read_file' argument 1 names different: declaration 'trw' definition 'vtl'. viking-1.11/src/gpx.c:1355:47: note: Function 'a_gpx_read_file' argument 1 names different: declaration 'trw' definition 'vtl'. head viking-1.11/src/gpx.c:1358:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_STATUS_ERROR [valueFlowBailoutIncompleteVar] head viking-1.11/src/gpx.c:1471:14: style: struct member 'entity_types::not_html' is never used. [unusedStructMember] head viking-1.11/src/gpx.c:1712:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/gpx.c:1777:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] head viking-1.11/src/gpx.c:1785:26: style: Redundant condition: context->options. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] head viking-1.11/src/gpx.c:1814:12: style: Local variable 'tmp' shadows outer variable [shadowVariable] viking-1.11/src/gpx.c:1763:10: note: Shadowed declaration viking-1.11/src/gpx.c:1814:12: note: Shadow variable head viking-1.11/src/gpx.c:1817:16: style: Variable 'rtmp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/gpx.c:1912:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] head viking-1.11/src/gpx.c:1926:26: style: Redundant condition: context->options. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] head viking-1.11/src/gpx.c:1987:35: style: Variable 'first_tp_is_newsegment' is assigned a value that is never used. [unreadVariable] head viking-1.11/src/gpx.c:2019:10: style: Variable 'header' can be declared as pointer to const [constVariablePointer] head viking-1.11/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] head viking-1.11/src/gpx.c:2055:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable newsegment [valueFlowBailoutIncompleteVar] head viking-1.11/src/gpx.c:2089:12: style: Variable 'header' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/gpx.c:2123:11: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] viking-1.11/src/gpx.c:2311:20: note: Assuming allocation function fails viking-1.11/src/gpx.c:2311:20: note: Assignment 'ff=fdopen(fd,"w")', assigned value is 0 viking-1.11/src/gpx.c:2314:38: note: Calling function 'a_gpx_write_track_file', 3rd argument 'ff' value is 0 viking-1.11/src/gpx.c:2268:22: note: Calling function 'gpx_write_footer', 1st argument 'f' value is 0 viking-1.11/src/gpx.c:2123:11: note: Null pointer dereference head viking-1.11/src/gpx.c:2128:16: style: Variable 'a' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/gpx.c:2129:16: style: Variable 'b' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/gpx.c:2135:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/gpx.c:2136:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/gpx.c:2140:38: style:inconclusive: Function 'a_gpx_write_file' argument 1 names different: declaration 'trw' definition 'vtl'. [funcArgNamesDifferent] viking-1.11/src/gpx.h:59:38: note: Function 'a_gpx_write_file' argument 1 names different: declaration 'trw' definition 'vtl'. viking-1.11/src/gpx.c:2140:38: note: Function 'a_gpx_write_file' argument 1 names different: declaration 'trw' definition 'vtl'. head viking-1.11/src/gpx.c:2155:19: style: Variable 'md' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/gpx.c:2190:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/src/gpx.c:2200:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/gpx.c:2247:12: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/gpx.c:2263:44: style:inconclusive: Function 'a_gpx_write_track_file' argument 1 names different: declaration 'trw' definition 'vtl'. [funcArgNamesDifferent] viking-1.11/src/gpx.h:60:44: note: Function 'a_gpx_write_track_file' argument 1 names different: declaration 'trw' definition 'vtl'. viking-1.11/src/gpx.c:2263:44: note: Function 'a_gpx_write_track_file' argument 1 names different: declaration 'trw' definition 'vtl'. head viking-1.11/src/gpx.c:2287:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/src/gpx.c:2309:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/gpx.c:2318:10: warning: If resource allocation fails, then there is a possible null pointer dereference: ff [nullPointerOutOfResources] viking-1.11/src/gpx.c:2311:20: note: Assuming allocation function fails viking-1.11/src/gpx.c:2311:20: note: Assignment 'ff=fdopen(fd,"w")', assigned value is 0 viking-1.11/src/gpx.c:2318:10: note: Null pointer dereference head viking-1.11/src/gpx.c:2354:16: style: Variable 'a' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/gpx.c:2355:16: style: Variable 'b' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/gpx.c:2361:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/gpx.c:2362:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/gpx.c:2368:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/gpx.c:2369:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/gpx.c:2398:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/src/gpx.c:249:16: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/gpx.c:258:22: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/gpx.c:267:22: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/gpx.c:467:19: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/gpx.c:558:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/gpx.c:558:7: warning: Either the condition 'lap' is redundant or there is possible null pointer dereference: lap. [nullPointerRedundantCheck] viking-1.11/src/gpx.c:561:12: note: Assuming that condition 'lap' is not redundant viking-1.11/src/gpx.c:558:7: note: Null pointer dereference head viking-1.11/src/gpx.c:559:7: warning: Either the condition 'lap' is redundant or there is possible null pointer dereference: lap. [nullPointerRedundantCheck] viking-1.11/src/gpx.c:561:12: note: Assuming that condition 'lap' is not redundant viking-1.11/src/gpx.c:559:7: note: Null pointer dereference head viking-1.11/src/gpx.c:560:7: warning: Either the condition 'lap' is redundant or there is possible null pointer dereference: lap. [nullPointerRedundantCheck] viking-1.11/src/gpx.c:561:12: note: Assuming that condition 'lap' is not redundant viking-1.11/src/gpx.c:560:7: note: Null pointer dereference head viking-1.11/src/gpx.c:610:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] head viking-1.11/src/gpx.c:648:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/gpx.c:946:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/gpx.c:955:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/gpx.c:959:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/jpg.c:59:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/jpg.c:77:7: style: Condition 'wp' is always false [knownConditionTrueFalse] viking-1.11/src/jpg.c:73:20: note: Assignment 'wp=NULL', assigned value is 0 viking-1.11/src/jpg.c:77:7: note: Condition 'wp' is always false head viking-1.11/src/jpg.c:97:7: style: Condition 'auto_zoom' is always false [knownConditionTrueFalse] viking-1.11/src/jpg.c:90:15: note: Assignment 'auto_zoom=0', assigned value is 0 viking-1.11/src/jpg.c:97:7: note: Condition 'auto_zoom' is always false head viking-1.11/src/kml.c:196:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] head viking-1.11/src/kml.c:242:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/kml.c:268:19: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/kml.c:305:11: style: Variable 'endptr' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/kml.c:314:11: style: Variable 'vp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/kml.c:315:35: warning: Either the condition 'cp==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] viking-1.11/src/kml.c:324:20: note: Assuming that condition 'cp==NULL' is not redundant viking-1.11/src/kml.c:315:35: note: Null pointer addition head viking-1.11/src/kml.c:316:11: warning: Either the condition 'cp==NULL' is redundant or there is possible null pointer dereference: cp. [nullPointerRedundantCheck] viking-1.11/src/kml.c:324:20: note: Assuming that condition 'cp==NULL' is not redundant viking-1.11/src/kml.c:316:11: note: Null pointer dereference head viking-1.11/src/kml.c:370:18: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/kml.c:436:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/kml.c:469:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/kml.c:500:19: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/kml.c:523:16: style: Variable 'dd' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/kml.c:524:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] head viking-1.11/src/kml.c:528:6: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] head viking-1.11/src/kml.c:528:6: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] head viking-1.11/src/kml.c:538:13: style: Variable 'lts' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/kml.c:544:6: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] head viking-1.11/src/kml.c:544:6: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] head viking-1.11/src/kml.c:553:13: style: Variable 'lts' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/kml.c:559:6: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] head viking-1.11/src/kml.c:559:6: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] head viking-1.11/src/kml.c:570:16: style: Variable 'dd' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/kml.c:575:6: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] head viking-1.11/src/kml.c:575:6: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] head viking-1.11/src/kml.c:603:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] head viking-1.11/src/kml.c:829:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/kml.c:85:53: style: Parameter 'color' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/kml.c:902:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_FALSE [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/kml.c:957:93: note: You might need to cast the function pointer here viking-1.11/src/kml.c:907:33: note: Parameter 'xd' can be declared as pointer to const head viking-1.11/src/kml.c:931:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_STATUS_ERROR [valueFlowBailoutIncompleteVar] head viking-1.11/src/kmz.c:102:32: style: Parameter 'pixbuf' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/kmz.c:172:12: style: struct member 'xtag_mapping::tag_type' is never used. [unusedStructMember] head viking-1.11/src/kmz.c:173:14: style: struct member 'xtag_mapping::tag_name' is never used. [unusedStructMember] head viking-1.11/src/kmz.c:450:57: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/kmz.c:450:78: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/libgeoclue.c:100:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCLUE_ACCURACY_LEVEL_NONE [valueFlowBailoutIncompleteVar] head viking-1.11/src/libgeoclue.c:57:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/logging.c:111:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] head viking-1.11/src/logging.c:275: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.11/src/logging.c:357:2: note: You might need to cast the function pointer here viking-1.11/src/logging.c:275:44: note: Parameter 'tree_view' can be declared as pointer to const head viking-1.11/src/logging.c:322:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_lock [valueFlowBailoutIncompleteVar] head viking-1.11/src/logging.c:368: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] head viking-1.11/src/logging.c:392:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] head viking-1.11/src/logging.c:399:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] head viking-1.11/src/logging.c:69:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/logging.c:78:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_list [valueFlowBailoutIncompleteVar] head viking-1.11/src/logging.c:85:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_lock [valueFlowBailoutIncompleteVar] head viking-1.11/src/main.c:115:7: error: Memory leak: zs [memleak] head viking-1.11/src/main.c:116:5: error: Memory leak: exts [memleak] head viking-1.11/src/main.c:120:5: error: Memory leak: regex [memleak] head viking-1.11/src/main.c:135:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] head viking-1.11/src/main.c:92:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_REGEX_CASELESS [valueFlowBailoutIncompleteVar] head viking-1.11/src/main.c:95:5: error: Memory leak: regex [memleak] head viking-1.11/src/mapcache.c:182:16: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/mapcache.c:200:16: style: Variable 'oldkey' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/mapcache.c:230:3: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/mapcache.c:248:3: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/mapcache.c:249:17: style: Variable 'ci' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/mapcache.c:259:37: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/mapcache.c:313:3: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/mapcache.c:66:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/modules.c:100:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/modules.c:108:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/modules.c:191:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIKING_SYSCONFDIR [valueFlowBailoutIncompleteVar] head viking-1.11/src/modules.c:75:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/modules.c:84:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/modules.c:92:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/osm-traces.c:420:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_ERROR_SIZE [valueFlowBailoutIncompleteVar] head viking-1.11/src/osm-traces.c:420:8: style: Variable 'curl_error_buffer' can be declared as const array [constVariable] head viking-1.11/src/osm-traces.c:505:45: error: Uninitialized variable: curl_error_buffer [uninitvar] head viking-1.11/src/osm-traces.c:567:14: style: Variable 'timeinfo' can be declared as pointer to const [constVariablePointer] head viking-1.11/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] head viking-1.11/src/osm-traces.c:578:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/osm-traces.c:614:22: style: Variable 'pref_user' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/osm-traces.c:615:22: style: Variable 'pref_password' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/osm-traces.c:656:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/osm-traces.c:674:26: style: Condition 'osm_use_basic_auth()' is always true [knownConditionTrueFalse] viking-1.11/src/osm-traces.c:642:25: note: Assignment 'basic_auth=!0', assigned value is 1 viking-1.11/src/osm-traces.c:674:26: note: Calling function 'osm_use_basic_auth' returns 1 viking-1.11/src/osm-traces.c:674:26: note: Condition 'osm_use_basic_auth()' is always true head viking-1.11/src/osm-traces.c:736:19: style: Variable 'md' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/osm-traces.c:783:28: style: Condition 'osm_use_basic_auth()' is always true [knownConditionTrueFalse] viking-1.11/src/osm-traces.c:642:25: note: Assignment 'basic_auth=!0', assigned value is 1 viking-1.11/src/osm-traces.c:783:28: note: Calling function 'osm_use_basic_auth' returns 1 viking-1.11/src/osm-traces.c:783:28: note: Condition 'osm_use_basic_auth()' is always true head viking-1.11/src/preferences.c:145:138: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head viking-1.11/src/preferences.c:145:27: style: Variable 'val' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/preferences.c:158:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/preferences.c:266:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/preferences.c:285:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/preferences.c:364:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/preferences.c:400:35: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'reset_cb' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/preferences.c:421:37: note: You might need to cast the function pointer here viking-1.11/src/preferences.c:400:35: note: Parameter 'widget' can be declared as pointer to const head viking-1.11/src/preferences.c:412:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/preferences.c:412:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/preferences.c:440:48: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] head viking-1.11/src/preferences.c:94:29: style: Variable 'oldval' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/print-preview.c:155:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS_MASK [valueFlowBailoutIncompleteVar] head viking-1.11/src/print-preview.c:195:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_print_preview_parent_class [valueFlowBailoutIncompleteVar] head viking-1.11/src/print-preview.c:354:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_FLEUR [valueFlowBailoutIncompleteVar] head viking-1.11/src/print-preview.c:385:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SEAT_CAPABILITY_POINTER [valueFlowBailoutIncompleteVar] head viking-1.11/src/print-preview.c:472:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/print-preview.c:92:28: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] head viking-1.11/src/print-preview.c:92:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] head viking-1.11/src/print.c:113:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG [valueFlowBailoutIncompleteVar] head viking-1.11/src/print.c:135:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/print.c:140: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.11/src/print.c:104:3: note: You might need to cast the function pointer here viking-1.11/src/print.c:140:42: note: Parameter 'operation' can be declared as pointer to const head viking-1.11/src/print.c:141: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.11/src/print.c:104:3: note: You might need to cast the function pointer here viking-1.11/src/print.c:141:42: note: Parameter 'context' can be declared as pointer to const head viking-1.11/src/print.c:142: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.11/src/print.c:104:3: note: You might need to cast the function pointer here viking-1.11/src/print.c:142:34: note: Parameter 'data' can be declared as pointer to const head viking-1.11/src/print.c:145:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/print.c:151:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/print.c:167:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/print.c:215:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/print.c:271:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/print.c:36:19: style: struct member 'PrintCenterName::mode' is never used. [unusedStructMember] head viking-1.11/src/print.c:372:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/print.c:49:23: style: struct member 'PrintData::show_info_header' is never used. [unusedStructMember] head viking-1.11/src/print.c:563:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/print.c:578: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] head viking-1.11/src/print.c:582: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] head viking-1.11/src/print.c:586: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] head viking-1.11/src/print.c:589: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] head viking-1.11/src/print.c:604: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] head viking-1.11/src/print.c:633: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] head viking-1.11/src/print.c:636: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] head viking-1.11/src/print.c:697:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/socket.c:208:35: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/tcx.c:116:15: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/tcx.c:173:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/tcx.c:231:21: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/tcx.c:281:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/tcx.c:467:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_STATUS_ERROR [valueFlowBailoutIncompleteVar] head viking-1.11/src/tcx.c:514:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_STATUS_ERROR [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/terraservermapsource.c:127:34: note: You might need to cast the function pointer here viking-1.11/src/terraservermapsource.c:101:50: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/src/terraservermapsource.c:103:32: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/terraservermapsource.c:143:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT8 [valueFlowBailoutIncompleteVar] head viking-1.11/src/terraservermapsource.c:184:71: style:inconclusive: Function '_coord_to_mapcoord' argument 3 names different: declaration 'xzoom' definition 'xmpp'. [funcArgNamesDifferent] viking-1.11/src/terraservermapsource.c:28:87: note: Function '_coord_to_mapcoord' argument 3 names different: declaration 'xzoom' definition 'xmpp'. viking-1.11/src/terraservermapsource.c:184:71: note: Function '_coord_to_mapcoord' argument 3 names different: declaration 'xzoom' definition 'xmpp'. head viking-1.11/src/terraservermapsource.c:184:85: style:inconclusive: Function '_coord_to_mapcoord' argument 4 names different: declaration 'yzoom' definition 'ympp'. [funcArgNamesDifferent] viking-1.11/src/terraservermapsource.c:28:102: note: Function '_coord_to_mapcoord' argument 4 names different: declaration 'yzoom' definition 'ympp'. viking-1.11/src/terraservermapsource.c:184:85: note: Function '_coord_to_mapcoord' argument 4 names different: declaration 'yzoom' definition 'ympp'. head viking-1.11/src/terraservermapsource.c:188:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/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.11/src/terraservermapsource.c:132:45: note: You might need to cast the function pointer here viking-1.11/src/terraservermapsource.c:207:40: note: Parameter 'self' can be declared as pointer to const head viking-1.11/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.11/src/terraservermapsource.c:133:34: note: You might need to cast the function pointer here viking-1.11/src/terraservermapsource.c:213:29: note: Parameter 'self' can be declared as pointer to const head viking-1.11/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.11/src/terraservermapsource.c:131:48: note: You might need to cast the function pointer here viking-1.11/src/terraservermapsource.c:219:59: note: Parameter 'src' can be declared as pointer to const head viking-1.11/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.11/src/terraservermapsource.c:135:26: note: You might need to cast the function pointer here viking-1.11/src/terraservermapsource.c:230:48: note: Parameter 'src' can be declared as pointer to const head viking-1.11/src/terraservermapsource.c:234:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/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.11/src/terraservermapsource.c:136:31: note: You might need to cast the function pointer here viking-1.11/src/terraservermapsource.c:242:37: note: Parameter 'self' can be declared as pointer to const head viking-1.11/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.11/src/terraservermapsource.c:137:39: note: You might need to cast the function pointer here viking-1.11/src/terraservermapsource.c:250:45: note: Parameter 'self' can be declared as pointer to const head viking-1.11/src/terraservermapsource.c:271:8: style: Variable 'copyright' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/terraservermapsource.c:73:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable terraserver_map_source_parent_class [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/terraservermapsource.c:126:31: note: You might need to cast the function pointer here viking-1.11/src/terraservermapsource.c:80:52: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/src/thumbnails.c:128:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] head viking-1.11/src/thumbnails.c:189:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/thumbnails.c:261:42: style:inconclusive: Function 'a_thumbnails_get' argument 1 names different: declaration 'filename' definition 'pathname'. [funcArgNamesDifferent] viking-1.11/src/thumbnails.h:35:42: note: Function 'a_thumbnails_get' argument 1 names different: declaration 'filename' definition 'pathname'. viking-1.11/src/thumbnails.c:261:42: note: Function 'a_thumbnails_get' argument 1 names different: declaration 'filename' definition 'pathname'. head viking-1.11/src/toolbar.c:1054:152: debug: Function::addArguments found argument 'reload_cb' with varid 0. [varid0] head viking-1.11/src/toolbar.c:1070:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] head viking-1.11/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] head viking-1.11/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] head viking-1.11/src/toolbar.c:1203:124: debug: Function::addArguments found argument 'reload_cb' with varid 0. [varid0] head viking-1.11/src/toolbar.c:1207:10: style: Variable 'sl' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/toolbar.c:1225:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reload_cb [valueFlowBailoutIncompleteVar] head viking-1.11/src/toolbar.c:160:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] head viking-1.11/src/toolbar.c:273:82: style: Parameter 'action' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/toolbar.c:278:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkToggleActionEntry [valueFlowBailoutIncompleteVar] head viking-1.11/src/toolbar.c:302:18: style: Variable 'an_action' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/toolbar.c:342:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TOOLBAR_ICONS [valueFlowBailoutIncompleteVar] head viking-1.11/src/toolbar.c:357:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_SMALL_TOOLBAR [valueFlowBailoutIncompleteVar] head viking-1.11/src/toolbar.c:421:43: style: Parameter 'vtb' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/toolbar.c:433:39: debug: Function::addArguments found argument 'reload_cb' with varid 0. [varid0] head viking-1.11/src/toolbar.c:493:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reload_cb [valueFlowBailoutIncompleteVar] head viking-1.11/src/toolbar.c:512:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TOOLBAR_ICONS [valueFlowBailoutIncompleteVar] head viking-1.11/src/toolbar.c:533:27: debug: Function::addArguments found argument 'tool_cb' with varid 0. [varid0] head viking-1.11/src/toolbar.c:540:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] head viking-1.11/src/toolbar.c:544:16: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/toolbar.c:547:19: style: Variable 'action' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/toolbar.c:561:10: style: Variable 'gl' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/toolbar.c:563:25: style: Variable 'action' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/toolbar.c:578:24: style: Variable 'action' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/toolbar.c:594:24: style: Variable 'action' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/toolbar.c:68:54: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/toolbar.c:744:13: style: Variable 'action' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/toolbar.c:759:4: error: Memory leak: label_clean [memleak] head viking-1.11/src/toolbar.c:883:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable target [valueFlowBailoutIncompleteVar] head viking-1.11/src/toolbar.c:902:10: style: Variable 'text' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/toolbar.c:925:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_VIEW_DROP_BEFORE [valueFlowBailoutIncompleteVar] head viking-1.11/src/toolbar.c:991:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/ui_util.c:109:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CURRENT_TIME [valueFlowBailoutIncompleteVar] head viking-1.11/src/ui_util.c:141:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] head viking-1.11/src/ui_util.c:218:38: style: Parameter 'color' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/ui_util.c:220:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] head viking-1.11/src/ui_util.c:329:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] head viking-1.11/src/ui_util.c:347:12: style: Variable 'alpha' is assigned a value that is never used. [unreadVariable] head viking-1.11/src/ui_util.c:348:10: style: Variable 'px' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/ui_util.c:419:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/ui_util.c:475:56: style: Parameter 'data' can be declared as pointer to const. However it seems that 'ui_icon_clear_entry' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/ui_util.c:537:2: note: You might need to cast the function pointer here viking-1.11/src/ui_util.c:475:56: note: Parameter 'data' can be declared as pointer to const head viking-1.11/src/ui_util.c:591:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_EXPAND [valueFlowBailoutIncompleteVar] head viking-1.11/src/ui_util.c:623:55: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/ui_util.c:716:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_LOOKUP_FORCE_SIZE [valueFlowBailoutIncompleteVar] head viking-1.11/src/ui_util.c:794:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_CLEAR [valueFlowBailoutIncompleteVar] head viking-1.11/src/ui_util.c:92:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CURRENT_TIME [valueFlowBailoutIncompleteVar] head viking-1.11/src/uibuilder.c:274:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] head viking-1.11/src/uibuilder.c:361:14: error: Overlapping read/write of union is undefined behavior [overlappingWriteUnion] head viking-1.11/src/uibuilder.c:37:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] head viking-1.11/src/uibuilder.c:384:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/uibuilder.c:38:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] head viking-1.11/src/uibuilder.c:454:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/uibuilder.c:521:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/src/uibuilder.c:724: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.11/src/uibuilder.c:756:19: note: You might need to cast the function pointer here viking-1.11/src/uibuilder.c:724:119: note: Parameter 'params' can be declared as pointer to const head viking-1.11/src/uibuilder.c:736: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.11/src/uibuilder.c:759:19: note: You might need to cast the function pointer here viking-1.11/src/uibuilder.c:736:70: note: Parameter 'params_defaults' can be declared as pointer to const head viking-1.11/src/uibuilder.c:773:82: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/uibuilder.c:801:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] head viking-1.11/src/vik_compat.c:27:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMutex [valueFlowBailoutIncompleteVar] 2.19.0 viking-1.11/src/vik_compat.h:39:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] head viking-1.11/src/vikaggregatelayer.c:1013:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:1039:84: style: Parameter 'ul' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikaggregatelayer.c:1039:98: style: Parameter 'br' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikaggregatelayer.c:1043:24: style: Variable 'shrinkfactor' is assigned a value that is never used. [unreadVariable] head viking-1.11/src/vikaggregatelayer.c:1062:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:1073:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikaggregatelayer.c:1088:22: style: Variable 'yy' is assigned a value that is never used. [unreadVariable] head viking-1.11/src/vikaggregatelayer.c:117:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:1199:21: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/vikaggregatelayer.c:1282:83: style: Parameter 'center' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikaggregatelayer.c:1284:18: style: Variable 'll' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikaggregatelayer.c:1338:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:144:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:1484:77: style: Parameter 'order' can be declared as pointer to const. However it seems that 'sort_layer_compare' is a callback function, if 'order' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/vikaggregatelayer.c:1511:58: note: You might need to cast the function pointer here viking-1.11/src/vikaggregatelayer.c:1484:77: note: Parameter 'order' can be declared as pointer to const head viking-1.11/src/vikaggregatelayer.c:1486:13: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikaggregatelayer.c:1487:13: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikaggregatelayer.c:1503:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:1510:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:1517:87: style: Parameter 'order' can be declared as pointer to const. However it seems that 'sort_layer_compare_timestamp' is a callback function, if 'order' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/vikaggregatelayer.c:1545:58: note: You might need to cast the function pointer here viking-1.11/src/vikaggregatelayer.c:1517:87: note: Parameter 'order' can be declared as pointer to const head viking-1.11/src/vikaggregatelayer.c:1537:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:1544:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:1555: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.11/src/vikaggregatelayer.c:1579:74: note: You might need to cast the function pointer here viking-1.11/src/vikaggregatelayer.c:1555:77: note: Parameter 'user_data' can be declared as pointer to const head viking-1.11/src/vikaggregatelayer.c:1578:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:1591:10: style: Variable 'children' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikaggregatelayer.c:1609:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:1637:75: style: Parameter 'date_str' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikaggregatelayer.c:1640:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:1671:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:1688: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.11/src/vikaggregatelayer.c:1746:62: note: You might need to cast the function pointer here viking-1.11/src/vikaggregatelayer.c:1688:74: note: Parameter 'user_data' can be declared as pointer to const head viking-1.11/src/vikaggregatelayer.c:1696:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:1717:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:1742:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:1754:15: style: Variable 'vl' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikaggregatelayer.c:1778:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:1807:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:1819:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:1885:61: style: Parameter 'coord' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikaggregatelayer.c:1891:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:1931:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:1940:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikaggregatelayer.c:1969:14: style: Redundant initialization for 'tmpx'. The initialized value is overwritten before it is read. [redundantInitialization] viking-1.11/src/vikaggregatelayer.c:1967:13: note: tmpx is initialized viking-1.11/src/vikaggregatelayer.c:1969:14: note: tmpx is overwritten head viking-1.11/src/vikaggregatelayer.c:1975:14: style: Local variable 'tmpy' shadows outer variable [shadowVariable] viking-1.11/src/vikaggregatelayer.c:1968:8: note: Shadowed declaration viking-1.11/src/vikaggregatelayer.c:1975:14: note: Shadow variable head viking-1.11/src/vikaggregatelayer.c:2069:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/vikaggregatelayer.c:2069:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:2071:34: style:inconclusive: Same expression used in consecutive assignments of 'brx' and 'bry'. [duplicateAssignExpression] viking-1.11/src/vikaggregatelayer.c:2071:48: note: Same expression used in consecutive assignments of 'brx' and 'bry'. viking-1.11/src/vikaggregatelayer.c:2071:34: note: Same expression used in consecutive assignments of 'brx' and 'bry'. head viking-1.11/src/vikaggregatelayer.c:2147:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikaggregatelayer.c:2147:3: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikaggregatelayer.c:2157:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/vikaggregatelayer.c:2157:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:2170:34: style:inconclusive: Same expression used in consecutive assignments of 'brx' and 'bry'. [duplicateAssignExpression] viking-1.11/src/vikaggregatelayer.c:2170:48: note: Same expression used in consecutive assignments of 'brx' and 'bry'. viking-1.11/src/vikaggregatelayer.c:2170:34: note: Same expression used in consecutive assignments of 'brx' and 'bry'. head viking-1.11/src/vikaggregatelayer.c:2244:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikaggregatelayer.c:2244:3: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikaggregatelayer.c:2256:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/vikaggregatelayer.c:2256:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:2263:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikaggregatelayer.c:2271:11: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikaggregatelayer.c:2293:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/vikaggregatelayer.c:2293:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:2295:34: style:inconclusive: Same expression used in consecutive assignments of 'brx' and 'bry'. [duplicateAssignExpression] viking-1.11/src/vikaggregatelayer.c:2295:48: note: Same expression used in consecutive assignments of 'brx' and 'bry'. viking-1.11/src/vikaggregatelayer.c:2295:34: note: Same expression used in consecutive assignments of 'brx' and 'bry'. head viking-1.11/src/vikaggregatelayer.c:2363:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikaggregatelayer.c:2363:3: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikaggregatelayer.c:2382:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/vikaggregatelayer.c:2382:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:2423:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/vikaggregatelayer.c:2423:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:2443:15: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikaggregatelayer.c:2512:22: style: Variable 'tracks_processed' is assigned a value that is never used. [unreadVariable] head viking-1.11/src/vikaggregatelayer.c:2519:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/vikaggregatelayer.c:2538:52: warning: Either the condition 'zoom_index<=(sizeof(params_tile_area_levels)/sizeof((params_tile_area_levels)[0]))' is redundant or the array 'ct->val->tiles_cached[16]' is accessed at index 16, which is out of bounds. [arrayIndexOutOfBoundsCond] viking-1.11/src/vikaggregatelayer.c:2536:19: note: Assuming that condition 'zoom_index<=(sizeof(params_tile_area_levels)/sizeof((params_tile_area_levels)[0]))' is not redundant viking-1.11/src/vikaggregatelayer.c:2538:52: note: Array index out of bounds head viking-1.11/src/vikaggregatelayer.c:2541:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/vikaggregatelayer.c:2580:50: error: Array 'val->tiles_cached[16]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] viking-1.11/src/vikaggregatelayer.c:2579:28: note: Assuming that condition 'xx<=(sizeof(params_tile_area_levels)/sizeof((params_tile_area_levels)[0]))' is not redundant viking-1.11/src/vikaggregatelayer.c:2580:50: note: Array index out of bounds head viking-1.11/src/vikaggregatelayer.c:2608:22: warning: Either the condition 'trk->trackpoints' is redundant or there is possible null pointer dereference: trk->trackpoints. [nullPointerRedundantCheck] viking-1.11/src/vikaggregatelayer.c:2609:17: note: Assuming that condition 'trk->trackpoints' is not redundant viking-1.11/src/vikaggregatelayer.c:2608:22: note: Null pointer dereference head viking-1.11/src/vikaggregatelayer.c:2608:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:2658:121: style: Parameter 'stamp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikaggregatelayer.c:2666:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:2732:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:2755:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:3034:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:3087:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:3101:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:3115:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:3133:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:3241:80: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikaggregatelayer.c:3292:61: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikaggregatelayer.c:3292:75: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikaggregatelayer.c:3312:74: style: Parameter 'mc' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikaggregatelayer.c:3331:14: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikaggregatelayer.c:3333:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:3381:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:3389:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:3398:20: warning: Either the condition 'event' is redundant or there is possible null pointer dereference: event. [nullPointerRedundantCheck] viking-1.11/src/vikaggregatelayer.c:3401:8: note: Assuming that condition 'event' is not redundant viking-1.11/src/vikaggregatelayer.c:3398:20: note: Null pointer dereference head viking-1.11/src/vikaggregatelayer.c:3399:20: warning: Either the condition 'event' is redundant or there is possible null pointer dereference: event. [nullPointerRedundantCheck] viking-1.11/src/vikaggregatelayer.c:3401:8: note: Assuming that condition 'event' is not redundant viking-1.11/src/vikaggregatelayer.c:3399:20: note: Null pointer dereference head viking-1.11/src/vikaggregatelayer.c:3413:14: style: Variable 'sm' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikaggregatelayer.c:3496:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:3501:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:3503:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikaggregatelayer.c:3562:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:3584:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:3655:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:3659:13: style: Variable 'vl' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikaggregatelayer.c:3730:68: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikaggregatelayer.c:3735:60: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikaggregatelayer.c:3744:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:3775:10: style: Variable 'children' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikaggregatelayer.c:3801:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikaggregatelayer.c:3806:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikaggregatelayer.c:3811:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikaggregatelayer.c:3816:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikaggregatelayer.c:3821:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikaggregatelayer.c:3835:10: style: Variable 'children' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikaggregatelayer.c:3845:74: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikaggregatelayer.c:3861:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:3933:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:412:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:412:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikaggregatelayer.c:418:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikaggregatelayer.c:468:73: warning: Found calculation inside sizeof(). [sizeofCalculation] head viking-1.11/src/vikaggregatelayer.c:484:73: warning: Found calculation inside sizeof(). [sizeofCalculation] head viking-1.11/src/vikaggregatelayer.c:498:73: warning: Found calculation inside sizeof(). [sizeofCalculation] head viking-1.11/src/vikaggregatelayer.c:509:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable realized [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:514:67: style: Parameter 'vlsp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikaggregatelayer.c:517:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable realized [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:63:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:642:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:69:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:717:85: style:inconclusive: Function 'aggregate_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. [funcArgNamesDifferent] viking-1.11/src/vikaggregatelayer.c:41:85: note: Function 'aggregate_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.11/src/vikaggregatelayer.c:717:85: note: Function 'aggregate_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. head viking-1.11/src/vikaggregatelayer.c:788:22: error: Array 'val->tiles_cached[16]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] viking-1.11/src/vikaggregatelayer.c:787:26: note: Assuming that condition 'xx<=(sizeof(params_tile_area_levels)/sizeof((params_tile_area_levels)[0]))' is not redundant viking-1.11/src/vikaggregatelayer.c:788:22: note: Array index out of bounds head viking-1.11/src/vikaggregatelayer.c:793:41: style: Parameter 'vl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikaggregatelayer.c:894:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:92:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:93:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:981:12: style: Variable 'gp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikaggregatelayer.c:984:5: portability: Returning an address value in a function with integer return type is not portable. [CastAddressToIntegerAtReturn] head viking-1.11/src/vikaggregatelayer.c:98:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikaggregatelayer.c:99:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikcoordlayer.c:172: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.11/src/vikcoordlayer.c:110:29: note: You might need to cast the function pointer here viking-1.11/src/vikcoordlayer.c:172:55: note: Parameter 'data' can be declared as pointer to const head viking-1.11/src/vikcoordlayer.c:205:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikcoordlayer.c:209: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.11/src/vikcoordlayer.c:114:41: note: You might need to cast the function pointer here viking-1.11/src/vikcoordlayer.c:209:65: note: Parameter 'vcl' can be declared as pointer to const head viking-1.11/src/vikcoordlayer.c:229:54: style:inconclusive: Function 'coord_layer_new' argument 1 names different: declaration 'vp' definition 'vvp'. [funcArgNamesDifferent] viking-1.11/src/vikcoordlayer.c:26:54: note: Function 'coord_layer_new' argument 1 names different: declaration 'vp' definition 'vvp'. viking-1.11/src/vikcoordlayer.c:229:54: note: Function 'coord_layer_new' argument 1 names different: declaration 'vp' definition 'vvp'. head viking-1.11/src/vikcoordlayer.c:46:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikcoordlayer.c:47:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikcoordlayer.c:54:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdatetime_edit_dialog.c:110:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdatetime_edit_dialog.c:124:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdatetime_edit_dialog.c:159:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/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] head viking-1.11/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] head viking-1.11/src/vikdatetime_edit_dialog.c:271:12: style: Local variable 'cal' shadows outer variable [shadowVariable] viking-1.11/src/vikdatetime_edit_dialog.c:171:13: note: Shadowed declaration viking-1.11/src/vikdatetime_edit_dialog.c:271:12: note: Shadow variable head viking-1.11/src/vikdatetime_edit_dialog.c:74:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdemlayer.c:1135:14: style: Unsigned expression 'x' can't be negative so it is unnecessary to test it. [unsignedPositive] head viking-1.11/src/vikdemlayer.c:1202:10: style: Variable 'dems_iter' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikdemlayer.c:1219:8: warning: Size of pointer 'pixels' used instead of size of its data. [pointerSize] head viking-1.11/src/vikdemlayer.c:1228:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdemlayer.c:1266:40: style: Parameter 'b_url' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikdemlayer.c:1333:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdemlayer.c:1381:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdemlayer.c:1406:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdemlayer.c:149:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdemlayer.c:150:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdemlayer.c:151:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdemlayer.c:1527:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdemlayer.c:152:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdemlayer.c:153:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdemlayer.c:154:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdemlayer.c:156:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdemlayer.c:1572: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.11/src/vikdemlayer.c:231:30: note: You might need to cast the function pointer here viking-1.11/src/vikdemlayer.c:1572:56: note: Parameter 'vw' can be declared as pointer to const head viking-1.11/src/vikdemlayer.c:157:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdemlayer.c:1586:18: style: Variable 'll' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikdemlayer.c:1604:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdemlayer.c:1609:52: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] head viking-1.11/src/vikdemlayer.c:1652:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdemlayer.c:1693: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.11/src/vikdemlayer.c:232:24: note: You might need to cast the function pointer here viking-1.11/src/vikdemlayer.c:1693:112: note: Parameter 'vvp' can be declared as pointer to const head viking-1.11/src/vikdemlayer.c:1693: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.11/src/vikdemlayer.c:232:24: note: You might need to cast the function pointer here viking-1.11/src/vikdemlayer.c:1693:71: note: Parameter 'vdl' can be declared as pointer to const head viking-1.11/src/vikdemlayer.c:1693: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.11/src/vikdemlayer.c:232:24: note: You might need to cast the function pointer here viking-1.11/src/vikdemlayer.c:1693:92: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/vikdemlayer.c:178:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdemlayer.c:427:44: style: Parameter 'vdl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikdemlayer.c:429:22: style: Variable 'pref_user' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikdemlayer.c:430:22: style: Variable 'pref_password' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikdemlayer.c:465: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.11/src/vikdemlayer.c:319:41: note: You might need to cast the function pointer here viking-1.11/src/vikdemlayer.c:465:53: note: Parameter 'vdl' can be declared as pointer to const head viking-1.11/src/vikdemlayer.c:477: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.11/src/vikdemlayer.c:324:29: note: You might need to cast the function pointer here viking-1.11/src/vikdemlayer.c:477:51: note: Parameter 'data' can be declared as pointer to const head viking-1.11/src/vikdemlayer.c:520: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.11/src/vikdemlayer.c:659:51: note: You might need to cast the function pointer here viking-1.11/src/vikdemlayer.c:520:61: note: Parameter 'data' can be declared as pointer to const head viking-1.11/src/vikdemlayer.c:575:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdemlayer.c:815:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GdkColor [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikdemlayer.c:858:26: style: Variable 'prevcolumn' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikdemlayer.c:858:39: style: Variable 'nextcolumn' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikexttool.c:123:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikexttool.c:157:48: style:inconclusive: Function 'ext_tool_get_label' argument 1 names different: declaration 'vw' definition 'self'. [funcArgNamesDifferent] viking-1.11/src/vikexttool.c:35:48: note: Function 'ext_tool_get_label' argument 1 names different: declaration 'vw' definition 'self'. viking-1.11/src/vikexttool.c:157:48: note: Function 'ext_tool_get_label' argument 1 names different: declaration 'vw' definition 'self'. head viking-1.11/src/vikexttool.c:163:45: style:inconclusive: Function 'vik_ext_tool_get_label' argument 1 names different: declaration 'self' definition 'w'. [funcArgNamesDifferent] viking-1.11/src/vikexttool.h:56:45: note: Function 'vik_ext_tool_get_label' argument 1 names different: declaration 'self' definition 'w'. viking-1.11/src/vikexttool.c:163:45: note: Function 'vik_ext_tool_get_label' argument 1 names different: declaration 'self' definition 'w'. head viking-1.11/src/vikexttool.c:175:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_at_position [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/vikexttool.c:116:33: note: You might need to cast the function pointer here viking-1.11/src/vikexttool.c:60:37: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/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.11/src/vikexttool.c:117:33: note: You might need to cast the function pointer here viking-1.11/src/vikexttool.c:88:35: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/src/vikexttool.c:90:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikexttools.c:69:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_UI_MANAGER_MENUITEM [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikfileentry.c:111:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikfileentry.c:64:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_HBOX [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikfilelist.c:101:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikfilelist.c:160:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_VBOX [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikfilelist.c:185:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] head viking-1.11/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] head viking-1.11/src/vikfilelist.c:225:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] 2.19.0 viking-1.11/src/vikfilelist.c:33:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] head viking-1.11/src/vikfilelist.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikfilelist.c:93:17: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikgeocluelayer.c:225: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.11/src/vikgeocluelayer.c:137:41: note: You might need to cast the function pointer here viking-1.11/src/vikgeocluelayer.c:225:62: note: Parameter 'vgl' can be declared as pointer to const head viking-1.11/src/vikgeocluelayer.c:234:81: style:inconclusive: Function 'geoclue_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. [funcArgNamesDifferent] viking-1.11/src/vikgeocluelayer.c:36:81: note: Function 'geoclue_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.11/src/vikgeocluelayer.c:234:81: note: Function 'geoclue_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. head viking-1.11/src/vikgeocluelayer.c:282:2: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] head viking-1.11/src/vikgeocluelayer.c:282:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] head viking-1.11/src/vikgeocluelayer.c:302: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.11/src/vikgeocluelayer.c:146:41: note: You might need to cast the function pointer here viking-1.11/src/vikgeocluelayer.c:302:69: note: Parameter 'vgl' can be declared as pointer to const head viking-1.11/src/vikgeocluelayer.c:328:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIK_LAYER_GEOCLUE [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgeocluelayer.c:390:61: style:inconclusive: Function 'geoclue_layer_add_menu_items' argument 1 names different: declaration 'vtl' definition 'vgl'. [funcArgNamesDifferent] viking-1.11/src/vikgeocluelayer.c:44:61: note: Function 'geoclue_layer_add_menu_items' argument 1 names different: declaration 'vtl' definition 'vgl'. viking-1.11/src/vikgeocluelayer.c:390:61: note: Function 'geoclue_layer_add_menu_items' argument 1 names different: declaration 'vtl' definition 'vgl'. head viking-1.11/src/vikgeocluelayer.c:405:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgeocluelayer.c:424:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgeocluelayer.c:442:56: style: Parameter 'vgl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikgeocluelayer.c:449:59: style: Parameter 'vgl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikgeocluelayer.c:479:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TIME_SPAN_SECOND [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgeocluelayer.c:525:113: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgeocluelayer.c:562:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgeocluelayer.c:629:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgeocluelayer.c:63:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgeocluelayer.c:650:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgeocluelayer.c:686:2: warning: Redundant code: Found a statement that begins with NULL constant. [constStatement] head viking-1.11/src/vikgeocluelayer.c:703:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgeocluelayer.c:74:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgeoreflayer.c:1027:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgeoreflayer.c:1044: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] head viking-1.11/src/vikgeoreflayer.c:1100: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] head viking-1.11/src/vikgeoreflayer.c:1152: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] head viking-1.11/src/vikgeoreflayer.c:1205:41: style: Comparing expression of type 'unsigned char' against value 255. Condition is always true. [compareValueOutOfTypeRangeError] head viking-1.11/src/vikgeoreflayer.c:1207:41: style: Comparing expression of type 'unsigned char' against value 255. Condition is always true. [compareValueOutOfTypeRangeError] head viking-1.11/src/vikgeoreflayer.c:1209:42: style: Comparing expression of type 'unsigned char' against value 255. Condition is always true. [compareValueOutOfTypeRangeError] head viking-1.11/src/vikgeoreflayer.c:1228:118: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpp_easting [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgeoreflayer.c:1251: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.11/src/vikgeoreflayer.c:137:41: note: You might need to cast the function pointer here viking-1.11/src/vikgeoreflayer.c:1251:73: note: Parameter 'menu' can be declared as pointer to const head viking-1.11/src/vikgeoreflayer.c:1265: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.11/src/vikgeoreflayer.c:87:30: note: You might need to cast the function pointer here viking-1.11/src/vikgeoreflayer.c:1265:55: note: Parameter 'vw' can be declared as pointer to const head viking-1.11/src/vikgeoreflayer.c:1270: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.11/src/vikgeoreflayer.c:88:74: note: You might need to cast the function pointer here viking-1.11/src/vikgeoreflayer.c:1270:96: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/vikgeoreflayer.c:1285: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.11/src/vikgeoreflayer.c:96:30: note: You might need to cast the function pointer here viking-1.11/src/vikgeoreflayer.c:1285:55: note: Parameter 'vw' can be declared as pointer to const head viking-1.11/src/vikgeoreflayer.c:1290: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.11/src/vikgeoreflayer.c:97:24: note: You might need to cast the function pointer here viking-1.11/src/vikgeoreflayer.c:1290:94: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/vikgeoreflayer.c:1316: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.11/src/vikgeoreflayer.c:88:24: note: You might need to cast the function pointer here viking-1.11/src/vikgeoreflayer.c:1316:94: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/vikgeoreflayer.c:1348:54: style:inconclusive: Function 'vik_georef_layer_create' argument 4 names different: declaration 'pibxbuf' definition 'pixbuf'. [funcArgNamesDifferent] viking-1.11/src/vikgeoreflayer.h:50:54: note: Function 'vik_georef_layer_create' argument 4 names different: declaration 'pibxbuf' definition 'pixbuf'. viking-1.11/src/vikgeoreflayer.c:1348:54: note: Function 'vik_georef_layer_create' argument 4 names different: declaration 'pibxbuf' definition 'pixbuf'. head viking-1.11/src/vikgeoreflayer.c:1349:53: style: Parameter 'coord_tl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikgeoreflayer.c:1349:53: style:inconclusive: Function 'vik_georef_layer_create' argument 5 names different: declaration 'coord_tr' definition 'coord_tl'. [funcArgNamesDifferent] viking-1.11/src/vikgeoreflayer.h:51:53: note: Function 'vik_georef_layer_create' argument 5 names different: declaration 'coord_tr' definition 'coord_tl'. viking-1.11/src/vikgeoreflayer.c:1349:53: note: Function 'vik_georef_layer_create' argument 5 names different: declaration 'coord_tr' definition 'coord_tl'. head viking-1.11/src/vikgeoreflayer.c:1350:53: style: Parameter 'coord_br' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikgeoreflayer.c:260: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.11/src/vikgeoreflayer.c:143:41: note: You might need to cast the function pointer here viking-1.11/src/vikgeoreflayer.c:260:60: note: Parameter 'vgl' can be declared as pointer to const head viking-1.11/src/vikgeoreflayer.c:270: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.11/src/vikgeoreflayer.c:148:29: note: You might need to cast the function pointer here viking-1.11/src/vikgeoreflayer.c:270:57: note: Parameter 'data' can be declared as pointer to const head viking-1.11/src/vikgeoreflayer.c:603:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgeoreflayer.c:680:39: style: Comparing expression of type 'unsigned char' against value 255. Condition is always true. [compareValueOutOfTypeRangeError] head viking-1.11/src/vikgeoreflayer.c:719:65: style: Parameter 'values' can be declared as const array [constParameter] head viking-1.11/src/vikgeoreflayer.c:751:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgeoreflayer.c:784:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgeoreflayer.c:809:19: style: Variable 'vgl' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikgeoreflayer.c:813:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgeoreflayer.c:977:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgoto.c:160:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgoto.c:246:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgoto.c:250:12: style: Variable 'provider' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikgoto.c:361:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgoto.c:646:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgoto.c:658:10: style: Variable 'provider' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikgoto.c:701:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/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] head viking-1.11/src/vikgoto.c:84:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgoto.c:869:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgoto.c:94:52: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'find_provider' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/vikgoto.c:117:42: note: You might need to cast the function pointer here viking-1.11/src/vikgoto.c:94:52: note: Parameter 'user_data' can be declared as pointer to const head viking-1.11/src/vikgototool.c:128:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgototool.c:172:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/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.11/src/vikgototool.c:145:33: note: You might need to cast the function pointer here viking-1.11/src/vikgototool.c:176:75: note: Parameter 'self' can be declared as pointer to const head viking-1.11/src/vikgototool.c:221:63: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikgototool.c:310:46: style:inconclusive: Function 'vik_goto_tool_free_candidate' argument 1 names different: declaration 'candidate' definition 'data'. [funcArgNamesDifferent] viking-1.11/src/vikgototool.h:67:46: note: Function 'vik_goto_tool_free_candidate' argument 1 names different: declaration 'candidate' definition 'data'. viking-1.11/src/vikgototool.c:310:46: note: Function 'vik_goto_tool_free_candidate' argument 1 names different: declaration 'candidate' definition 'data'. head viking-1.11/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.11/src/vikgototool.c:121:33: note: You might need to cast the function pointer here viking-1.11/src/vikgototool.c:65:41: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/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.11/src/vikgototool.c:122:33: note: You might need to cast the function pointer here viking-1.11/src/vikgototool.c:93:39: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/src/vikgototool.c:95:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/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.11/src/vikgotoxmltool.c:264:32: note: You might need to cast the function pointer here viking-1.11/src/vikgotoxmltool.c:196:45: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/src/vikgotoxmltool.c:271:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgotoxmltool.c:382:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgotoxmltool.c:417:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_goto_xml_tool_parent_class [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgotoxmltool.c:465:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgotoxmltool.c:567:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgotoxmltool.c:638:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikgotoxmltool.c:645:27: style: Same expression on both sides of '||'. [duplicateExpression] head viking-1.11/src/vikgotoxmltool.c:664:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/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.11/src/vikgotoxmltool.c:263:32: note: You might need to cast the function pointer here viking-1.11/src/vikgotoxmltool.c:78:47: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/src/vikgpslayer.c:1299:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] head viking-1.11/src/vikgpslayer.c:1300:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] head viking-1.11/src/vikgpslayer.c:1360:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] head viking-1.11/src/vikgpslayer.c:1361:9: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] head viking-1.11/src/vikgpslayer.c:1412:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgpslayer.c:1514:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgpslayer.c:1567:5: error: Return value of allocation function 'g_thread_try_new' is not stored. [leakReturnValNotUsed] head viking-1.11/src/vikgpslayer.c:1606:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgpslayer.c:1615:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgpslayer.c:234:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgpslayer.c:440:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgpslayer.c:485: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.11/src/vikgpslayer.c:320:41: note: You might need to cast the function pointer here viking-1.11/src/vikgpslayer.c:485:54: note: Parameter 'vgl' can be declared as pointer to const head viking-1.11/src/vikgpslayer.c:520:73: style:inconclusive: Function 'gps_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. [funcArgNamesDifferent] viking-1.11/src/vikgpslayer.c:45:73: note: Function 'gps_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.11/src/vikgpslayer.c:520:73: note: Function 'gps_layer_marshall' argument 3 names different: declaration 'len' definition 'datalen'. head viking-1.11/src/vikgpslayer.c:605:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgpslayer.c:691: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.11/src/vikgpslayer.c:329:41: note: You might need to cast the function pointer here viking-1.11/src/vikgpslayer.c:691:61: note: Parameter 'vgl' can be declared as pointer to const head viking-1.11/src/vikgpslayer.c:698:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgpslayer.c:808:66: style:inconclusive: Function 'gps_layer_post_read' argument 2 names different: declaration 'vp' definition 'vvp'. [funcArgNamesDifferent] viking-1.11/src/vikgpslayer.c:43:66: note: Function 'gps_layer_post_read' argument 2 names different: declaration 'vp' definition 'vvp'. viking-1.11/src/vikgpslayer.c:808:66: note: Function 'gps_layer_post_read' argument 2 names different: declaration 'vp' definition 'vvp'. head viking-1.11/src/vikgpslayer.c:849: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.11/src/vikgpslayer.c:306:41: note: You might need to cast the function pointer here viking-1.11/src/vikgpslayer.c:849:48: note: Parameter 'vgl' can be declared as pointer to const head viking-1.11/src/vikgpslayer.c:849: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.11/src/vikgpslayer.c:306:41: note: You might need to cast the function pointer here viking-1.11/src/vikgpslayer.c:849:66: note: Parameter 'vp' can be declared as pointer to const head viking-1.11/src/vikgpslayer.c:866:52: style:inconclusive: Function 'gps_layer_add_menu_items' argument 1 names different: declaration 'vtl' definition 'vgl'. [funcArgNamesDifferent] viking-1.11/src/vikgpslayer.c:53:52: note: Function 'gps_layer_add_menu_items' argument 1 names different: declaration 'vtl' definition 'vgl'. viking-1.11/src/vikgpslayer.c:866:52: note: Function 'gps_layer_add_menu_items' argument 1 names different: declaration 'vtl' definition 'vgl'. head viking-1.11/src/vikgpslayer.c:866: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.11/src/vikgpslayer.c:314:41: note: You might need to cast the function pointer here viking-1.11/src/vikgpslayer.c:866:66: note: Parameter 'menu' can be declared as pointer to const head viking-1.11/src/vikgpslayer.c:896:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_MATCH_DATA [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgpslayer.c:933:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikgpslayer.c:972:48: style: Parameter 'vgl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viklayer.c:111:14: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viklayer.c:111:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayer.c:135:14: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viklayer.c:135:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayer.c:171:59: style: Parameter 'vl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viklayer.c:177:50: style: Parameter 'vl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viklayer.c:249:45: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viklayer.c:359:70: style:inconclusive: Function 'vik_layer_marshall_params' argument 3 names different: declaration 'len' definition 'datalen'. [funcArgNamesDifferent] viking-1.11/src/viklayer.h:320:75: note: Function 'vik_layer_marshall_params' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.11/src/viklayer.c:359:70: note: Function 'vik_layer_marshall_params' argument 3 names different: declaration 'len' definition 'datalen'. head viking-1.11/src/viklayer.c:361:18: style: Variable 'params' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viklayer.c:382:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayer.c:427:76: style:inconclusive: Function 'vik_layer_unmarshall_params' argument 3 names different: declaration 'len' definition 'datalen'. [funcArgNamesDifferent] viking-1.11/src/viklayer.h:321:81: note: Function 'vik_layer_unmarshall_params' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.11/src/viklayer.c:427:76: note: Function 'vik_layer_unmarshall_params' argument 3 names different: declaration 'len' definition 'datalen'. head viking-1.11/src/viklayer.c:429:18: style: Variable 'params' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viklayer.c:457:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayer.c:530:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayer.c:618:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayer.c:68:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayer.c:704:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viklayer.c:738:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viklayer.c:756:22: style: Variable 'vli' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viklayer.c:777:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayer_defaults.c:153:17: style: Variable 'vlp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viklayer_defaults.c:158:107: style: Parameter 'params' can be declared as pointer to const. However it seems that 'defaults_run_setparam' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viklayer_defaults.c:369:101: note: You might need to cast the function pointer here viking-1.11/src/viklayer_defaults.c:158:107: note: Parameter 'params' can be declared as pointer to const head viking-1.11/src/viklayer_defaults.c:158:46: style: Parameter 'index_ptr' can be declared as pointer to const. However it seems that 'defaults_run_setparam' is a callback function, if 'index_ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viklayer_defaults.c:369:101: note: You might need to cast the function pointer here viking-1.11/src/viklayer_defaults.c:158:46: note: Parameter 'index_ptr' can be declared as pointer to const head viking-1.11/src/viklayer_defaults.c:162:17: style: Variable 'vlp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viklayer_defaults.c:167:59: style: Parameter 'index_ptr' can be declared as pointer to const. However it seems that 'defaults_run_getparam' is a callback function, if 'index_ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viklayer_defaults.c:504:68: note: You might need to cast the function pointer here viking-1.11/src/viklayer_defaults.c:167:59: note: Parameter 'index_ptr' can be declared as pointer to const head viking-1.11/src/viklayer_defaults.c:171:17: style: Variable 'vlp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viklayer_defaults.c:177:60: style: Parameter 'index_ptr' can be declared as pointer to const. However it seems that 'getparam_default_value' is a callback function, if 'index_ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viklayer_defaults.c:507:68: note: You might need to cast the function pointer here viking-1.11/src/viklayer_defaults.c:177:60: note: Parameter 'index_ptr' can be declared as pointer to const head viking-1.11/src/viklayer_defaults.c:224:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_KEY_FILE_KEEP_COMMENTS [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayer_defaults.c:283:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayer_defaults.c:312:18: style: Variable 'param' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viklayer_defaults.c:397:48: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viklayer_defaults.c:46:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayer_defaults.c:489:69: style: Parameter 'index_ptr' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viklayer_defaults.c:72:10: style: Variable 'str' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viklayerspanel.c:111:118: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayerspanel.c:1147:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayerspanel.c:1153:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayerspanel.c:1314:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayerspanel.c:1329:69: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viklayerspanel.c:1358:62: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viklayerspanel.c:141:62: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viklayerspanel.c:1495:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VALUE_INIT [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayerspanel.c:167:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable label [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayerspanel.c:212:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/viklayerspanel.c:212:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayerspanel.c:275:16: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viklayerspanel.c:275:16: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viklayerspanel.c:278:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viklayerspanel.c:278:11: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viklayerspanel.c:280:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viklayerspanel.c:332:23: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/viklayerspanel.c:332:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayerspanel.c:380:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayerspanel.c:397:21: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viklayerspanel.c:397:21: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viklayerspanel.c:397:21: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viklayerspanel.c:412:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayerspanel.c:429:16: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viklayerspanel.c:429:16: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viklayerspanel.c:429:16: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viklayerspanel.c:437:7: warning: Size of pointer 'date_str' used instead of size of its data. [pointerSize] head viking-1.11/src/viklayerspanel.c:438:13: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'GDate *'. [invalidPrintfArgType_uint] head viking-1.11/src/viklayerspanel.c:470:16: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viklayerspanel.c:470:16: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viklayerspanel.c:470:16: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viklayerspanel.c:480:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayerspanel.c:502:21: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viklayerspanel.c:502:21: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viklayerspanel.c:502:21: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/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.11/src/viklayerspanel.c:745:3: note: You might need to cast the function pointer here viking-1.11/src/viklayerspanel.c:568:67: note: Parameter 'vlp' can be declared as pointer to const head viking-1.11/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.11/src/viklayerspanel.c:786:3: note: You might need to cast the function pointer here viking-1.11/src/viklayerspanel.c:626:62: note: Parameter 'vlp' can be declared as pointer to const head viking-1.11/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] head viking-1.11/src/viklayerspanel.c:676:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_SMALL_TOOLBAR [valueFlowBailoutIncompleteVar] head viking-1.11/src/viklayerspanel.c:825:12: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viklayerspanel.c:864:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/viklayerspanel.c:670:3: note: You might need to cast the function pointer here viking-1.11/src/viklayerspanel.c:923:79: note: Parameter 'event' can be declared as pointer to const head viking-1.11/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.11/src/viklayerspanel.c:673:3: note: You might need to cast the function pointer here viking-1.11/src/viklayerspanel.c:940:73: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/viklayerspanel.c:943:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Delete [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikmapniklayer.c:636: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] head viking-1.11/src/vikmapslayer.c:1398: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] head viking-1.11/src/vikmapslayer_compat.c:34:84: style: Parameter 'map_type' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikmapsource.c:45:36: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikmapsource.c:55:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_map_source_parent_class [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/vikmapsource.c:76:38: note: You might need to cast the function pointer here viking-1.11/src/vikmapsource.c:95:44: note: Parameter 'self' can be declared as pointer to const head viking-1.11/src/vikmapsource.c:95:44: style:inconclusive: Function '_supports_download_only_new' argument 1 names different: declaration 'object' definition 'self'. [funcArgNamesDifferent] viking-1.11/src/vikmapsource.c:40:60: note: Function '_supports_download_only_new' argument 1 names different: declaration 'object' definition 'self'. viking-1.11/src/vikmapsource.c:95:44: note: Function '_supports_download_only_new' argument 1 names different: declaration 'object' definition 'self'. head viking-1.11/src/vikmapsourcedefault.c:132:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_map_source_default_parent_class [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/vikmapsourcedefault.c:290:31: note: You might need to cast the function pointer here viking-1.11/src/vikmapsourcedefault.c:139:52: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/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.11/src/vikmapsourcedefault.c:291:34: note: You might need to cast the function pointer here viking-1.11/src/vikmapsourcedefault.c:218:50: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/src/vikmapsourcedefault.c:322:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikmapsourcedefault.c:441:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikmapsourcedefault.c:451:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikmapsourcedefault.c:461:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikmapsourcedefault.c:486:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikmapsourcedefault.c:496:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikmapsourcedefault.c:506:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikmapsourcedefault.c:516:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikmapsourcedefault.c:526:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikmapsourcedefault.c:536:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikmapsourcedefault.c:558:33: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikmapsourcedefault.c:566:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikmapsourcedefault.c:574:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/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.11/src/vikmapsourcedefault.c:309:43: note: You might need to cast the function pointer here viking-1.11/src/vikmapsourcedefault.c:579:39: note: Parameter 'self' can be declared as pointer to const head viking-1.11/src/vikmaptype.c:112:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikmaptype.c:130:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikmaptype.c:84:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_map_type_parent_class [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikradiogroup.c:103:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.19.0 viking-1.11/src/vikradiogroup.c:33:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] head viking-1.11/src/vikradiogroup.c:60:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_VBOX [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikrouting.c:154:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikrouting.c:80:9: style: Variable 'engineId' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikrouting.c:97:9: style: Variable 'elem' can be declared as pointer to const [constVariablePointer] head viking-1.11/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.11/src/vikroutingengine.c:136:32: note: You might need to cast the function pointer here viking-1.11/src/vikroutingengine.c:101:39: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/src/vikroutingengine.c:103:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikroutingengine.c:154:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikroutingengine.c:183:40: style:inconclusive: Function 'vik_routing_engine_finalize' argument 1 names different: declaration 'gob' definition 'self'. [funcArgNamesDifferent] viking-1.11/src/vikroutingengine.c:41:52: note: Function 'vik_routing_engine_finalize' argument 1 names different: declaration 'gob' definition 'self'. viking-1.11/src/vikroutingengine.c:183:40: note: Function 'vik_routing_engine_finalize' argument 1 names different: declaration 'gob' definition 'self'. head viking-1.11/src/vikroutingengine.c:230:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikroutingengine.c:243:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikroutingengine.c:258:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/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.11/src/vikroutingengine.c:135:32: note: You might need to cast the function pointer here viking-1.11/src/vikroutingengine.c:69:41: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/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.11/src/vikroutingwebengine.c:242:32: note: You might need to cast the function pointer here viking-1.11/src/vikroutingwebengine.c:176:39: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/src/vikroutingwebengine.c:262:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikroutingwebengine.c:454:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_routing_web_engine_parent_class [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikroutingwebengine.c:538:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikroutingwebengine.c:573:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikroutingwebengine.c:647:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikroutingwebengine.c:679:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/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.11/src/vikroutingwebengine.c:241:32: note: You might need to cast the function pointer here viking-1.11/src/vikroutingwebengine.c:99:41: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/src/vikslippymapsource.c:173:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_slippy_map_source_parent_class [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/vikslippymapsource.c:374:31: note: You might need to cast the function pointer here viking-1.11/src/vikslippymapsource.c:180:51: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/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.11/src/vikslippymapsource.c:375:34: note: You might need to cast the function pointer here viking-1.11/src/vikslippymapsource.c:281:49: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/src/vikslippymapsource.c:400:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikslippymapsource.c:544:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikslippymapsource.c:554:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikslippymapsource.c:566:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikslippymapsource.c:585:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikslippymapsource.c:596:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikslippymapsource.c:607:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikslippymapsource.c:618:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikslippymapsource.c:629:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikslippymapsource.c:640:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/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.11/src/vikslippymapsource.c:379:48: note: You might need to cast the function pointer here viking-1.11/src/vikslippymapsource.c:651:59: note: Parameter 'src' can be declared as pointer to const head viking-1.11/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.11/src/vikslippymapsource.c:391:26: note: You might need to cast the function pointer here viking-1.11/src/vikslippymapsource.c:657:48: note: Parameter 'src' can be declared as pointer to const head viking-1.11/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.11/src/vikslippymapsource.c:393:39: note: You might need to cast the function pointer here viking-1.11/src/vikslippymapsource.c:689:61: note: Parameter 'src' can be declared as pointer to const head viking-1.11/src/vikstatus.c:135:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RELIEF_NONE [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikstatus.c:85:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INT [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktmsmapsource.c:150:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_tms_map_source_parent_class [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/viktmsmapsource.c:311:31: note: You might need to cast the function pointer here viking-1.11/src/viktmsmapsource.c:157:51: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/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.11/src/viktmsmapsource.c:312:34: note: You might need to cast the function pointer here viking-1.11/src/viktmsmapsource.c:238:49: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/src/viktmsmapsource.c:337:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/viktmsmapsource.c:318:45: note: You might need to cast the function pointer here viking-1.11/src/viktmsmapsource.c:442:40: note: Parameter 'self' can be declared as pointer to const head viking-1.11/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.11/src/viktmsmapsource.c:319:34: note: You might need to cast the function pointer here viking-1.11/src/viktmsmapsource.c:448:29: note: Parameter 'self' can be declared as pointer to const head viking-1.11/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.11/src/viktmsmapsource.c:320:41: note: You might need to cast the function pointer here viking-1.11/src/viktmsmapsource.c:454:36: note: Parameter 'self' can be declared as pointer to const head viking-1.11/src/viktmsmapsource.c:480:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/viktmsmapsource.c:316:48: note: You might need to cast the function pointer here viking-1.11/src/viktmsmapsource.c:494:59: note: Parameter 'src' can be declared as pointer to const head viking-1.11/src/viktmsmapsource.c:507:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/viktmsmapsource.c:328:26: note: You might need to cast the function pointer here viking-1.11/src/viktmsmapsource.c:512:48: note: Parameter 'src' can be declared as pointer to const head viking-1.11/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.11/src/viktmsmapsource.c:330:39: note: You might need to cast the function pointer here viking-1.11/src/viktmsmapsource.c:540:61: note: Parameter 'src' can be declared as pointer to const head viking-1.11/src/viktmsmapsource.c:573:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktmsmapsource.c:584:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktmsmapsource.c:595:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktmsmapsource.c:606:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktmsmapsource.c:617:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktmsmapsource.c:628:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktreeview.c:1005:65: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktreeview.c:1012:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_F2 [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktreeview.c:115:123: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/viktreeview.c:387:3: note: You might need to cast the function pointer here viking-1.11/src/viktreeview.c:122:71: note: Parameter 'path_str' can be declared as pointer to const head viking-1.11/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.11/src/viktreeview.c:365:3: note: You might need to cast the function pointer here viking-1.11/src/viktreeview.c:143:74: note: Parameter 'path_str' can be declared as pointer to const head viking-1.11/src/viktreeview.c:376:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_VIEW_COLUMN_AUTOSIZE [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktreeview.c:406:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_VIEW_COLUMN_FIXED [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktreeview.c:479:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktreeview.c:558:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_TREE_DRAG_SOURCE [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktreeview.c:650:50: style: Parameter 'vt' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktreeview.c:795:77: style: Parameter 'order' can be declared as pointer to const. However it seems that 'sort_tuple_compare' is a callback function, if 'order' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viktreeview.c:881:22: note: You might need to cast the function pointer here viking-1.11/src/viktreeview.c:795:77: note: Parameter 'order' can be declared as pointer to const head viking-1.11/src/viktreeview.c:797:14: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktreeview.c:798:14: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktreeview.c:87:28: debug: Scope::checkVariable found variable 'data2' with varid 0. [varid0] head viking-1.11/src/viktreeview.c:87:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data2 [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktreeview.c:992:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:10066:20: style: The if condition is the same as the previous if condition [duplicateCondition] viking-1.11/src/viktrwlayer.c:10062:20: note: First condition viking-1.11/src/viktrwlayer.c:10066:20: note: Second condition head viking-1.11/src/viktrwlayer.c:10120:18: style: Local variable 'item' shadows outer variable [shadowVariable] viking-1.11/src/viktrwlayer.c:9726:14: note: Shadowed declaration viking-1.11/src/viktrwlayer.c:10120:18: note: Shadow variable head viking-1.11/src/viktrwlayer.c:10125:18: style: Local variable 'item' shadows outer variable [shadowVariable] viking-1.11/src/viktrwlayer.c:9726:14: note: Shadowed declaration viking-1.11/src/viktrwlayer.c:10125:18: note: Shadow variable head viking-1.11/src/viktrwlayer.c:1020:59: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:10310:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:1032:60: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:10411:13: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:1042:52: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:10483:78: style: Parameter 'coord' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:10485:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:1054:56: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:10576:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:10598:50: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:1066:47: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:10788: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.11/src/viktrwlayer.c:952:41: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:10788:75: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:10799:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:10801:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:10809:20: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:10824: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.11/src/viktrwlayer.c:953:41: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:10824:78: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:10837:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:10839:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:10847:20: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:10892:112: style:inconclusive: Function 'trw_layer_select_click' argument 4 names different: declaration 't' definition 'tet'. [funcArgNamesDifferent] viking-1.11/src/viktrwlayer.c:876:112: note: Function 'trw_layer_select_click' argument 4 names different: declaration 't' definition 'tet'. viking-1.11/src/viktrwlayer.c:10892:112: note: Function 'trw_layer_select_click' argument 4 names different: declaration 't' definition 'tet'. head viking-1.11/src/viktrwlayer.c:10892: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.11/src/viktrwlayer.c:951:41: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:10892:76: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:10927:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:1094:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:1097:55: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] head viking-1.11/src/viktrwlayer.c:11084:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:11098:16: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:11142:16: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:11187:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_DEST_ATOP [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:11209:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable drawpoints_size [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:1120:28: style: Variable 'tpt' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:11239: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.11/src/viktrwlayer.c:519:24: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:11239:92: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:11316: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.11/src/viktrwlayer.c:520:28: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:11316:91: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:11329:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:11331:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:11339:20: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:11355: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.11/src/viktrwlayer.c:521:24: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:11355:94: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:11369:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:11371:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:11379:20: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:1146:55: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] head viking-1.11/src/viktrwlayer.c:11486:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:11487:21: style: Variable 'vti' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:11619:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:11688:14: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:11691:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:11696:14: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:11705:63: style: Parameter 'target' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:11720:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:11742:5: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer.c:11777:88: style: Parameter 'event' can be declared as pointer to const. However it seems that 'tool_edit_track_move' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viktrwlayer.c:496:28: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:11777:88: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:11835:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_desc [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:11964: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.11/src/viktrwlayer.c:484:22: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:11964:76: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:11967:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:11995: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.11/src/viktrwlayer.c:499:22: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:11995:78: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:11997:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Shift_L [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:12013:98: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:12038:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_2BUTTON_PRESS [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:12058:20: style: Variable 'other_tp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:12086:53: style: Redundant condition: vtl->current_track. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] head viking-1.11/src/viktrwlayer.c:12090:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:12164:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:12194:53: style: Redundant condition: vtl->current_track. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] head viking-1.11/src/viktrwlayer.c:12199:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:12246:29: style: Redundant condition: vtl->current_track. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] head viking-1.11/src/viktrwlayer.c:12249:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:12295: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.11/src/viktrwlayer.c:497:24: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:12295:91: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:12316:55: style:inconclusive: Function 'tool_edit_track_deactivate' argument 1 names different: declaration 'vtl' definition 'ignore'. [funcArgNamesDifferent] viking-1.11/src/viktrwlayer.c:425:55: note: Function 'tool_edit_track_deactivate' argument 1 names different: declaration 'vtl' definition 'ignore'. viking-1.11/src/viktrwlayer.c:12316:55: note: Function 'tool_edit_track_deactivate' argument 1 names different: declaration 'vtl' definition 'ignore'. head viking-1.11/src/viktrwlayer.c:12331: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.11/src/viktrwlayer.c:452:30: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:12331:55: note: Parameter 'vw' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:12336: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.11/src/viktrwlayer.c:453:24: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:12336:91: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:12342:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:12364: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.11/src/viktrwlayer.c:532:24: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:12364:94: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:12370:17: warning: Either the condition '!vtl' is redundant or there is possible null pointer dereference: vtl. [nullPointerRedundantCheck] viking-1.11/src/viktrwlayer.c:12383:7: note: Assuming that condition '!vtl' is not redundant viking-1.11/src/viktrwlayer.c:12370:17: note: Null pointer dereference head viking-1.11/src/viktrwlayer.c:12393:15: style: Variable 'current_tr' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:12419: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.11/src/viktrwlayer.c:533:28: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:12419:93: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:1241:20: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:12433:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:12435:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:12451: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.11/src/viktrwlayer.c:534:24: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:12451:96: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:12466:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:12468:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:1248:17: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:12495:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:12505:14: style: Variable 'last_to' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:12532:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:1255:17: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:12594: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.11/src/viktrwlayer.c:498:22: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:12594:87: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:12596:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:12620: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.11/src/viktrwlayer.c:542:30: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:12620:55: note: Parameter 'vw' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:12631:21: style: Variable 'event' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:12656:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:12745:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:12778:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/viktrwlayer.c:12778:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:12832:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/viktrwlayer.c:12832:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:12876:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:12895:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:12902:15: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:12904:20: style: Variable 'tpt' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:12918:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:12922:18: style: Variable 'wpt' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:12961:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable realized [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:12966:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/viktrwlayer.c:12982:9: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer.c:13021:58: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:13042: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.11/src/viktrwlayer.c:13057:53: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:13042:82: note: Parameter 'dest_mode' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:13047: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.11/src/viktrwlayer.c:13059:50: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:13047:76: note: Parameter 'dest_mode' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:13068: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.11/src/viktrwlayer.c:920:41: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:13068:72: note: Parameter 'vtl' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:13088:43: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:13088:59: style: Parameter 'to' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:13088:78: style: Parameter 'dist' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:1308: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.11/src/viktrwlayer.c:946:41: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:1308:80: note: Parameter 'item' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:13142:30: style: Condition 'get_download_area_width(vvp,zoom_level,&wh)' is always false [knownConditionTrueFalse] viking-1.11/src/viktrwlayer.c:13142:30: note: Calling function 'get_download_area_width' returns 0 viking-1.11/src/viktrwlayer.c:13142:30: note: Condition 'get_download_area_width(vvp,zoom_level,&wh)' is always false head viking-1.11/src/viktrwlayer.c:13150:13: style: Variable 'cur_coord' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:13153:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:13181:8: warning: Uninitialized variable: cur_coord [uninitvar] viking-1.11/src/viktrwlayer.c:13152:10: note: Assuming condition is false viking-1.11/src/viktrwlayer.c:13181:8: note: Uninitialized variable: cur_coord head viking-1.11/src/viktrwlayer.c:13243:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:13339:50: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:13368:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:13380:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:13389:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:13429:155: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:13460:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:13528:48: style:inconclusive: Function 'trw_layer_replace_external' argument 1 names different: declaration 'vtl' definition 'trw'. [funcArgNamesDifferent] viking-1.11/src/viktrwlayer.h:203:48: note: Function 'trw_layer_replace_external' argument 1 names different: declaration 'vtl' definition 'trw'. viking-1.11/src/viktrwlayer.c:13528:48: note: Function 'trw_layer_replace_external' argument 1 names different: declaration 'vtl' definition 'trw'. head viking-1.11/src/viktrwlayer.c:13539:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:13554: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.11/src/viktrwlayer.c:505:30: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:13554:51: note: Parameter 'vw' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:13559: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.11/src/viktrwlayer.c:506:24: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:13559:87: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:1637:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:1846:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/viktrwlayer.c:1846:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:2093:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:2139:14: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] head viking-1.11/src/viktrwlayer.c:2156:65: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:2181:125: style: Parameter 'coord' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:2181:62: style: Parameter 'fgcolour' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:2181:79: style: Parameter 'bgcolour' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:2390:18: style: Variable 'tp_end' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:2393:18: style: Variable 'tp_begin' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:2475:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:2587:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:2690:15: style: Variable 'tmp_gc' is assigned an expression that holds the same value. [redundantAssignment] viking-1.11/src/viktrwlayer.c:2688:22: note: tmp_gc is assigned 'main_gc' here. viking-1.11/src/viktrwlayer.c:2690:15: note: Variable 'tmp_gc' is assigned an expression that holds the same value. head viking-1.11/src/viktrwlayer.c:2690:22: style: Redundant initialization for 'tmp_gc'. The initialized value is overwritten before it is read. [redundantInitialization] viking-1.11/src/viktrwlayer.c:2688:22: note: tmp_gc is initialized viking-1.11/src/viktrwlayer.c:2690:22: note: tmp_gc is overwritten head viking-1.11/src/viktrwlayer.c:2694:21: style: Redundant initialization for 'gcl'. The initialized value is overwritten before it is read. [redundantInitialization] viking-1.11/src/viktrwlayer.c:2689:28: note: gcl is initialized viking-1.11/src/viktrwlayer.c:2694:21: note: gcl is overwritten head viking-1.11/src/viktrwlayer.c:2991: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.11/src/viktrwlayer.c:3136:43: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:2991:51: note: Parameter 'id' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:3022:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:3030:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:3044:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:3061:37: style: Parameter 'rgba' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:3084:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_PROPERTY_BACKGROUND_COLOR [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:3096:48: style:inconclusive: Function 'trw_layer_configure' argument 1 names different: declaration 'l' definition 'vtl'. [funcArgNamesDifferent] viking-1.11/src/viktrwlayer.c:852:48: note: Function 'trw_layer_configure' argument 1 names different: declaration 'l' definition 'vtl'. viking-1.11/src/viktrwlayer.c:3096:48: note: Function 'trw_layer_configure' argument 1 names different: declaration 'l' definition 'vtl'. head viking-1.11/src/viktrwlayer.c:3122:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:3225:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CROSSHAIR [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:3258:38: style: Parameter 'symbol' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:3264:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:3270:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkTreeIter [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:3278:18: style: Variable 'tpt' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:3299:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkTreeIter [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:3372:82: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:3374:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:3407:20: style: Local variable 't' shadows outer variable [shadowVariable] viking-1.11/src/viktrwlayer.c:3392:13: note: Shadowed declaration viking-1.11/src/viktrwlayer.c:3407:20: note: Shadow variable head viking-1.11/src/viktrwlayer.c:3433:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:3440:70: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:3448: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.11/src/viktrwlayer.c:3662:50: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:3448:69: note: Parameter 'tr' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:3466: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.11/src/viktrwlayer.c:3563:50: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:3466:69: note: Parameter 'tr' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:3478:20: style: Variable 'trkpt_last' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:3519:21: style: Variable 'lap' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:3528:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer.c:3528:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer.c:3528:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer.c:3573:48: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] head viking-1.11/src/viktrwlayer.c:3574:48: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] head viking-1.11/src/viktrwlayer.c:3591:11: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'GDate *'. [invalidPrintfArgType_uint] head viking-1.11/src/viktrwlayer.c:3592:11: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'GDate *'. [invalidPrintfArgType_uint] head viking-1.11/src/viktrwlayer.c:3598:13: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'GDate *'. [invalidPrintfArgType_uint] head viking-1.11/src/viktrwlayer.c:3714:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] head viking-1.11/src/viktrwlayer.c:3724:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] head viking-1.11/src/viktrwlayer.c:3731:17: style: Variable 'tr' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:3809:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] head viking-1.11/src/viktrwlayer.c:3812:20: style: Variable 'w' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:3848:115: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:3888:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:3897:94: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:3914:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:3961:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:3975:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] head viking-1.11/src/viktrwlayer.c:3987:6: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] head viking-1.11/src/viktrwlayer.c:4002:6: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] head viking-1.11/src/viktrwlayer.c:4017:6: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] head viking-1.11/src/viktrwlayer.c:4034:6: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] head viking-1.11/src/viktrwlayer.c:4038:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] head viking-1.11/src/viktrwlayer.c:4046:53: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:4051:53: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:4056:56: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:4061:59: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:4066:59: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:4071:62: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:4092:18: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/viktrwlayer.c:4092:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:4110:61: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:4115:61: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:4120:64: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:4125:60: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:4239:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:4242:52: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:4268:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:4363:10: style: Variable 'label' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:4383:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:4406:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:4444:16: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:4481:44: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:4578:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:4709:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:4772:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:4800:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:4822:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:4866:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:4867:21: style: Variable 'vti' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:4920:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:4927:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:4961:21: style: Variable 'lap' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:4964:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer.c:4988:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer.c:4988:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer.c:4988:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer.c:5007:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:5030:52: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:5045:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:5111:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:5153:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:5176: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] head viking-1.11/src/viktrwlayer.c:5181: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] head viking-1.11/src/viktrwlayer.c:5186: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] head viking-1.11/src/viktrwlayer.c:5215:53: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] head viking-1.11/src/viktrwlayer.c:5256:10: style: Variable 'gl' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:5259:5: error: Memory leak: gl [memleak] head viking-1.11/src/viktrwlayer.c:5267:1: error: Memory leak: gl [memleak] head viking-1.11/src/viktrwlayer.c:5403:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:5490:60: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:5497:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable realized [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:5529:57: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:5536:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable realized [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:5546:20: style: Variable 'tpt' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:5570:57: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:5577:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable realized [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:5602:66: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:5614:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/viktrwlayer.c:5614:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:5639:12: style: Variable 'id' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:5659:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_REGEX_CASELESS [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:5724:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/viktrwlayer.c:5724:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:5797:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:5864:14: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:5873:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:5911:14: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:5920:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:5936:72: style: Parameter 'wp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:5943:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:5963:14: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:5979:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6017:12: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:6058:12: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:6086:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6104:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6129:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6181:56: style: Parameter 'vtl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:6190:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6203:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6213:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6230:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6286:12: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:6290:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6309:12: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:6315:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6327:12: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:6333:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6364:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6404:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6422:12: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:642:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6438:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:643:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:644:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6455:36: warning: Function 'goto_coord' argument order different: declaration 'vlp, vvp, vl, coord' definition 'vlp, vl, vvp, coord' [funcArgOrderDifferent] viking-1.11/src/viktrwlayer.c:314:36: note: Function 'goto_coord' argument order different: declaration 'vlp, vvp, vl, coord' definition 'vlp, vl, vvp, coord' viking-1.11/src/viktrwlayer.c:6455:36: note: Function 'goto_coord' argument order different: declaration 'vlp, vvp, vl, coord' definition 'vlp, vl, vvp, coord' head viking-1.11/src/viktrwlayer.c:645:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:646:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6488:13: style: Variable 'track' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:6509:13: style: Variable 'track' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:650:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6517:20: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:651:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:652:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6530:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:657:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6614:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6621:9: style: Variable 'wpnm' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:665:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6691:20: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:6703:19: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer.c:6744:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:676:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:678:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:680:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:681:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6825:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:682:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:684:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6871:18: style: Local variable 'tp' shadows outer variable [shadowVariable] viking-1.11/src/viktrwlayer.c:6831:20: note: Shadowed declaration viking-1.11/src/viktrwlayer.c:6871:18: note: Shadow variable head viking-1.11/src/viktrwlayer.c:6879:18: style: Local variable 'tp' shadows outer variable [shadowVariable] viking-1.11/src/viktrwlayer.c:6831:20: note: Shadowed declaration viking-1.11/src/viktrwlayer.c:6879:18: note: Shadow variable head viking-1.11/src/viktrwlayer.c:6930:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:693:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6946:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:695:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6960:12: style: Variable 'dems' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:6963:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:6985:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:7029:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:7073:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:707:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:7094:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/viktrwlayer.c:7094:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:7123:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/viktrwlayer.c:7123:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:7278:68: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:7304:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:7329:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:7418:18: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:7418:23: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:7419:13: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:7453:13: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:7456:13: style: Variable 'orig_trk' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:7466:14: style: Variable 'udata' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:7477:20: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:7478:20: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:7518:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:7574:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:7678:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:7761:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:7834:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:7846:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:7874:10: style: Variable 'trps' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:7931:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable newsegment [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:7994:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:8012:50: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] head viking-1.11/src/viktrwlayer.c:8083:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:8197:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:8209:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable newsegment [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:8311:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:8342:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:8363:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:8384:13: style: Variable 'track' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:8399:13: style: Variable 'track' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:8439:15: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:8445:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:8447:57: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] head viking-1.11/src/viktrwlayer.c:8454:18: style: Variable 'wpt' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:8462:57: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] head viking-1.11/src/viktrwlayer.c:8480:55: error: Invalid g_file_open_tmp() argument nr 2. A nul-terminated string is required. [invalidFunctionArgStr] head viking-1.11/src/viktrwlayer.c:8482:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:8512:12: style: Redundant initialization for 'sign_c'. The initialized value is overwritten before it is read. [redundantInitialization] viking-1.11/src/viktrwlayer.c:8506:16: note: sign_c is initialized viking-1.11/src/viktrwlayer.c:8512:12: note: sign_c is overwritten head viking-1.11/src/viktrwlayer.c:8560:55: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] head viking-1.11/src/viktrwlayer.c:8562:57: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] head viking-1.11/src/viktrwlayer.c:8574:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:8584:55: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] head viking-1.11/src/viktrwlayer.c:8586:57: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] head viking-1.11/src/viktrwlayer.c:8679:10: style: Variable 'dummy_list' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:8712:10: style: Variable 'dummy_list1' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:8730:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:8744:14: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:8768:12: style: Variable 'dummy_list2' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:8799:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:8856:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:8906:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:8986:10: style: Variable 'dummy_list' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:9018:10: style: Variable 'dummy_list1' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:9032:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9048:12: style: Variable 'dummy_list2' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:9070:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9120:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/viktrwlayer.c:9120:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9177:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9197:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9240:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/viktrwlayer.c:9240:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9277:85: style: Parameter 'on_off' can be declared as pointer to const. However it seems that 'trw_layer_waypoints_visibility' is a callback function, if 'on_off' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viktrwlayer.c:9321:51: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:9277:85: note: Parameter 'on_off' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:9306:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9319:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9332:107: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9341:80: style: Parameter 'on_off' can be declared as pointer to const. However it seems that 'trw_layer_tracks_visibility' is a callback function, if 'on_off' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viktrwlayer.c:9413:48: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:9341:80: note: Parameter 'on_off' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:9360:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9373:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9386:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9398:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9411:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9424:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9444:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9489:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9500:68: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'trw_layer_create_track_list' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viktrwlayer.c:13372:85: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer.c:9500:68: note: Parameter 'user_data' can be declared as pointer to const head viking-1.11/src/viktrwlayer.c:9519:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9537:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9556:16: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:9560:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9567:16: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:9571:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9590:18: style: Variable 'wpf' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:9594:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9620:15: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:9657:15: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:9687:49: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer.c:9696:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tracks [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9746:17: style: Variable 'tr' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:9751:17: style: Variable 'tr' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer.c:9774:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable waypoints [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer.c:9864:20: style: The if condition is the same as the previous if condition [duplicateCondition] viking-1.11/src/viktrwlayer.c:9862:20: note: First condition viking-1.11/src/viktrwlayer.c:9864:20: note: Second condition head viking-1.11/src/viktrwlayer_analysis.c:1013:16: style: Variable 'acb' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer_analysis.c:1018:13: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer_analysis.c:1021:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_analysis.c:1193:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_analysis.c:1275:18: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_analysis.c:135:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_analysis.c:237:3: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'GDate *'. [invalidPrintfArgType_uint] head viking-1.11/src/viktrwlayer_analysis.c:277:53: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_analysis.c:280:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_analysis.c:396:3: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'GDate *'. [invalidPrintfArgType_uint] head viking-1.11/src/viktrwlayer_analysis.c:402:3: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'GDate *'. [invalidPrintfArgType_uint] head viking-1.11/src/viktrwlayer_analysis.c:443:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_analysis.c:445:13: style: Variable 'num' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer_analysis.c:449:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_analysis.c:558:19: style: Variable 'tot' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer_analysis.c:568:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_analysis.c:591:19: style: Variable 'tot' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer_analysis.c:601:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visible [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_analysis.c:635:56: style: Parameter 'tracks_and_layers' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_analysis.c:664:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_analysis.c:664:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_analysis.c:672:41: style: Parameter 'tracks_and_layers' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_analysis.c:688:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_analysis.c:688:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_analysis.c:727:3: error: Memory leak: str [memleak] head viking-1.11/src/viktrwlayer_analysis.c:752:47: style: Parameter 'tree_view' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_analysis.c:818:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_analysis.c:88:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_analysis.c:969:3: error: Memory leak: str [memleak] head viking-1.11/src/viktrwlayer_export.c:109:23: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_export.c:172:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_export.c:253:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_export.c:312:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_export.c:331:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/viktrwlayer_export.c:338:21: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer_export.c:360:21: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer_export.c:412:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_export.c:477:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_export.c:489: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] head viking-1.11/src/viktrwlayer_export.c:501: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] head viking-1.11/src/viktrwlayer_export.c:507: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] head viking-1.11/src/viktrwlayer_export.c:533:18: style: Variable 'active' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer_export.c:83:19: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/viktrwlayer_export.c:83:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_geotag.c:219:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_geotag.c:331:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_geotag.c:353:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_geotag.c:354:16: style: Variable 'wpt' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer_geotag.c:37:39: style: Parameter 'StringTime' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_geotag.c:37:57: style: Parameter 'Format' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_geotag.c:443:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_geotag.c:617:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_geotag.c:683:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_geotag.c:701:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/viktrwlayer_geotag.c:706:15: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer_geotag.c:747:2: error: Memory leak: gd [memleak] head viking-1.11/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] head viking-1.11/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] head viking-1.11/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] head viking-1.11/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] head viking-1.11/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] head viking-1.11/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] head viking-1.11/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] head viking-1.11/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] head viking-1.11/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] head viking-1.11/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] head viking-1.11/src/viktrwlayer_propwin.c:1021:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_propwin.c:1021:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_propwin.c:1021:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_propwin.c:1026:94: style: Parameter 'trackpoint' can be declared as pointer to const [constParameterPointer] head viking-1.11/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.11/src/viktrwlayer_propwin.c:2790:34: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_propwin.c:1100:60: note: Parameter 'trackpoint' can be declared as pointer to const head viking-1.11/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.11/src/viktrwlayer_propwin.c:2806:34: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_propwin.c:1120:48: note: Parameter 'trackpoint' can be declared as pointer to const head viking-1.11/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.11/src/viktrwlayer_propwin.c:2822:34: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_propwin.c:1133:49: note: Parameter 'trackpoint' can be declared as pointer to const head viking-1.11/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.11/src/viktrwlayer_propwin.c:2838:34: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_propwin.c:1146:50: note: Parameter 'trackpoint' can be declared as pointer to const head viking-1.11/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.11/src/viktrwlayer_propwin.c:2854:34: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_propwin.c:1162:51: note: Parameter 'trackpoint' can be declared as pointer to const head viking-1.11/src/viktrwlayer_propwin.c:1178:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:1191:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:1289:10: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer_propwin.c:1309:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:1562:105: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_propwin.c:1562:76: style: Parameter 'widgets' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_propwin.c:1567:77: warning: Uninitialized variable: ss [uninitvar] viking-1.11/src/viktrwlayer_propwin.c:2245:44: note: Calling function 'draw_grid_y', 5th argument 'ss' value is viking-1.11/src/viktrwlayer_propwin.c:1567:77: note: Uninitialized variable: ss head viking-1.11/src/viktrwlayer_propwin.c:1600:81: style: Parameter 'widgets' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_propwin.c:1612:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_propwin.c:1669:85: style: Parameter 'widgets' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_propwin.c:1678:20: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_propwin.c:2068:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:2136:37: style: Parameter 'rgba' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_propwin.c:2145:22: style: Variable 'vlpd' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer_propwin.c:2223:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_LINE_CAP_SQUARE [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:2577:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/viktrwlayer_propwin.c:4082:3: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_propwin.c:2596:73: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/viktrwlayer_propwin.c:2683:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS_MASK [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:2697:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:2872:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:2932:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:3103:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head viking-1.11/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] head viking-1.11/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] head viking-1.11/src/viktrwlayer_propwin.c:3196:62: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_propwin.c:3214:5: error: Memory leak: str [memleak] head viking-1.11/src/viktrwlayer_propwin.c:3252:48: style: Parameter 'tree_view' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_propwin.c:3277:61: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'format_time_cell_data_func' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viktrwlayer_propwin.c:3331:63: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_propwin.c:3277:61: note: Parameter 'user_data' can be declared as pointer to const head viking-1.11/src/viktrwlayer_propwin.c:3298:52: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_propwin.c:3342:10: style: Variable 'hght_str' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer_propwin.c:3504:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:3658:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_propwin.c:3658:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_propwin.c:3658:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_propwin.c:3663:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_propwin.c:3663:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_propwin.c:3663:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_propwin.c:3807:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:4077:41: style: Checking if unsigned expression 'vik_track_get_dup_point_count(tr)' is less than zero. [unsignedLessThanZero] head viking-1.11/src/viktrwlayer_propwin.c:4136:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:4144:14: style: Variable 'page' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer_propwin.c:4160:13: style: Condition 'pwgt==PGT_ELEVATION_DISTANCE' is always true [knownConditionTrueFalse] viking-1.11/src/viktrwlayer_propwin.c:4156:32: note: Assignment 'pwgt=PGT_ELEVATION_DISTANCE', assigned value is 0 viking-1.11/src/viktrwlayer_propwin.c:4160:13: note: Condition 'pwgt==PGT_ELEVATION_DISTANCE' is always true head viking-1.11/src/viktrwlayer_propwin.c:4169:13: style: Condition 'pwgt==PGT_SPEED_TIME' is always false [knownConditionTrueFalse] viking-1.11/src/viktrwlayer_propwin.c:4156:32: note: Assignment 'pwgt=PGT_ELEVATION_DISTANCE', assigned value is 0 viking-1.11/src/viktrwlayer_propwin.c:4169:13: note: Condition 'pwgt==PGT_SPEED_TIME' is always false head viking-1.11/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.11/src/viktrwlayer_propwin.c:4516:5: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_propwin.c:4240:48: note: Parameter 'widget' can be declared as pointer to const head viking-1.11/src/viktrwlayer_propwin.c:4259:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:4276:22: style: Variable 'tp1' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer_propwin.c:4321:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_propwin.c:4321:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_propwin.c:4321:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/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.11/src/viktrwlayer_propwin.h:56:57: note: Function 'vik_trw_layer_propwin_main_refresh' argument 1 names different: declaration 'vtl' definition 'vl'. viking-1.11/src/viktrwlayer_propwin.c:4349:57: note: Function 'vik_trw_layer_propwin_main_refresh' argument 1 names different: declaration 'vtl' definition 'vl'. head viking-1.11/src/viktrwlayer_propwin.c:4352:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:4403:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:4480:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coord [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:489:69: style: Parameter 'trackpoint' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_propwin.c:491:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:511:54: style: Parameter 'tr' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_propwin.c:511:73: style: Parameter 'trackpoint' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_propwin.c:513:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:562:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:577:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_GRAVITY_STATIC [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:599:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:646:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:819:57: style: Parameter 'widgets' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_propwin.c:838:70: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_propwin.c:85:12: style: struct member '_propsaved::saved' is never used. [unusedStructMember] head viking-1.11/src/viktrwlayer_propwin.c:864:14: style: Variable 'graph_box' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer_propwin.c:865:14: style: Variable 'pc' is assigned a value that is never used. [unreadVariable] head viking-1.11/src/viktrwlayer_propwin.c:865:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_propwin.c:909:67: style: Parameter 'event_box' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_propwin.c:909:91: style: Parameter 'widgets' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_propwin.c:966:72: style: Parameter 'trackpoint' can be declared as pointer to const [constParameterPointer] head viking-1.11/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.11/src/viktrwlayer_propwin.c:2722:34: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_propwin.c:995:54: note: Parameter 'trackpoint' can be declared as pointer to const head viking-1.11/src/viktrwlayer_tpwin.c:162:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_tpwin.c:172:36: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_tpwin.c:172:76: style: Parameter 'tpwin' can be declared as pointer to const [constParameterPointer] head viking-1.11/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.11/src/viktrwlayer_tpwin.c:311:3: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_tpwin.c:185:72: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/viktrwlayer_tpwin.c:259:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_GRAVITY_STATIC [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_tpwin.c:310:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RELIEF_NONE [valueFlowBailoutIncompleteVar] head viking-1.11/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] head viking-1.11/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] head viking-1.11/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] head viking-1.11/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] head viking-1.11/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] head viking-1.11/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] head viking-1.11/src/viktrwlayer_tpwin.c:483:70: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_tpwin.c:496:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_tpwin.c:517:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_tpwin.c:608:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_tpwin.c:608:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_tpwin.c:75:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_DIALOG [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_tracklist.c:153:12: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer_tracklist.c:163:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_tracklist.c:179:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_tracklist.c:240:4: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_tracklist.c:245:4: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_tracklist.c:272:43: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_tracklist.c:272:60: style: Parameter 'tree_view' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_tracklist.c:346:11: style: Variable 'trkf' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer_tracklist.c:353:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_tracklist.c:422:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_tracklist.c:511:3: error: Memory leak: filter_case [memleak] head viking-1.11/src/viktrwlayer_tracklist.c:53:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_GRAVITY_STATIC [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_tracklist.c:607:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_tracklist.c:733: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] head viking-1.11/src/viktrwlayer_tracklist.c:761: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.11/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.11/src/viktrwlayer_tracklist.c:761:54: note: Function 'vik_trw_layer_track_list_show_dialog' argument 5 names different: declaration 'is_aggregate' definition 'show_layer_names'. head viking-1.11/src/viktrwlayer_tracklist.c:764:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_waypointlist.c:158:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_waypointlist.c:173:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_waypointlist.c:201:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_waypointlist.c:249:135: error: Uninitialized struct member: ll.lat [uninitStructMember] head viking-1.11/src/viktrwlayer_waypointlist.c:249:148: error: Uninitialized struct member: ll.lon [uninitStructMember] head viking-1.11/src/viktrwlayer_waypointlist.c:293:44: style: Parameter 'menu' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_waypointlist.c:293:61: style: Parameter 'tree_view' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_waypointlist.c:377:11: style: Variable 'wptf' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer_waypointlist.c:381:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_waypointlist.c:453:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_waypointlist.c:495:3: error: Memory leak: filter_case [memleak] head viking-1.11/src/viktrwlayer_waypointlist.c:54:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_GRAVITY_STATIC [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_waypointlist.c:570:61: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'format_elev_cell_data_func' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/viktrwlayer_waypointlist.c:671:62: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_waypointlist.c:570:61: note: Parameter 'user_data' can be declared as pointer to const head viking-1.11/src/viktrwlayer_waypointlist.c:626:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/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] head viking-1.11/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.11/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.11/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'. head viking-1.11/src/viktrwlayer_waypointlist.c:742:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_wpwin.c:148:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_wpwin.c:235:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/viktrwlayer_wpwin.c:278:101: style: Parameter 'default_name' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/viktrwlayer_wpwin.c:310:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_APPLY [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_wpwin.c:50:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/viktrwlayer_wpwin.c:571:12: style: Variable 'cmt' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/viktrwlayer_wpwin.c:59:36: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] head viking-1.11/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.11/src/viktrwlayer_wpwin.c:362:5: note: You might need to cast the function pointer here viking-1.11/src/viktrwlayer_wpwin.c:71:66: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/viktrwlayer_wpwin.c:739:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikutils.c:1233:58: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikutils.c:1285:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikutils.c:1419:77: style: Parameter 'order' can be declared as pointer to const. However it seems that 'sort_hash_compare' is a callback function, if 'order' is declared with const you might also need to cast function pointer(s). [constParameterCallback] viking-1.11/src/vikutils.c:1487:35: note: You might need to cast the function pointer here viking-1.11/src/vikutils.c:1419:77: note: Parameter 'order' can be declared as pointer to const head viking-1.11/src/vikutils.c:1421:16: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikutils.c:1422:16: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikutils.c:1467:16: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/vikutils.c:1467:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikutils.c:1496:9: style: Variable 'txt' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikutils.c:1504:44: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikutils.c:1506:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikutils.c:1526:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikutils.c:342:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikutils.c:421:3: error: Return value of allocation function 'g_thread_try_new' is not stored. [leakReturnValNotUsed] head viking-1.11/src/vikutils.c:437:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikutils.c:50:121: style: Parameter 'trk' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikutils.c:50:49: style: Parameter 'format_code' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikutils.c:519:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikutils.c:553:13: style: Variable 'pt' can be declared as const array [constVariable] head viking-1.11/src/vikutils.c:570:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikutils.c:601:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikutils.c:601:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikutils.c:620:32: style: Parameter 'a1' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikutils.c:620:44: style: Parameter 'a2' can be declared as pointer to const [constParameterPointer] head viking-1.11/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] head viking-1.11/src/vikutils.c:645:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikutils.c:64:13: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] head viking-1.11/src/vikutils.c:719:97: style:inconclusive: Function 'vu_get_time_string' argument 4 names different: declaration 'gtz' definition 'tz'. [funcArgNamesDifferent] viking-1.11/src/vikutils.h:39:97: note: Function 'vu_get_time_string' argument 4 names different: declaration 'gtz' definition 'tz'. viking-1.11/src/vikutils.c:719:97: note: Function 'vu_get_time_string' argument 4 names different: declaration 'gtz' definition 'tz'. head viking-1.11/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] head viking-1.11/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] head viking-1.11/src/vikutils.c:784:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikutils.c:908:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikutils.c:914:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikutils.c:961:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikviewport.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] head viking-1.11/src/vikviewport.c:1001:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_CONTENT_COLOR_ALPHA [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikviewport.c:1053:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MININT [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikviewport.c:1091:56: style:inconclusive: Function 'vik_viewport_set_zoom' argument 2 names different: declaration 'mpp' definition 'xympp'. [funcArgNamesDifferent] viking-1.11/src/vikviewport.h:78:56: note: Function 'vik_viewport_set_zoom' argument 2 names different: declaration 'mpp' definition 'xympp'. viking-1.11/src/vikviewport.c:1091:56: note: Function 'vik_viewport_set_zoom' argument 2 names different: declaration 'mpp' definition 'xympp'. head viking-1.11/src/vikviewport.c:1143:46: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikviewport.c:1150:46: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikviewport.c:1155:46: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikviewport.c:1274:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikviewport.c:1315:13: style: Variable 'center' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikviewport.c:1339:13: style: Variable 'new_center' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikviewport.c:1360:13: style: Variable 'new_center' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikviewport.c:1506:43: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikviewport.c:1512:44: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikviewport.c:1568:17: style: Variable 'center' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikviewport.c:1569:17: style: Variable 'utm' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikviewport.c:1580:20: style: Variable 'center' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikviewport.c:1581:20: style: Variable 'll' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikviewport.c:1621:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT16 [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikviewport.c:1676:44: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikviewport.c:1699:49: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikviewport.c:171:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikviewport.c:1779:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikviewport.c:1900:50: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikviewport.c:1905:46: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikviewport.c:1928:62: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikviewport.c:195:45: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikviewport.c:2019:13: style: Variable 'found' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikviewport.c:2041:16: style: Variable 'found' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikviewport.c:2042:16: style: Condition 'found==NULL' is always true [knownConditionTrueFalse] viking-1.11/src/vikviewport.c:2041:24: note: Assignment 'found=NULL', assigned value is 0 viking-1.11/src/vikviewport.c:2042:16: note: Condition 'found==NULL' is always true head viking-1.11/src/vikviewport.c:214:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikviewport.c:217:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikviewport.c:317:62: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikviewport.c:323:63: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikviewport.c:330:73: style:inconclusive: Function 'vik_viewport_set_background_color' argument 2 names different: declaration 'color' definition 'colorname'. [funcArgNamesDifferent] viking-1.11/src/vikviewport.h:160:73: note: Function 'vik_viewport_set_background_color' argument 2 names different: declaration 'color' definition 'colorname'. viking-1.11/src/vikviewport.c:330:73: note: Function 'vik_viewport_set_background_color' argument 2 names different: declaration 'color' definition 'colorname'. head viking-1.11/src/vikviewport.c:338:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikviewport.c:351:61: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikviewport.c:357:62: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikviewport.c:364:72: style:inconclusive: Function 'vik_viewport_set_highlight_color' argument 2 names different: declaration 'color' definition 'colorname'. [funcArgNamesDifferent] viking-1.11/src/vikviewport.h:168:72: note: Function 'vik_viewport_set_highlight_color' argument 2 names different: declaration 'color' definition 'colorname'. viking-1.11/src/vikviewport.c:364:72: note: Function 'vik_viewport_set_highlight_color' argument 2 names different: declaration 'color' definition 'colorname'. head viking-1.11/src/vikviewport.c:382:53: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikviewport.c:387:58: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikviewport.c:430:49: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikviewport.c:472:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikviewport.c:521:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikviewport.c:533:63: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikviewport.c:574:48: style:inconclusive: Function 'vik_viewport_configure' argument 1 names different: declaration 'vp' definition 'vvp'. [funcArgNamesDifferent] viking-1.11/src/vikviewport.h:65:48: note: Function 'vik_viewport_configure' argument 1 names different: declaration 'vp' definition 'vvp'. viking-1.11/src/vikviewport.c:574:48: note: Function 'vik_viewport_configure' argument 1 names different: declaration 'vp' definition 'vvp'. head viking-1.11/src/vikviewport.c:605:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikviewport.c:723:53: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikviewport.c:810:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_desc [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikviewport.c:875:12: style: Variable 'copyright' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikviewport.c:890:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_desc [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikviewport.c:917:58: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikviewport.c:970:57: style: Parameter 'vvp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwaypoint.c:214:19: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikwaypoint.c:338:52: style: Parameter 'wp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwaypoint.c:344:114: style: Parameter 'ext_end' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwaypoint.c:344:43: style: Parameter 'wp' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwaypoint.c:344:96: style: Parameter 'ext_start' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwaypoint.c:365:16: style: Local variable 'key' shadows outer argument [shadowArgument] viking-1.11/src/vikwaypoint.c:344:84: note: Shadowed declaration viking-1.11/src/vikwaypoint.c:365:16: note: Shadow variable head viking-1.11/src/vikwaypoint.c:365:21: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/vikwaypoint.c:365:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwaypoint.c:38:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwaypoint.c:441:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwaypoint.c:554:69: style:inconclusive: Function 'vik_waypoint_marshall' argument 3 names different: declaration 'len' definition 'datalen'. [funcArgNamesDifferent] viking-1.11/src/vikwaypoint.h:103:69: note: Function 'vik_waypoint_marshall' argument 3 names different: declaration 'len' definition 'datalen'. viking-1.11/src/vikwaypoint.c:554:69: note: Function 'vik_waypoint_marshall' argument 3 names different: declaration 'len' definition 'datalen'. head viking-1.11/src/vikwaypoint.c:584:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] head viking-1.11/src/vikwaypoint.c:584:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwebtool.c:100:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable get_url_at_position [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwebtool.c:64:44: style: Parameter 'vlp' can be declared as pointer to const [constParameterPointer] head viking-1.11/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.11/src/vikwebtool_datasource.c:345:32: note: You might need to cast the function pointer here viking-1.11/src/vikwebtool_datasource.c:154:58: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/src/vikwebtool_datasource.c:224:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikwebtool_datasource.c:230:9: style: Variable 'last_str' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikwebtool_datasource.c:242:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwebtool_datasource.c:267:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwebtool_datasource.c:351:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwebtool_datasource.c:539:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwebtool_datasource.c:551:13: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] head viking-1.11/src/vikwebtool_datasource.c:603:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/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.11/src/vikwebtool_datasource.c:344:32: note: You might need to cast the function pointer here viking-1.11/src/vikwebtool_datasource.c:82:60: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/src/vikwebtoolbounds.c:120:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwebtoolbounds.c:161:52: style:inconclusive: Function 'webtool_bounds_get_url' argument 1 names different: declaration 'vw' definition 'self'. [funcArgNamesDifferent] viking-1.11/src/vikwebtoolbounds.c:39:52: note: Function 'webtool_bounds_get_url' argument 1 names different: declaration 'vw' definition 'self'. viking-1.11/src/vikwebtoolbounds.c:161:52: note: Function 'webtool_bounds_get_url' argument 1 names different: declaration 'vw' definition 'self'. head viking-1.11/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.11/src/vikwebtoolbounds.c:40:64: note: Function 'webtool_bounds_get_url_at_position' argument 1 names different: declaration 'vw' definition 'self'. viking-1.11/src/vikwebtoolbounds.c:189:64: note: Function 'webtool_bounds_get_url_at_position' argument 1 names different: declaration 'vw' definition 'self'. head viking-1.11/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.11/src/vikwebtoolbounds.c:113:33: note: You might need to cast the function pointer here viking-1.11/src/vikwebtoolbounds.c:63:44: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/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.11/src/vikwebtoolbounds.c:114:33: note: You might need to cast the function pointer here viking-1.11/src/vikwebtoolbounds.c:86:42: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/src/vikwebtoolbounds.c:88:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikwebtoolcenter.c:123:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/vikwebtoolcenter.c:134:24: note: You might need to cast the function pointer here viking-1.11/src/vikwebtoolcenter.c:166:56: note: Parameter 'self' can be declared as pointer to const head viking-1.11/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.11/src/vikwebtoolcenter.c:132:37: note: You might need to cast the function pointer here viking-1.11/src/vikwebtoolcenter.c:170:100: note: Parameter 'vc' can be declared as pointer to const head viking-1.11/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.11/src/vikwebtoolcenter.c:43:64: note: Function 'webtool_center_get_url_at_position' argument 1 names different: declaration 'vw' definition 'self'. viking-1.11/src/vikwebtoolcenter.c:170:64: note: Function 'webtool_center_get_url_at_position' argument 1 names different: declaration 'vw' definition 'self'. head viking-1.11/src/vikwebtoolcenter.c:204:52: style:inconclusive: Function 'webtool_center_get_url' argument 1 names different: declaration 'vw' definition 'self'. [funcArgNamesDifferent] viking-1.11/src/vikwebtoolcenter.c:42:52: note: Function 'webtool_center_get_url' argument 1 names different: declaration 'vw' definition 'self'. viking-1.11/src/vikwebtoolcenter.c:204:52: note: Function 'webtool_center_get_url' argument 1 names different: declaration 'vw' definition 'self'. head viking-1.11/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.11/src/vikwebtoolcenter.c:116:33: note: You might need to cast the function pointer here viking-1.11/src/vikwebtoolcenter.c:66:44: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/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.11/src/vikwebtoolcenter.c:117:33: note: You might need to cast the function pointer here viking-1.11/src/vikwebtoolcenter.c:89:42: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/src/vikwebtoolcenter.c:91:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikwebtoolformat.c:132:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/vikwebtoolformat.c:152:23: note: You might need to cast the function pointer here viking-1.11/src/vikwebtoolformat.c:189:56: note: Parameter 'self' can be declared as pointer to const head viking-1.11/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.11/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.11/src/vikwebtoolformat.c:195:64: note: Function 'webtool_format_get_url_at_position' argument order different: declaration 'vw, vwindow, vc' definition 'self, vw, vc' head viking-1.11/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.11/src/vikwebtoolformat.c:150:36: note: You might need to cast the function pointer here viking-1.11/src/vikwebtoolformat.c:195:95: note: Parameter 'vc' can be declared as pointer to const head viking-1.11/src/vikwebtoolformat.c:253:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwebtoolformat.c:265:13: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] head viking-1.11/src/vikwebtoolformat.c:293:52: warning: Function 'webtool_format_get_url' argument order different: declaration 'vw, vwindow' definition 'self, vw' [funcArgOrderDifferent] viking-1.11/src/vikwebtoolformat.c:42:52: note: Function 'webtool_format_get_url' argument order different: declaration 'vw, vwindow' definition 'self, vw' viking-1.11/src/vikwebtoolformat.c:293:52: note: Function 'webtool_format_get_url' argument order different: declaration 'vw, vwindow' definition 'self, vw' head viking-1.11/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.11/src/vikwebtoolformat.c:125:32: note: You might need to cast the function pointer here viking-1.11/src/vikwebtoolformat.c:68:44: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/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.11/src/vikwebtoolformat.c:126:32: note: You might need to cast the function pointer here viking-1.11/src/vikwebtoolformat.c:95:42: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/src/vikwebtoolformat.c:97:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikwindow.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] head viking-1.11/src/vikwindow.c:1004:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:1039:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:1074:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:1132:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:1149:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:1173:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VOLUME_IDENTIFIER_KIND_LABEL [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:1180:59: warning: Either the condition 'id' is redundant or there is possible null pointer dereference: id. [nullPointerRedundantCheck] viking-1.11/src/vikwindow.c:1186:24: note: Assuming that condition 'id' is not redundant viking-1.11/src/vikwindow.c:1180:59: note: Null pointer dereference head viking-1.11/src/vikwindow.c:1202:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VOLUME_IDENTIFIER_KIND_LABEL [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:1210:63: warning: Either the condition 'id' is redundant or there is possible null pointer dereference: id. [nullPointerRedundantCheck] viking-1.11/src/vikwindow.c:1216:41: note: Assuming that condition 'id' is not redundant viking-1.11/src/vikwindow.c:1210:63: note: Null pointer dereference head viking-1.11/src/vikwindow.c:1235:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VOLUME_IDENTIFIER_KIND_LABEL [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:1314:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WATCH [valueFlowBailoutIncompleteVar] head viking-1.11/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] head viking-1.11/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] head viking-1.11/src/vikwindow.c:1413:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikwindow.c:1414:71: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head viking-1.11/src/vikwindow.c:1583:70: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:1591:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:1631:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:1672:10: style: Condition 'vl' is always true [knownConditionTrueFalse] head viking-1.11/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.11/src/vikwindow.c:1430:3: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:1700:52: note: Parameter 'vw' can be declared as pointer to const head viking-1.11/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.11/src/vikwindow.c:1430:3: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:1700:69: note: Parameter 'event' can be declared as pointer to const head viking-1.11/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.11/src/vikwindow.c:1430:3: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:1700:85: note: Parameter 'data' can be declared as pointer to const head viking-1.11/src/vikwindow.c:1712:10: style: Condition 'vl' is always true [knownConditionTrueFalse] head viking-1.11/src/vikwindow.c:1733:20: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikwindow.c:1738:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:1843:109: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tooltip [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:1862:10: style: Variable 'unit' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikwindow.c:1999:66: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:2038:65: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:2165:69: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:2177:20: style: Variable 'gs' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikwindow.c:2230:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SCROLL_UP [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:2238:67: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:2257:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:2310:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SOURCE_TOUCHPAD [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:2406:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_desc [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:2752:63: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:2801:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:2813:62: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:2878:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable font_desc [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:2964:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/vikwindow.c:3068:24: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:2972:76: note: Parameter 'event' can be declared as pointer to const head viking-1.11/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.11/src/vikwindow.c:3407:22: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:2981:51: note: Parameter 'vl' can be declared as pointer to const head viking-1.11/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.11/src/vikwindow.c:3407:22: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:2981:68: note: Parameter 'event' can be declared as pointer to const head viking-1.11/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.11/src/vikwindow.c:3407:22: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:2981:84: note: Parameter 'unused_data' can be declared as pointer to const head viking-1.11/src/vikwindow.c:2984:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Right [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:2996:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Up [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/vikwindow.c:3408:22: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:3019:70: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/vikwindow.c:3023:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:303:46: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:3044:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:308:53: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:3129:74: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:316:54: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] head viking-1.11/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.11/src/vikwindow.c:3339:24: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:3179:77: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/vikwindow.c:3181:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:3228:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/vikwindow.c:3341:24: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:3240:79: note: Parameter 'event' can be declared as pointer to const head viking-1.11/src/vikwindow.c:3242:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:324:50: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] head viking-1.11/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.11/src/vikwindow.c:3400:30: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:3353:61: note: Parameter 'vvp' can be declared as pointer to const head viking-1.11/src/vikwindow.c:3361:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_2BUTTON_PRESS [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:3453:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:3525:49: style: Parameter 'te' can be declared as pointer to const [constParameterPointer] head viking-1.11/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.11/src/vikwindow.c:3782:24: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:3553:59: note: Parameter 'vl' can be declared as pointer to const head viking-1.11/src/vikwindow.c:3555:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_2BUTTON_PRESS [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:3609:20: style: Variable 'gs' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikwindow.c:3634:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_MOD5_MASK [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:3661:22: style: Variable 'gs' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikwindow.c:3669:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_MOD5_MASK [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:3723:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Left [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:3743:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Menu [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:3847:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikwindow.c:4006:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:403:12: style: Variable 'thread' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikwindow.c:427:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:4333:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FORMAT_SIZE_LONG_FORMAT [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:4334:16: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikwindow.c:4569:46: style: Parameter 'vt' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:4573:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:4631:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:4659:140: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:4707:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:4749:54: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:4754:53: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:4766:59: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:4821:47: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:4883:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RECENT_SORT_MRU [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:4900:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:4934:1: error: Memory leak: recent_data [memleak] head viking-1.11/src/vikwindow.c:5035:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:5219:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:5232:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:5301:78: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:5351:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:5414:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:5461:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] head viking-1.11/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] head viking-1.11/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.11/src/vikwindow.c:6599:161: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:5578:44: note: Parameter 'a' can be declared as pointer to const head viking-1.11/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.11/src/vikwindow.c:6599:161: note: You might need to cast the function pointer here viking-1.11/src/vikwindow.c:5578:58: note: Parameter 'vw' can be declared as pointer to const head viking-1.11/src/vikwindow.c:5594:5: error: Memory leak: texts [memleak] head viking-1.11/src/vikwindow.c:5685:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:5745:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:5805:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:5835:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikwindow.c:5835:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikwindow.c:5879:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable] head viking-1.11/src/vikwindow.c:5898:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:5906:7: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikwindow.c:5906:7: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head viking-1.11/src/vikwindow.c:5989:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable viking_vvp [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:6041:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:6057:12: style: Variable 'extension' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikwindow.c:6146:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:6376:54: style:inconclusive: Function 'window_change_coord_mode_cb' argument 1 names different: declaration 'old' definition 'old_a'. [funcArgNamesDifferent] viking-1.11/src/vikwindow.c:140:54: note: Function 'window_change_coord_mode_cb' argument 1 names different: declaration 'old' definition 'old_a'. viking-1.11/src/vikwindow.c:6376:54: note: Function 'window_change_coord_mode_cb' argument 1 names different: declaration 'old' definition 'old_a'. head viking-1.11/src/vikwindow.c:6457:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:6472:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:6722:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_active [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:6881:3: error: Memory leak: action.label [memleak] head viking-1.11/src/vikwindow.c:6881:3: error: Memory leak: action_dl.label [memleak] head viking-1.11/src/vikwindow.c:6881:3: error: Memory leak: action_dl.name [memleak] head viking-1.11/src/vikwindow.c:6961:57: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:6984:57: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:7003:54: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:7023:60: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:7040:56: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:7093:45: style: Parameter 'vw' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:723:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:735:57: style: Parameter 'vl' can be declared as pointer to const [constParameterPointer] head viking-1.11/src/vikwindow.c:749:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:792:117: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] head viking-1.11/src/vikwindow.c:936:14: style: Variable 'str' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikwindow.c:940:15: style: Local variable 'entries' shadows outer variable [shadowVariable] viking-1.11/src/vikwindow.c:6520:23: note: Shadowed declaration viking-1.11/src/vikwindow.c:940:15: note: Shadow variable head viking-1.11/src/vikwmscmapsource.c:143:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vik_wmsc_map_source_parent_class [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/vikwmscmapsource.c:304:31: note: You might need to cast the function pointer here viking-1.11/src/vikwmscmapsource.c:150:51: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/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.11/src/vikwmscmapsource.c:305:34: note: You might need to cast the function pointer here viking-1.11/src/vikwmscmapsource.c:231:49: note: Parameter 'pspec' can be declared as pointer to const head viking-1.11/src/vikwmscmapsource.c:330:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/vikwmscmapsource.c:311:45: note: You might need to cast the function pointer here viking-1.11/src/vikwmscmapsource.c:443:40: note: Parameter 'self' can be declared as pointer to const head viking-1.11/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.11/src/vikwmscmapsource.c:312:34: note: You might need to cast the function pointer here viking-1.11/src/vikwmscmapsource.c:449:29: note: Parameter 'self' can be declared as pointer to const head viking-1.11/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.11/src/vikwmscmapsource.c:313:41: note: You might need to cast the function pointer here viking-1.11/src/vikwmscmapsource.c:455:36: note: Parameter 'self' can be declared as pointer to const head viking-1.11/src/vikwmscmapsource.c:473:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/vikwmscmapsource.c:309:48: note: You might need to cast the function pointer here viking-1.11/src/vikwmscmapsource.c:487:59: note: Parameter 'src' can be declared as pointer to const head viking-1.11/src/vikwmscmapsource.c:500:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head viking-1.11/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.11/src/vikwmscmapsource.c:321:26: note: You might need to cast the function pointer here viking-1.11/src/vikwmscmapsource.c:505:48: note: Parameter 'src' can be declared as pointer to const head viking-1.11/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.11/src/vikwmscmapsource.c:323:39: note: You might need to cast the function pointer here viking-1.11/src/vikwmscmapsource.c:549:61: note: Parameter 'src' can be declared as pointer to const head viking-1.11/src/vikwmscmapsource.c:581:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikwmscmapsource.c:592:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikwmscmapsource.c:603:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikwmscmapsource.c:614:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikwmscmapsource.c:625:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] head viking-1.11/src/vikwmscmapsource.c:636:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] 2.19.0 viking-1.11/test/test_coord_conversion.c:31:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [syntaxError] head viking-1.11/test/test_coord_conversion.c:36:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIK_TYPE_WMSC_MAP_SOURCE [valueFlowBailoutIncompleteVar] head viking-1.11/test/test_coord_conversion.c:9:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIK_COORD_LATLON [valueFlowBailoutIncompleteVar] head viking-1.11/test/test_decimal_output.c:15:27: style: Parameter 'argv' can be declared as const array [constParameter] 2.19.0 viking-1.11/test/test_decimal_output.c:17:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [syntaxError] 2.19.0 viking-1.11/test/test_parse_latlon.c:12:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [syntaxError] head viking-1.11/test/test_parse_latlon.c:24:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] head viking-1.11/test/test_time.c:14:26: style: Parameter 'argv' can be declared as const array [constParameter] 2.19.0 viking-1.11/test/test_time.c:16:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [syntaxError] 2.19.0 viking-1.11/test/vik2vik.c:27:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] head viking-1.11/test/vik2vik.c:55:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOAD_TYPE_VIK_FAILURE_NON_FATAL [valueFlowBailoutIncompleteVar] DONE