2025-05-09 00:56 ftp://ftp.de.debian.org/debian/pool/main/x/xastir/xastir_2.2.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --library=pcre --library=libcurl --library=bsd --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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 66c9938 (2025-05-08 13:55:11 +0200) count: 1295 1295 elapsed-time: 17.7 18.7 head-timing-info: old-timing-info: head results: Xastir-Release-2.2.0/LaCrosse/src/open2300db2APRS.c:883:31: debug: Function::addArguments found argument 'sig' with varid 0. [varid0] Xastir-Release-2.2.0/callpass/callpass.c:35:27: style: Parameter 'theCall' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/Davis/src/db2APRS.c:1162:31: debug: Function::addArguments found argument 'sig' with varid 0. [varid0] Xastir-Release-2.2.0/LaCrosse/src/open2300db2APRS.c:154:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/LaCrosse/src/open2300db2APRS.c:199:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/LaCrosse/src/open2300db2APRS.c:652:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/LaCrosse/src/open2300db2APRS.c:861:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/LaCrosse/src/open2300db2APRS.c:887:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/LaCrosse/src/open2300db2APRS.c:924:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/Davis/src/db2APRS.c:154:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/Davis/src/db2APRS.c:203:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/Davis/src/db2APRS.c:641:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/Davis/src/db2APRS.c:1140:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/Davis/src/db2APRS.c:1166:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/Davis/src/db2APRS.c:1202:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONNECTIONS [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/Davis/src/db2APRS.c:518:9: error: fprintf format string requires 1 parameter but only 0 are given. [wrongPrintfScanfArgNum] Xastir-Release-2.2.0/Davis/src/db2APRS.c:527:9: error: fprintf format string requires 1 parameter but only 0 are given. [wrongPrintfScanfArgNum] Xastir-Release-2.2.0/Davis/src/db2APRS.c:566:9: error: fprintf format string requires 1 parameter but only 0 are given. [wrongPrintfScanfArgNum] Xastir-Release-2.2.0/Davis/src/db2APRS.c:574:9: error: fprintf format string requires 1 parameter but only 0 are given. [wrongPrintfScanfArgNum] Xastir-Release-2.2.0/LaCrosse/src/open2300db2APRS.c:477:9: error: fprintf format string requires 1 parameter but only 0 are given. [wrongPrintfScanfArgNum] Xastir-Release-2.2.0/LaCrosse/src/open2300db2APRS.c:486:9: error: fprintf format string requires 1 parameter but only 0 are given. [wrongPrintfScanfArgNum] Xastir-Release-2.2.0/LaCrosse/src/open2300db2APRS.c:525:9: error: fprintf format string requires 1 parameter but only 0 are given. [wrongPrintfScanfArgNum] Xastir-Release-2.2.0/LaCrosse/src/open2300db2APRS.c:534:9: error: fprintf format string requires 1 parameter but only 0 are given. [wrongPrintfScanfArgNum] Xastir-Release-2.2.0/Davis/src/db2APRS.c:1331:15: warning: If resource allocation fails, then there is a possible null pointer dereference: pidfile [nullPointerOutOfResources] Xastir-Release-2.2.0/Davis/src/db2APRS.c:1330:22: note: Assuming allocation function fails Xastir-Release-2.2.0/Davis/src/db2APRS.c:1330:22: note: Assignment 'pidfile=fopen(pidfilename,"w")', assigned value is 0 Xastir-Release-2.2.0/Davis/src/db2APRS.c:1331:15: note: Null pointer dereference Xastir-Release-2.2.0/Davis/src/db2APRS.c:1332:14: warning: If resource allocation fails, then there is a possible null pointer dereference: pidfile [nullPointerOutOfResources] Xastir-Release-2.2.0/Davis/src/db2APRS.c:1330:22: note: Assuming allocation function fails Xastir-Release-2.2.0/Davis/src/db2APRS.c:1330:22: note: Assignment 'pidfile=fopen(pidfilename,"w")', assigned value is 0 Xastir-Release-2.2.0/Davis/src/db2APRS.c:1332:14: note: Null pointer dereference Xastir-Release-2.2.0/LaCrosse/src/open2300db2APRS.c:934:17: style: Variable 'longopt' can be declared as const array [constVariable] Xastir-Release-2.2.0/Davis/src/db2APRS.c:182:20: style: Parameter 'datetime' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/Davis/src/db2APRS.c:1216:17: style: Variable 'longopt' can be declared as const array [constVariable] Xastir-Release-2.2.0/Davis/src/db2APRS.c:1340:17: error: Uninitialized variable: ss [uninitvar] Xastir-Release-2.2.0/Davis/src/db2APRS.c:245:19: error: Uninitialized variable: pbuf [legacyUninitvar] Xastir-Release-2.2.0/src/color.c:83:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/color.c:159:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixel [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/color.c:187:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VisualNoMask [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/bulletin_gui.c:134:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/bulletin_gui.c:298:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/bulletin_gui.c:356:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/bulletin_gui.c:464:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/bulletin_gui.c:564:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/bulletin_gui.c:671:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/bulletin_gui.c:128:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Xastir-Release-2.2.0/src/bulletin_gui.c:512:34: style:inconclusive: Function 'check_for_new_bulletins' argument 1 names different: declaration 'current_sec' definition 'curr_sec'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/bulletin_gui.h:33:41: note: Function 'check_for_new_bulletins' argument 1 names different: declaration 'current_sec' definition 'curr_sec'. Xastir-Release-2.2.0/src/bulletin_gui.c:512:34: note: Function 'check_for_new_bulletins' argument 1 names different: declaration 'current_sec' definition 'curr_sec'. Xastir-Release-2.2.0/src/bulletin_gui.c:654:23: style:inconclusive: Function 'Bulletins' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:385:30: note: Function 'Bulletins' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/bulletin_gui.c:654:23: note: Function 'Bulletins' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/bulletin_gui.c:654:44: style:inconclusive: Function 'Bulletins' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:385:43: note: Function 'Bulletins' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/bulletin_gui.c:654:44: note: Function 'Bulletins' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/bulletin_gui.c:654:74: style:inconclusive: Function 'Bulletins' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:385:65: note: Function 'Bulletins' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/bulletin_gui.c:654:74: note: Function 'Bulletins' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/bulletin_gui.c:260:30: style: Parameter 'seq' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/bulletin_gui.c:347:53: style: Parameter 'packet_message' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/bulletin_gui.c:634:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/bulletin_gui.c:635:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/bulletin_gui.c:262:16: style: Variable 'distance' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/alert.c:491:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/alert.c:530:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/alert.c:697:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/alert.c:787:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/alert.c:913:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/alert.c:977:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/alert.c:1033:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/alert.c:1172:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/color.c:183:30: style: Variable 'vp' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/color.c:229:28: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] Xastir-Release-2.2.0/src/color.c:227:22: note: Assignment 'j=31', assigned value is 31 Xastir-Release-2.2.0/src/color.c:229:28: note: Shift Xastir-Release-2.2.0/src/color.c:237:28: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] Xastir-Release-2.2.0/src/color.c:235:22: note: Assignment 'j=31', assigned value is 31 Xastir-Release-2.2.0/src/color.c:237:28: note: Shift Xastir-Release-2.2.0/src/color.c:245:28: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] Xastir-Release-2.2.0/src/color.c:243:22: note: Assignment 'j=31', assigned value is 31 Xastir-Release-2.2.0/src/color.c:245:28: note: Shift Xastir-Release-2.2.0/src/datum.c:922:3: style: Variable 'y' is assigned an expression that holds the same value. [redundantAssignment] Xastir-Release-2.2.0/src/datum.c:823:5: note: y is assigned 'utmNorthing' here. Xastir-Release-2.2.0/src/datum.c:838:14: note: Assuming condition is false Xastir-Release-2.2.0/src/datum.c:922:3: note: Variable 'y' is assigned an expression that holds the same value. Xastir-Release-2.2.0/src/datum.c:585:18: style: Local variable 'k0' shadows outer variable [shadowVariable] Xastir-Release-2.2.0/src/datum.c:500:10: note: Shadowed declaration Xastir-Release-2.2.0/src/datum.c:585:18: note: Shadow variable Xastir-Release-2.2.0/src/datum.c:852:18: style: Local variable 'k0' shadows outer variable [shadowVariable] Xastir-Release-2.2.0/src/datum.c:799:10: note: Shadowed declaration Xastir-Release-2.2.0/src/datum.c:852:18: note: Shadow variable Xastir-Release-2.2.0/src/dlm.c:424:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/dlm.c:613:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/dlm.c:1060:4: warning: Either the condition 'p' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] Xastir-Release-2.2.0/src/dlm.c:1056:10: note: Assuming that condition 'p' is not redundant Xastir-Release-2.2.0/src/dlm.c:1060:4: note: Null pointer subtraction Xastir-Release-2.2.0/src/dlm.c:1004:18: style: Parameter 'url' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/draw_symbols.c:700:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/draw_symbols.c:830:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FillStippled [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/draw_symbols.c:1209:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/draw_symbols.c:1255:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/draw_symbols.c:1374:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/draw_symbols.c:1887:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FillSolid [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/draw_symbols.c:2396:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/draw_symbols.c:2765:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/draw_symbols.c:3219:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LineSolid [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/draw_symbols.c:3535:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:273:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:437:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:569:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:985:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:1125:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:1249:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:1320:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:1570:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:1752:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:2155:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:2172:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:2567:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:2800:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:3048:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:3922:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:3961:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNwidth [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:4258:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:4324:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:4600:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:4901:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:4939:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:5148:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNx [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:5191:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNx [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:6416:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:7211:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNitemCount [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:7370:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:7573:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:7727:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:8300:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:8608:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:8748:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:8932:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:8971:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:9180:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:9841:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:9948:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:10103:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:10196:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:10392:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:10508:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:11374:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:11529:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:11874:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:12673:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:13155:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:13379:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:13594:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:13872:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:14057:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:14136:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:16338:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:16537:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:16686:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNcursorPosition [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:16927:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:17489:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:17724:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:18072:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:18159:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:18219:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:18338:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:19492:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:19592:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:20323:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:20373:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:20725:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:20986:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:21161:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:21809:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:21970:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:22199:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:22353:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/draw_symbols.c:128:23: warning: Either the condition 'xfs_ptr' is redundant or there is possible null pointer dereference: xfs_ptr. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/draw_symbols.c:211:7: note: Assuming that condition 'xfs_ptr' is not redundant Xastir-Release-2.2.0/src/draw_symbols.c:128:23: note: Null pointer dereference Xastir-Release-2.2.0/src/draw_symbols.c:129:25: warning: Either the condition 'xfs_ptr' is redundant or there is possible null pointer dereference: xfs_ptr. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/draw_symbols.c:211:7: note: Assuming that condition 'xfs_ptr' is not redundant Xastir-Release-2.2.0/src/draw_symbols.c:129:25: note: Null pointer dereference Xastir-Release-2.2.0/src/draw_symbols.c:130:25: warning: Either the condition 'xfs_ptr' is redundant or there is possible null pointer dereference: xfs_ptr. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/draw_symbols.c:211:7: note: Assuming that condition 'xfs_ptr' is not redundant Xastir-Release-2.2.0/src/draw_symbols.c:130:25: note: Null pointer dereference Xastir-Release-2.2.0/src/draw_symbols.c:131:25: warning: Either the condition 'xfs_ptr' is redundant or there is possible null pointer dereference: xfs_ptr. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/draw_symbols.c:211:7: note: Assuming that condition 'xfs_ptr' is not redundant Xastir-Release-2.2.0/src/draw_symbols.c:131:25: note: Null pointer dereference Xastir-Release-2.2.0/src/draw_symbols.c:133:17: warning: Either the condition 'xfs_ptr' is redundant or there is possible null pointer dereference: xfs_ptr. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/draw_symbols.c:211:7: note: Assuming that condition 'xfs_ptr' is not redundant Xastir-Release-2.2.0/src/draw_symbols.c:133:17: note: Null pointer dereference Xastir-Release-2.2.0/src/draw_symbols.c:134:19: warning: Either the condition 'xfs_ptr' is redundant or there is possible null pointer dereference: xfs_ptr. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/draw_symbols.c:211:7: note: Assuming that condition 'xfs_ptr' is not redundant Xastir-Release-2.2.0/src/draw_symbols.c:134:19: note: Null pointer dereference Xastir-Release-2.2.0/src/draw_symbols.c:2882:23: warning: Either the condition 'xfs_ptr' is redundant or there is possible null pointer dereference: xfs_ptr. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/draw_symbols.c:2891:7: note: Assuming that condition 'xfs_ptr' is not redundant Xastir-Release-2.2.0/src/draw_symbols.c:2882:23: note: Null pointer dereference Xastir-Release-2.2.0/src/draw_symbols.c:2883:25: warning: Either the condition 'xfs_ptr' is redundant or there is possible null pointer dereference: xfs_ptr. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/draw_symbols.c:2891:7: note: Assuming that condition 'xfs_ptr' is not redundant Xastir-Release-2.2.0/src/draw_symbols.c:2883:25: note: Null pointer dereference Xastir-Release-2.2.0/src/draw_symbols.c:2884:25: warning: Either the condition 'xfs_ptr' is redundant or there is possible null pointer dereference: xfs_ptr. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/draw_symbols.c:2891:7: note: Assuming that condition 'xfs_ptr' is not redundant Xastir-Release-2.2.0/src/draw_symbols.c:2884:25: note: Null pointer dereference Xastir-Release-2.2.0/src/draw_symbols.c:2885:25: warning: Either the condition 'xfs_ptr' is redundant or there is possible null pointer dereference: xfs_ptr. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/draw_symbols.c:2891:7: note: Assuming that condition 'xfs_ptr' is not redundant Xastir-Release-2.2.0/src/draw_symbols.c:2885:25: note: Null pointer dereference Xastir-Release-2.2.0/src/draw_symbols.c:2888:17: warning: Either the condition 'xfs_ptr' is redundant or there is possible null pointer dereference: xfs_ptr. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/draw_symbols.c:2891:7: note: Assuming that condition 'xfs_ptr' is not redundant Xastir-Release-2.2.0/src/draw_symbols.c:2888:17: note: Null pointer dereference Xastir-Release-2.2.0/src/draw_symbols.c:839:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Xastir-Release-2.2.0/src/draw_symbols.c:843:9: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/draw_symbols.c:839:9: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/draw_symbols.c:850:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Xastir-Release-2.2.0/src/draw_symbols.c:854:9: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/draw_symbols.c:850:9: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/draw_symbols.c:861:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Xastir-Release-2.2.0/src/draw_symbols.c:865:9: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/draw_symbols.c:861:9: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/draw_symbols.c:872:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Xastir-Release-2.2.0/src/draw_symbols.c:876:9: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/draw_symbols.c:872:9: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/draw_symbols.c:883:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Xastir-Release-2.2.0/src/draw_symbols.c:887:9: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/draw_symbols.c:883:9: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/draw_symbols.c:894:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Xastir-Release-2.2.0/src/draw_symbols.c:898:9: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/draw_symbols.c:894:9: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/draw_symbols.c:905:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Xastir-Release-2.2.0/src/draw_symbols.c:909:9: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/draw_symbols.c:905:9: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/draw_symbols.c:916:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Xastir-Release-2.2.0/src/draw_symbols.c:920:9: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/draw_symbols.c:916:9: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/draw_symbols.c:927:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Xastir-Release-2.2.0/src/draw_symbols.c:931:9: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/draw_symbols.c:927:9: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/draw_symbols.c:939:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Xastir-Release-2.2.0/src/draw_symbols.c:943:9: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/draw_symbols.c:939:9: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/draw_symbols.c:254:26: style:inconclusive: Function 'draw_WP_line' argument 6 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/draw_symbols.h:55:139: note: Function 'draw_WP_line' argument 6 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/draw_symbols.c:254:26: note: Function 'draw_WP_line' argument 6 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/draw_symbols.c:486:38: style:inconclusive: Function 'draw_precision_rectangle' argument 3 names different: declaration 'range' definition 'UNUSED_range'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/draw_symbols.h:60:70: note: Function 'draw_precision_rectangle' argument 3 names different: declaration 'range' definition 'UNUSED_range'. Xastir-Release-2.2.0/src/draw_symbols.c:486:38: note: Function 'draw_precision_rectangle' argument 3 names different: declaration 'range' definition 'UNUSED_range'. Xastir-Release-2.2.0/src/draw_symbols.c:1495:49: style:inconclusive: Function 'draw_bearing' argument 6 names different: declaration 'color' definition 'UNUSED_color'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/draw_symbols.h:65:95: note: Function 'draw_bearing' argument 6 names different: declaration 'color' definition 'UNUSED_color'. Xastir-Release-2.2.0/src/draw_symbols.c:1495:49: note: Function 'draw_bearing' argument 6 names different: declaration 'color' definition 'UNUSED_color'. Xastir-Release-2.2.0/src/draw_symbols.c:1664:116: style:inconclusive: Function 'draw_ambiguity' argument 7 names different: declaration 'where' definition 'UNUSED_where'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/draw_symbols.h:66:123: note: Function 'draw_ambiguity' argument 7 names different: declaration 'where' definition 'UNUSED_where'. Xastir-Release-2.2.0/src/draw_symbols.c:1664:116: note: Function 'draw_ambiguity' argument 7 names different: declaration 'where' definition 'UNUSED_where'. Xastir-Release-2.2.0/src/draw_symbols.c:2637:58: style:inconclusive: Function 'symbol' argument 10 names different: declaration 'rotate' definition 'orient'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/draw_symbols.h:52:155: note: Function 'symbol' argument 10 names different: declaration 'rotate' definition 'orient'. Xastir-Release-2.2.0/src/draw_symbols.c:2637:58: note: Function 'symbol' argument 10 names different: declaration 'rotate' definition 'orient'. Xastir-Release-2.2.0/src/draw_symbols.c:2857:23: style:inconclusive: Function 'draw_symbol' argument 5 names different: declaration 'x_lon' definition 'x_long'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/draw_symbols.h:57:96: note: Function 'draw_symbol' argument 5 names different: declaration 'x_lon' definition 'x_long'. Xastir-Release-2.2.0/src/draw_symbols.c:2857:23: note: Function 'draw_symbol' argument 5 names different: declaration 'x_lon' definition 'x_long'. Xastir-Release-2.2.0/src/draw_symbols.c:2860:23: style:inconclusive: Function 'draw_symbol' argument 18 names different: declaration 'rotate' definition 'orient'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/draw_symbols.h:57:317: note: Function 'draw_symbol' argument 18 names different: declaration 'rotate' definition 'orient'. Xastir-Release-2.2.0/src/draw_symbols.c:2860:23: note: Function 'draw_symbol' argument 18 names different: declaration 'rotate' definition 'orient'. Xastir-Release-2.2.0/src/draw_symbols.c:3252:28: style:inconclusive: Function 'draw_multipoints' argument 1 names different: declaration 'x_long' definition 'UNUSED_x_long'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/draw_symbols.h:68:35: note: Function 'draw_multipoints' argument 1 names different: declaration 'x_long' definition 'UNUSED_x_long'. Xastir-Release-2.2.0/src/draw_symbols.c:3252:28: note: Function 'draw_multipoints' argument 1 names different: declaration 'x_long' definition 'UNUSED_x_long'. Xastir-Release-2.2.0/src/draw_symbols.c:3252:49: style:inconclusive: Function 'draw_multipoints' argument 2 names different: declaration 'y_lat' definition 'UNUSED_y_lat'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/draw_symbols.h:68:48: note: Function 'draw_multipoints' argument 2 names different: declaration 'y_lat' definition 'UNUSED_y_lat'. Xastir-Release-2.2.0/src/draw_symbols.c:3252:49: note: Function 'draw_multipoints' argument 2 names different: declaration 'y_lat' definition 'UNUSED_y_lat'. Xastir-Release-2.2.0/src/draw_symbols.c:3252:84: style:inconclusive: Function 'draw_multipoints' argument 4 names different: declaration 'points' definition 'mypoints'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/draw_symbols.h:68:75: note: Function 'draw_multipoints' argument 4 names different: declaration 'points' definition 'mypoints'. Xastir-Release-2.2.0/src/draw_symbols.c:3252:84: note: Function 'draw_multipoints' argument 4 names different: declaration 'points' definition 'mypoints'. Xastir-Release-2.2.0/src/draw_symbols.c:3439:42: style:inconclusive: Function 'Select_symbol_destroy_shell' argument 1 names different: declaration 'widget' definition 'UNUSED_widget'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/draw_symbols.h:72:49: note: Function 'Select_symbol_destroy_shell' argument 1 names different: declaration 'widget' definition 'UNUSED_widget'. Xastir-Release-2.2.0/src/draw_symbols.c:3439:42: note: Function 'Select_symbol_destroy_shell' argument 1 names different: declaration 'widget' definition 'UNUSED_widget'. Xastir-Release-2.2.0/src/draw_symbols.c:3439:90: style:inconclusive: Function 'Select_symbol_destroy_shell' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/draw_symbols.h:72:89: note: Function 'Select_symbol_destroy_shell' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/draw_symbols.c:3439:90: note: Function 'Select_symbol_destroy_shell' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/draw_symbols.c:3519:28: style:inconclusive: Function 'Select_symbol' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/draw_symbols.h:69:35: note: Function 'Select_symbol' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/draw_symbols.c:3519:28: note: Function 'Select_symbol' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/draw_symbols.c:3519:49: style:inconclusive: Function 'Select_symbol' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/draw_symbols.h:69:48: note: Function 'Select_symbol' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/draw_symbols.c:3519:49: note: Function 'Select_symbol' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/draw_symbols.c:3519:79: style:inconclusive: Function 'Select_symbol' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/draw_symbols.h:69:70: note: Function 'Select_symbol' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/draw_symbols.c:3519:79: note: Function 'Select_symbol' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/draw_symbols.c:3468:8: style: Local variable 'symbol' shadows outer function [shadowFunction] Xastir-Release-2.2.0/src/draw_symbols.h:52:13: note: Shadowed declaration Xastir-Release-2.2.0/src/draw_symbols.c:3468:8: note: Shadow variable Xastir-Release-2.2.0/src/draw_symbols.c:555:9: style: Variable 'strp' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/draw_symbols.c:729:52: style: Parameter 'shgd' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/draw_symbols.c:1283:52: style: Parameter 'speed' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/draw_symbols.c:1494:50: style: Parameter 'course' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/draw_symbols.c:1495:25: style: Parameter 'bearing' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/draw_symbols.c:1495:40: style: Parameter 'NRQ' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/draw_symbols.c:2122:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/draw_symbols.c:2416:51: style: Parameter 'pixel' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/draw_symbols.c:2576:26: style: Parameter 'course' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/draw_symbols.c:3252:84: style: Parameter 'mypoints' can be declared as const array [constParameter] Xastir-Release-2.2.0/src/alert.c:1361:50: style:inconclusive: Boolean expression 'strncmp(fill->call_sign,"NWS_",4)==0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] Xastir-Release-2.2.0/src/alert.c:1362:51: style:inconclusive: Boolean expression 'strncmp(fill->call_sign,"NWS-",4)==0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] Xastir-Release-2.2.0/src/alert.c:930:51: style: Array index 'level' is used before limits check. [arrayIndexThenCheck] Xastir-Release-2.2.0/src/draw_symbols.c:354:15: style: Variable 'my_course' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/draw_symbols.c:359:15: style: Variable 'my_course' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/draw_symbols.c:364:15: style: Variable 'my_course' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/alert.c:711:11: style: Condition 'iterator' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/alert.c:742:11: style: Condition 'temp' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/alert.c:742:19: style: Condition 'iterator' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/alert.c:751:7: style: Condition 'iterator' is always false [knownConditionTrueFalse] Xastir-Release-2.2.0/src/alert.c:701:10: note: Assuming that condition 'iterator' is not redundant Xastir-Release-2.2.0/src/alert.c:751:7: note: Condition 'iterator' is always false Xastir-Release-2.2.0/src/alert.c:1388:13: warning:inconclusive: Width 255 given in format string (no. 3) is smaller than destination buffer 'compressed_wx[512]'. [invalidScanfFormatWidth_smaller] Xastir-Release-2.2.0/src/alert.c:1771:13: warning:inconclusive: Width 255 given in format string (no. 3) is smaller than destination buffer 'compressed_wx[512]'. [invalidScanfFormatWidth_smaller] Xastir-Release-2.2.0/src/draw_symbols.c:1499:16: style: Variable 'range' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/draw_symbols.c:2347:15: style: Variable 'symbol_char' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/alert.c:901:56: style:inconclusive: Function 'alert_active' argument 2 names different: declaration 'match_level' definition 'UNUSED_match_level'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/alert.h:85:63: note: Function 'alert_active' argument 2 names different: declaration 'match_level' definition 'UNUSED_match_level'. Xastir-Release-2.2.0/src/alert.c:901:56: note: Function 'alert_active' argument 2 names different: declaration 'match_level' definition 'UNUSED_match_level'. Xastir-Release-2.2.0/src/alert.c:380:16: style: Local variable 'hash' shadows outer function [shadowFunction] Xastir-Release-2.2.0/src/hashtable_private.h:34:1: note: Shadowed declaration Xastir-Release-2.2.0/src/alert.c:380:16: note: Shadow variable Xastir-Release-2.2.0/src/alert.c:1367:13: style: Local variable 'ptr' shadows outer variable [shadowVariable] Xastir-Release-2.2.0/src/alert.c:1160:9: note: Shadowed declaration Xastir-Release-2.2.0/src/alert.c:1367:13: note: Shadow variable Xastir-Release-2.2.0/src/alert.c:1750:13: style: Local variable 'ptr' shadows outer variable [shadowVariable] Xastir-Release-2.2.0/src/alert.c:1160:9: note: Shadowed declaration Xastir-Release-2.2.0/src/alert.c:1750:13: note: Shadow variable Xastir-Release-2.2.0/src/alert.c:379:9: style: Variable 'jj' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/alert.c:413:16: style: Variable 't1' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/alert.c:414:16: style: Variable 't2' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/alert.c:521:61: style: Parameter 'alert_record' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/festival.c:137:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/festival.c:167:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/festival.c:219:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/festival.c:308:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/festival.c:468:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/festival.c:512:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/festival.c:176:18: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] Xastir-Release-2.2.0/src/festival.c:259:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/festival.c:268:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/festival.c:180:7: error: Resource leak: fd [resourceLeak] Xastir-Release-2.2.0/src/festival.c:285:11: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/fetch_remote.c:273:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/fcc_data.c:122:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/fcc_data.c:220:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/fcc_data.c:348:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/forked_getaddrinfo.c:121:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAI_FAIL [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/forked_getaddrinfo.c:386:28: style: Variable 'current' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/geo-client.c:23:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/geo-find.c:619:31: style:inconclusive: Function 'geo_find' argument 1 names different: declaration 'm' definition 'index'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/geo.h:46:30: note: Function 'geo_find' argument 1 names different: declaration 'm' definition 'index'. Xastir-Release-2.2.0/src/geo-find.c:619:31: note: Function 'geo_find' argument 1 names different: declaration 'm' definition 'index'. Xastir-Release-2.2.0/src/geo-find.c:620:27: style:inconclusive: Function 'geo_find' argument 2 names different: declaration 'a' definition 'str'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/geo.h:46:44: note: Function 'geo_find' argument 2 names different: declaration 'a' definition 'str'. Xastir-Release-2.2.0/src/geo-find.c:620:27: note: Function 'geo_find' argument 2 names different: declaration 'a' definition 'str'. Xastir-Release-2.2.0/src/geocoder_gui.c:180:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/geocoder_gui.c:291:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/geocoder_gui.c:278:28: style:inconclusive: Function 'Geocoder_place' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:381:35: note: Function 'Geocoder_place' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/geocoder_gui.c:278:28: note: Function 'Geocoder_place' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/geocoder_gui.c:278:49: style:inconclusive: Function 'Geocoder_place' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:381:48: note: Function 'Geocoder_place' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/geocoder_gui.c:278:49: note: Function 'Geocoder_place' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/geocoder_gui.c:278:79: style:inconclusive: Function 'Geocoder_place' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:381:70: note: Function 'Geocoder_place' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/geocoder_gui.c:278:79: note: Function 'Geocoder_place' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/geocoder_gui.c:261:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/geocoder_gui.c:262:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/gps.c:653:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/gps.c:142:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/gps.c:143:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/gps.c:155:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/gps.c:182:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/gps.c:221:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/gps.c:241:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/gps.c:275:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/gps.c:295:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/gps.c:309:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/gps.c:322:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/gps.c:442:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/gps.c:447:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/gps.c:452:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/gps.c:474:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/gps.c:494:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/gps.c:516:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/gps.c:536:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/gps.c:558:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/gps.c:571:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/gps.c:578:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/gps.c:592:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/gps.c:849:27: style: Parameter 'nmea_sentence' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/gps.c:909:64: style: Parameter 'call_sign' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/gps.c:982:17: style: Parameter 'gps_line_data' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/gps.c:992:17: style: Parameter 'gps_line_data' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/gps.c:700:18: style: Variable 'tv.tv_sec' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/gps.c:701:19: style: Variable 'tv.tv_usec' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/gps.c:702:26: style: Variable 'tz.tz_minuteswest' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/gps.c:703:22: style: Variable 'tz.tz_dsttime' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/hashtable.c:170:35: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/fcc_data.c:179:5: warning: %li in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] Xastir-Release-2.2.0/src/fcc_data.c:349:7: error: Resource leak: fndx [resourceLeak] Xastir-Release-2.2.0/src/fcc_data.c:89:29: style: Variable 'call_offset' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/fcc_data.c:90:19: style: Variable 'x' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/igate.c:216:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/igate.c:621:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/igate.c:921:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/igate.c:1218:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/igate.c:1274:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/igate.c:1332:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/igate.c:1435:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/igate.c:573:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/igate.c:580:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/igate.c:627:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/igate.c:153:14: style: Variable 'c1' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/igate.c:153:19: style: Variable 'c2' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/igate.c:1231:30: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/igate.c:1310:30: style: Parameter 'call' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/interface.c:170:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:230:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:850:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:1321:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:1415:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:1807:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:2270:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:2396:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:2547:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:2667:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:2773:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:3259:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:3424:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:3693:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:3903:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:4099:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:4159:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:4268:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:4364:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:5037:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:5416:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:5470:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:5640:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:6098:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:6615:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:6839:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:6870:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:6942:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:7267:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:8185:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:8795:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:8882:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:8949:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface_gui.c:204:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B300 [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface_gui.c:409:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface_gui.c:755:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface_gui.c:2294:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface_gui.c:2921:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface_gui.c:3660:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface_gui.c:4234:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface_gui.c:4622:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface_gui.c:4763:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface_gui.c:5451:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface_gui.c:6002:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface_gui.c:7807:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface_gui.c:8671:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmFONTLIST_DEFAULT_TAG [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface_gui.c:8856:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNitemCount [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface_gui.c:9080:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface_gui.c:9515:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNitemCount [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface_gui.c:9648:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface_gui.c:9957:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface_gui.c:331:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface_gui.c:2191:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface_gui.c:2819:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface_gui.c:3555:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface_gui.c:4130:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface_gui.c:4587:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface_gui.c:5326:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface_gui.c:5878:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface_gui.c:7611:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface_gui.c:331:12: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] Xastir-Release-2.2.0/src/interface_gui.c:2191:12: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] Xastir-Release-2.2.0/src/interface_gui.c:2819:12: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] Xastir-Release-2.2.0/src/interface_gui.c:3555:12: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] Xastir-Release-2.2.0/src/interface_gui.c:4130:12: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] Xastir-Release-2.2.0/src/interface_gui.c:4587:12: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] Xastir-Release-2.2.0/src/interface_gui.c:5326:12: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] Xastir-Release-2.2.0/src/interface_gui.c:5878:12: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] Xastir-Release-2.2.0/src/interface_gui.c:7611:12: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] Xastir-Release-2.2.0/src/interface_gui.c:8549:45: style:inconclusive: Function 'Choose_interface_destroy_shell' argument 1 names different: declaration 'widget' definition 'UNUSED_widget'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/interface_gui.c:70:44: note: Function 'Choose_interface_destroy_shell' argument 1 names different: declaration 'widget' definition 'UNUSED_widget'. Xastir-Release-2.2.0/src/interface_gui.c:8549:45: note: Function 'Choose_interface_destroy_shell' argument 1 names different: declaration 'widget' definition 'UNUSED_widget'. Xastir-Release-2.2.0/src/interface_gui.c:8549:94: style:inconclusive: Function 'Choose_interface_destroy_shell' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/interface_gui.c:70:84: note: Function 'Choose_interface_destroy_shell' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/interface_gui.c:8549:94: note: Function 'Choose_interface_destroy_shell' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/interface_gui.c:9633:32: style:inconclusive: Function 'control_interface' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/interface.h:246:38: note: Function 'control_interface' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/interface_gui.c:9633:32: note: Function 'control_interface' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/interface_gui.c:9633:54: style:inconclusive: Function 'control_interface' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/interface.h:246:51: note: Function 'control_interface' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/interface_gui.c:9633:54: note: Function 'control_interface' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/interface_gui.c:9633:85: style:inconclusive: Function 'control_interface' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/interface.h:246:73: note: Function 'control_interface' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/interface_gui.c:9633:85: note: Function 'control_interface' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/interface_gui.c:101:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/interface_gui.c:103:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/interface_gui.c:120:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/interface_gui.c:122:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/interface_gui.c:140:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/interface_gui.c:142:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/interface_gui.c:160:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/interface_gui.c:162:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/interface_gui.c:180:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/interface_gui.c:182:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/interface_gui.c:8842:9: style: Variable 'what' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/interface_gui.c:9057:9: style: Variable 'what' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/interface_gui.c:9501:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/interface_gui.c:9582:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/interface_gui.c:2288:28: style: Variable 'ac' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/interface_gui.c:2915:28: style: Variable 'ac' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/interface_gui.c:3653:28: style: Variable 'ac' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/interface_gui.c:4757:28: style: Variable 'ac' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/interface_gui.c:7801:28: style: Variable 'ac' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/interface_gui.c:8850:7: style: Variable 'port' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/interface_gui.c:9639:28: style: Variable 'ac' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/interface_gui.c:9889:12: style: Variable 'read_data' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/interface_gui.c:9890:13: style: Variable 'write_data' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/io-mmap.c:98:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/io-mmap.c:149:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_SHARED [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/io-mmap.c:304:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/io-mmap.c:108:5: error: Resource leak: f.fd [resourceLeak] Xastir-Release-2.2.0/src/lang.c:80:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/lang.c:130:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/lang.c:172:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/lang.c:187:28: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/lang.c:207:34: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/lang.c:220:38: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/lang.c:115:28: style: Parameter 'code' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/lang.c:138:30: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/list_gui.c:174:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/list_gui.c:573:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNwidth [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/list_gui.c:1312:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNheight [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/list_gui.c:1412:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonRelease [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/list_gui.c:1547:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/list_gui.c:1464:26: style:inconclusive: Function 'Station_List' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:377:33: note: Function 'Station_List' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/list_gui.c:1464:26: note: Function 'Station_List' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/list_gui.c:1464:69: style:inconclusive: Function 'Station_List' argument 3 names different: declaration 'calldata' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:377:68: note: Function 'Station_List' argument 3 names different: declaration 'calldata' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/list_gui.c:1464:69: note: Function 'Station_List' argument 3 names different: declaration 'calldata' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/list_gui.c:1339:30: style: Variable 'cbs' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/list_gui.c:1356:30: style: Variable 'cbs' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/list_gui.c:1369:30: style: Variable 'cbs' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/list_gui.c:1382:30: style: Variable 'cbs' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/list_gui.c:1395:30: style: Variable 'cbs' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/list_gui.c:1404:79: style: Parameter 'event' can be declared as pointer to const. However it seems that 'mouseScrollHandler' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Xastir-Release-2.2.0/src/list_gui.c:2695:45: note: You might need to cast the function pointer here Xastir-Release-2.2.0/src/list_gui.c:1404:79: note: Parameter 'event' can be declared as pointer to const Xastir-Release-2.2.0/src/list_gui.c:1404:96: style: Parameter 'UNUSED_continueToDispatch' can be declared as pointer to const. However it seems that 'mouseScrollHandler' is a callback function, if 'UNUSED_continueToDispatch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Xastir-Release-2.2.0/src/list_gui.c:2695:45: note: You might need to cast the function pointer here Xastir-Release-2.2.0/src/list_gui.c:1404:96: note: Parameter 'UNUSED_continueToDispatch' can be declared as pointer to const Xastir-Release-2.2.0/src/list_gui.c:1452:30: style: Variable 'cbs' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/db.c:21059:18: warning: Either the condition 'ii<10' is redundant or the array 'Substring[10]' is accessed at index 10, which is out of bounds. [arrayIndexOutOfBoundsCond] Xastir-Release-2.2.0/src/db.c:21053:18: note: Assuming that condition 'ii<10' is not redundant Xastir-Release-2.2.0/src/db.c:21058:5: note: ii is incremented', new value is 10 Xastir-Release-2.2.0/src/db.c:21059:18: note: Array index out of bounds Xastir-Release-2.2.0/src/db.c:21052:21: style: Array index 'ii' is used before limits check. [arrayIndexThenCheck] Xastir-Release-2.2.0/src/db.c:344:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/db.c:354:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/db.c:5724:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Xastir-Release-2.2.0/src/db.c:5773:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Xastir-Release-2.2.0/src/db.c:6020:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Xastir-Release-2.2.0/src/db.c:6155:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Xastir-Release-2.2.0/src/db.c:9422:11: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] Xastir-Release-2.2.0/src/db.c:9774:11: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] Xastir-Release-2.2.0/src/db.c:9869:11: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] Xastir-Release-2.2.0/src/db.c:16828:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/db.c:20355:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/db.c:20358:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/db.c:20361:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/db.c:21226:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/db.c:21229:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/db.c:21232:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/db.c:22359:12: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Xastir-Release-2.2.0/src/locate_gui.c:326:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/locate_gui.c:572:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNitemCount [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/locate_gui.c:636:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/locate_gui.c:938:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:10751:8: style: Redundant condition: The condition 'hash_key_in != -1' is redundant since 'hash_key_in >= 0' is sufficient. [redundantCondition] Xastir-Release-2.2.0/src/db.c:15308:32: style: Redundant condition: The condition '*(p+1) != '\0'' is redundant since '*(p+1) == '-'' is sufficient. [redundantCondition] Xastir-Release-2.2.0/src/locate_gui.c:309:28: style:inconclusive: Function 'Locate_station' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:379:35: note: Function 'Locate_station' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/locate_gui.c:309:28: note: Function 'Locate_station' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/locate_gui.c:309:49: style:inconclusive: Function 'Locate_station' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:379:48: note: Function 'Locate_station' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/locate_gui.c:309:49: note: Function 'Locate_station' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/locate_gui.c:926:26: style:inconclusive: Function 'Locate_place' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:380:33: note: Function 'Locate_place' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/locate_gui.c:926:26: note: Function 'Locate_place' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/locate_gui.c:926:47: style:inconclusive: Function 'Locate_place' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:380:46: note: Function 'Locate_place' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/locate_gui.c:926:47: note: Function 'Locate_place' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/locate_gui.c:926:77: style:inconclusive: Function 'Locate_place' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:380:68: note: Function 'Locate_place' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/locate_gui.c:926:77: note: Function 'Locate_place' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/locate_gui.c:618:28: style: Variable 'ac' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/db.c:21419:7: style: The if condition is the same as the previous if condition [duplicateCondition] Xastir-Release-2.2.0/src/db.c:21273:7: note: First condition Xastir-Release-2.2.0/src/db.c:21419:7: note: Second condition Xastir-Release-2.2.0/src/db.c:1823:28: style: Condition 'head->next!=NULL' is always false [knownConditionTrueFalse] Xastir-Release-2.2.0/src/db.c:1756:26: note: Assignment 'head->next=NULL', assigned value is 0 Xastir-Release-2.2.0/src/db.c:1823:28: note: Condition 'head->next!=NULL' is always false Xastir-Release-2.2.0/src/db.c:1838:22: style: Condition '!done' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/db.c:1825:26: note: Assignment 'done=0', assigned value is 0 Xastir-Release-2.2.0/src/db.c:1838:22: note: Condition '!done' is always true Xastir-Release-2.2.0/src/db.c:8702:56: style: Condition 'trail_color_active(color)' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/db.c:8702:56: note: Calling function 'trail_color_active' returns 1 Xastir-Release-2.2.0/src/db.c:8702:56: note: Condition 'trail_color_active(color)' is always true Xastir-Release-2.2.0/src/db.c:13325:9: style: Condition 'ok' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/db.c:13284:8: note: Assignment 'ok=1', assigned value is 1 Xastir-Release-2.2.0/src/db.c:13325:9: note: Condition 'ok' is always true Xastir-Release-2.2.0/src/db.c:17493:7: style: Condition '!ok' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/db.c:17484:12: note: Assignment 'ok=0', assigned value is 0 Xastir-Release-2.2.0/src/db.c:17493:7: note: Condition '!ok' is always true Xastir-Release-2.2.0/src/db.c:17751:7: style: Condition '!ok' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/db.c:17719:12: note: Assignment 'ok=0', assigned value is 0 Xastir-Release-2.2.0/src/db.c:17751:7: note: Condition '!ok' is always true Xastir-Release-2.2.0/src/db.c:18026:32: style: Condition 'strlen(short_path)>=1' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/db.c:18017:28: note: Assuming that condition 'strlen(short_path)>=5' is not redundant Xastir-Release-2.2.0/src/db.c:18026:32: note: Condition 'strlen(short_path)>=1' is always true Xastir-Release-2.2.0/src/db.c:18944:12: style: Condition 'to_my_call' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/db.c:19694:11: style: Condition 'ok_igate_net' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/db.c:19690:20: note: Assignment 'ok_igate_net=1', assigned value is 1 Xastir-Release-2.2.0/src/db.c:19694:11: note: Condition 'ok_igate_net' is always true Xastir-Release-2.2.0/src/db.c:21196:14: style: Condition 'line!=NULL' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/db.c:12785:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Xastir-Release-2.2.0/src/db.c:12785:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Xastir-Release-2.2.0/src/db.c:12785:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Xastir-Release-2.2.0/src/db.c:12785:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Xastir-Release-2.2.0/src/db.c:12785:5: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Xastir-Release-2.2.0/src/db.c:21823:19: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] Xastir-Release-2.2.0/src/db.c:14196:17: style: Variable 'new_station' is reassigned a value before the old one has been used. [redundantAssignment] Xastir-Release-2.2.0/src/db.c:14174:15: note: new_station is assigned Xastir-Release-2.2.0/src/db.c:14196:17: note: new_station is overwritten Xastir-Release-2.2.0/src/db.c:19018:10: style: Variable 'done' is reassigned a value before the old one has been used. [redundantAssignment] Xastir-Release-2.2.0/src/db.c:18951:12: note: done is assigned Xastir-Release-2.2.0/src/db.c:19018:10: note: done is overwritten Xastir-Release-2.2.0/src/db.c:19413:6: style: Variable 'ok' is reassigned a value before the old one has been used. [redundantAssignment] Xastir-Release-2.2.0/src/db.c:19404:8: note: ok is assigned Xastir-Release-2.2.0/src/db.c:19413:6: note: ok is overwritten Xastir-Release-2.2.0/src/db.c:20665:8: style: Variable 'more' is reassigned a value before the old one has been used. [redundantAssignment] Xastir-Release-2.2.0/src/db.c:20656:8: note: more is assigned Xastir-Release-2.2.0/src/db.c:20665:8: note: more is overwritten Xastir-Release-2.2.0/src/db.c:19096:5: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] Xastir-Release-2.2.0/src/location_gui.c:117:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNitemCount [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/location_gui.c:216:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/location_gui.c:250:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNitemCount [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/location_gui.c:390:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/location_gui.c:455:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/db.c:4621:41: style:inconclusive: Function 'Station_data_destroy_track' argument 1 names different: declaration 'widget' definition 'UNUSED_widget'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/db.c:127:40: note: Function 'Station_data_destroy_track' argument 1 names different: declaration 'widget' definition 'UNUSED_widget'. Xastir-Release-2.2.0/src/db.c:4621:41: note: Function 'Station_data_destroy_track' argument 1 names different: declaration 'widget' definition 'UNUSED_widget'. Xastir-Release-2.2.0/src/db.c:4621:89: style:inconclusive: Function 'Station_data_destroy_track' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/db.c:127:80: note: Function 'Station_data_destroy_track' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/db.c:4621:89: note: Function 'Station_data_destroy_track' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/db.c:4823:27: style:inconclusive: Function 'General_query' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/database.h:584:34: note: Function 'General_query' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/db.c:4823:27: note: Function 'General_query' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/db.c:4823:70: style:inconclusive: Function 'General_query' argument 3 names different: declaration 'calldata' definition 'UNUSED_calldata'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/database.h:584:69: note: Function 'General_query' argument 3 names different: declaration 'calldata' definition 'UNUSED_calldata'. Xastir-Release-2.2.0/src/db.c:4823:70: note: Function 'General_query' argument 3 names different: declaration 'calldata' definition 'UNUSED_calldata'. Xastir-Release-2.2.0/src/db.c:4836:25: style:inconclusive: Function 'IGate_query' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/database.h:585:32: note: Function 'IGate_query' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/db.c:4836:25: note: Function 'IGate_query' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/db.c:4836:46: style:inconclusive: Function 'IGate_query' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/database.h:585:45: note: Function 'IGate_query' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/db.c:4836:46: note: Function 'IGate_query' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/db.c:4836:76: style:inconclusive: Function 'IGate_query' argument 3 names different: declaration 'calldata' definition 'UNUSED_calldata'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/database.h:585:67: note: Function 'IGate_query' argument 3 names different: declaration 'calldata' definition 'UNUSED_calldata'. Xastir-Release-2.2.0/src/db.c:4836:76: note: Function 'IGate_query' argument 3 names different: declaration 'calldata' definition 'UNUSED_calldata'. Xastir-Release-2.2.0/src/db.c:4845:22: style:inconclusive: Function 'WX_query' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/database.h:586:29: note: Function 'WX_query' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/db.c:4845:22: note: Function 'WX_query' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/db.c:4845:43: style:inconclusive: Function 'WX_query' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/database.h:586:42: note: Function 'WX_query' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/db.c:4845:43: note: Function 'WX_query' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/db.c:4845:73: style:inconclusive: Function 'WX_query' argument 3 names different: declaration 'calldata' definition 'UNUSED_calldata'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/database.h:586:64: note: Function 'WX_query' argument 3 names different: declaration 'calldata' definition 'UNUSED_calldata'. Xastir-Release-2.2.0/src/db.c:4845:73: note: Function 'WX_query' argument 3 names different: declaration 'calldata' definition 'UNUSED_calldata'. Xastir-Release-2.2.0/src/db.c:7277:61: style:inconclusive: Function 'Station_info' argument 3 names different: declaration 'calldata' definition 'UNUSED_calldata'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/xastir.h:118:68: note: Function 'Station_info' argument 3 names different: declaration 'calldata' definition 'UNUSED_calldata'. Xastir-Release-2.2.0/src/db.c:7277:61: note: Function 'Station_info' argument 3 names different: declaration 'calldata' definition 'UNUSED_calldata'. Xastir-Release-2.2.0/src/db.c:10738:44: style:inconclusive: Function 'station_shortcuts_update_function' argument 1 names different: declaration 'hash_key' definition 'hash_key_in'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/db.c:129:44: note: Function 'station_shortcuts_update_function' argument 1 names different: declaration 'hash_key' definition 'hash_key_in'. Xastir-Release-2.2.0/src/db.c:10738:44: note: Function 'station_shortcuts_update_function' argument 1 names different: declaration 'hash_key' definition 'hash_key_in'. Xastir-Release-2.2.0/src/db.c:11269:24: style:inconclusive: Function 'station_del' argument 1 names different: declaration 'callsign' definition 'call'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/database.h:623:31: note: Function 'station_del' argument 1 names different: declaration 'callsign' definition 'call'. Xastir-Release-2.2.0/src/db.c:11269:24: note: Function 'station_del' argument 1 names different: declaration 'callsign' definition 'call'. Xastir-Release-2.2.0/src/db.c:16302:91: style:inconclusive: Function 'my_station_gps_change' argument 5 names different: declaration 'speedu' definition 'UNUSED_speedu'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/database.h:628:53: note: Function 'my_station_gps_change' argument 5 names different: declaration 'speedu' definition 'UNUSED_speedu'. Xastir-Release-2.2.0/src/db.c:16302:91: note: Function 'my_station_gps_change' argument 5 names different: declaration 'speedu' definition 'UNUSED_speedu'. Xastir-Release-2.2.0/src/db.c:16495:27: style:inconclusive: Function 'my_station_add' argument 1 names different: declaration 'my_call_sign' definition 'my_callsign'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/database.h:624:34: note: Function 'my_station_add' argument 1 names different: declaration 'my_call_sign' definition 'my_callsign'. Xastir-Release-2.2.0/src/db.c:16495:27: note: Function 'my_station_add' argument 1 names different: declaration 'my_call_sign' definition 'my_callsign'. Xastir-Release-2.2.0/src/db.c:21701:30: style:inconclusive: Function 'set_map_position' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/database.h:643:37: note: Function 'set_map_position' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/db.c:21701:30: note: Function 'set_map_position' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/db.c:21903:37: style:inconclusive: Function 'track_station' argument 2 names different: declaration 'call_tracked' definition 'UNUSED_call_tracked'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/db.c:137:36: note: Function 'track_station' argument 2 names different: declaration 'call_tracked' definition 'UNUSED_call_tracked'. Xastir-Release-2.2.0/src/db.c:21903:37: note: Function 'track_station' argument 2 names different: declaration 'call_tracked' definition 'UNUSED_call_tracked'. Xastir-Release-2.2.0/src/db.c:22168:21: style:inconclusive: Function 'calc_aloha' argument 1 names different: declaration 'curr_sec' definition 'secs_now'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/database.h:669:21: note: Function 'calc_aloha' argument 1 names different: declaration 'curr_sec' definition 'secs_now'. Xastir-Release-2.2.0/src/db.c:22168:21: note: Function 'calc_aloha' argument 1 names different: declaration 'curr_sec' definition 'secs_now'. Xastir-Release-2.2.0/src/db.c:22236:30: style:inconclusive: Function 'Show_Aloha_Stats' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/database.h:670:30: note: Function 'Show_Aloha_Stats' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/db.c:22236:30: note: Function 'Show_Aloha_Stats' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/db.c:22236:51: style:inconclusive: Function 'Show_Aloha_Stats' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/database.h:670:43: note: Function 'Show_Aloha_Stats' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/db.c:22236:51: note: Function 'Show_Aloha_Stats' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/db.c:22236:81: style:inconclusive: Function 'Show_Aloha_Stats' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/database.h:671:33: note: Function 'Show_Aloha_Stats' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/db.c:22236:81: note: Function 'Show_Aloha_Stats' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/db.c:2264:22: style: Local variable 'symbol' shadows outer function [shadowFunction] Xastir-Release-2.2.0/src/draw_symbols.h:52:13: note: Shadowed declaration Xastir-Release-2.2.0/src/db.c:2264:22: note: Shadow variable Xastir-Release-2.2.0/src/db.c:3956:8: style: Local variable 'text' shadows outer variable [shadowVariable] Xastir-Release-2.2.0/src/xastir.h:162:15: note: Shadowed declaration Xastir-Release-2.2.0/src/db.c:3956:8: note: Shadow variable Xastir-Release-2.2.0/src/db.c:4183:8: style: Local variable 'text' shadows outer variable [shadowVariable] Xastir-Release-2.2.0/src/xastir.h:162:15: note: Shadowed declaration Xastir-Release-2.2.0/src/db.c:4183:8: note: Shadow variable Xastir-Release-2.2.0/src/db.c:6723:19: style: Local variable 'temp' shadows outer variable [shadowVariable] Xastir-Release-2.2.0/src/db.c:6385:8: note: Shadowed declaration Xastir-Release-2.2.0/src/db.c:6723:19: note: Shadow variable Xastir-Release-2.2.0/src/db.c:16138:7: style: Local variable 'curr_sec' shadows outer variable [shadowVariable] Xastir-Release-2.2.0/src/db.c:166:17: note: Shadowed declaration Xastir-Release-2.2.0/src/db.c:16138:7: note: Shadow variable Xastir-Release-2.2.0/src/db.c:17366:20: style: Local variable 'temp' shadows outer variable [shadowVariable] Xastir-Release-2.2.0/src/db.c:16878:8: note: Shadowed declaration Xastir-Release-2.2.0/src/db.c:17366:20: note: Shadow variable Xastir-Release-2.2.0/src/db.c:18815:12: style: Local variable 'path' shadows outer argument [shadowArgument] Xastir-Release-2.2.0/src/db.c:18298:37: note: Shadowed declaration Xastir-Release-2.2.0/src/db.c:18815:12: note: Shadow variable Xastir-Release-2.2.0/src/db.c:322:22: style: Parameter 'call' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:324:9: style: Variable 'p_del' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/db.c:375:28: style: Parameter 'p_station' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:385:32: style: Parameter 'p_station' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:399:30: style: Parameter 'call_sign' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:732:34: style: Parameter 'm_fill' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:930:32: style: Parameter 'm_fill' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:2033:34: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:2050:32: style: Parameter 'to' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:2067:29: style: Parameter 'to_from' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:2153:29: style: Parameter 'm_fill' can be declared as pointer to const. However it seems that 'mprint_record' is a callback function, if 'm_fill' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Xastir-Release-2.2.0/src/db.c:2173:24: note: You might need to cast the function pointer here Xastir-Release-2.2.0/src/db.c:2153:29: note: Parameter 'm_fill' can be declared as pointer to const Xastir-Release-2.2.0/src/db.c:2187:44: style: Parameter 'callsignin' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:2258:32: style: Parameter 'call_sign' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:2261:9: style: Variable 'id' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/db.c:2540:48: style: Parameter 'fill' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:5223:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/db.c:6724:13: style: Variable 'ptr3' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/db.c:7648:27: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:8293:13: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/db.c:8295:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/db.c:8735:29: style: Parameter 'alt' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:8736:29: style: Parameter 'speed' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:8737:29: style: Parameter 'course' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:9415:14: style: Variable 'time' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/db.c:10827:49: style: Parameter 'call' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:11568:9: style: Variable 'searchval' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/db.c:11862:9: style: Variable 'my_data' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/db.c:12470:9: style: Variable 'd' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/db.c:12552:9: style: Variable 'd' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/db.c:16130:33: style: Parameter 'current_course' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:16130:55: style: Parameter 'current_speed' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:17479:56: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:17716:26: style: Parameter 'call_sign' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:17716:64: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:17864:28: style: Parameter 'UNUSED_call_sign' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:17864:54: style: Parameter 'UNUSED_path' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:17864:75: style: Parameter 'UNUSED_message' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:18198:9: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/db.c:20273:51: style: Parameter 'origin' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:20487:31: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/db.c:22148:16: style: Variable 'a' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/db.c:22149:16: style: Variable 'b' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/db.c:22352:14: style: Variable 'time' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/location_gui.c:138:23: style:inconclusive: Boolean expression '!feof(f)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] Xastir-Release-2.2.0/src/location_gui.c:143:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/location_gui.c:148:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/location_gui.c:203:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/location_gui.c:277:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/location_gui.c:282:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/location_gui.c:376:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/location_gui.c:138:23: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] Xastir-Release-2.2.0/src/location_gui.c:67:27: style:inconclusive: Function 'Last_location' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/xastir.h:233:34: note: Function 'Last_location' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/location_gui.c:67:27: note: Function 'Last_location' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/location_gui.c:67:48: style:inconclusive: Function 'Last_location' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/xastir.h:233:47: note: Function 'Last_location' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/location_gui.c:67:48: note: Function 'Last_location' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/location_gui.c:67:78: style:inconclusive: Function 'Last_location' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/xastir.h:233:69: note: Function 'Last_location' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/location_gui.c:67:78: note: Function 'Last_location' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/location_gui.c:437:27: style:inconclusive: Function 'Jump_location' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/xastir.h:234:34: note: Function 'Jump_location' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/location_gui.c:437:27: note: Function 'Jump_location' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/location_gui.c:437:48: style:inconclusive: Function 'Jump_location' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/xastir.h:234:47: note: Function 'Jump_location' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/location_gui.c:437:48: note: Function 'Jump_location' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/location_gui.c:437:78: style:inconclusive: Function 'Jump_location' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/xastir.h:234:69: note: Function 'Jump_location' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/location_gui.c:437:78: note: Function 'Jump_location' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/location_gui.c:186:9: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/location_gui.c:442:19: style: Variable 'ac' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/db.c:5301:19: error: Uninitialized variable: temp [uninitvar] Xastir-Release-2.2.0/src/macspeech.c:106:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/macspeech.c:149:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gestaltSpeechAttr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/macspeech.c:115:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/macspeech.c:115:14: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] Xastir-Release-2.2.0/src/macspeech.c:165:7: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] Xastir-Release-2.2.0/src/macspeech.c:163:7: note: err is assigned Xastir-Release-2.2.0/src/macspeech.c:165:7: note: err is overwritten Xastir-Release-2.2.0/src/macspeech.c:156:8: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] Xastir-Release-2.2.0/src/macspeech.c:121:9: style: Variable 'err' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/db.c:411:12: style: Variable 'call_len' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/db.c:858:13: style: Variable 'done' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/db.c:877:15: style: Variable 'done' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/db.c:906:16: style: Variable 'done' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/db.c:2570:11: style: Variable 'data_ptr' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/db.c:3957:21: style: Variable 'border_offset' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/db.c:4188:21: style: Variable 'border_offset' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/db.c:4933:28: style: Variable 'ac' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/db.c:4977:7: style: Variable 'ac' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/db.c:7288:28: style: Variable 'ac' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/db.c:12438:13: style: Variable 'done' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/db.c:12754:36: style: Variable 'temp_area.corridor_width' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/db.c:15573:16: style: Variable 'moving' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/db.c:19534:10: style: Variable 'done' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/db.c:21655:15: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/map_OSM.c:282:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/map_OSM.c:293:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/map_OSM.c:180:8: style: Variable 'osm_level' can be declared as const array [constVariable] Xastir-Release-2.2.0/src/main.c:19709:72: error: There is an unknown macro here somewhere. Configuration is required. If XASTIR_INSTALLED_LIBS is a macro then please configure it. [unknownMacro] Xastir-Release-2.2.0/src/map_geo.c:573:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/map_geo.c:241:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] Xastir-Release-2.2.0/src/map_geo.c:238:41: note: Assuming allocation function fails Xastir-Release-2.2.0/src/map_geo.c:238:7: note: Assignment 'p=(struct transparent_color_record*)malloc(sizeof(struct transparent_color_record))', assigned value is 0 Xastir-Release-2.2.0/src/map_geo.c:241:3: note: Null pointer dereference Xastir-Release-2.2.0/src/map_geo.c:244:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] Xastir-Release-2.2.0/src/map_geo.c:238:41: note: Assuming allocation function fails Xastir-Release-2.2.0/src/map_geo.c:238:7: note: Assignment 'p=(struct transparent_color_record*)malloc(sizeof(struct transparent_color_record))', assigned value is 0 Xastir-Release-2.2.0/src/map_geo.c:244:3: note: Null pointer dereference Xastir-Release-2.2.0/src/map_geo.c:314:32: style: Parameter 'UNUSED_dir' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/map_geo.c:315:31: style: Parameter 'filenm' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/map_geo.c:316:38: style: Parameter 'alert' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/map_geo.c:319:41: style: Parameter 'mdf' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/map_gnis.c:536:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/map_gnis.c:1294:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/map_dos.c:192:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/map_dos.c:456:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/map_dos.c:1683:38: warning:inconclusive: Logical conjunction always evaluates to false: label_text_color < '1' && label_text_color > '9'. [incorrectLogicOperator] Xastir-Release-2.2.0/src/map_dos.c:676:7: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] Xastir-Release-2.2.0/src/map_dos.c:1571:15: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] Xastir-Release-2.2.0/src/map_dos.c:1570:15: note: x is assigned Xastir-Release-2.2.0/src/map_dos.c:1571:15: note: x is overwritten Xastir-Release-2.2.0/src/map_dos.c:1525:17: style: Local variable 'i' shadows outer variable [shadowVariable] Xastir-Release-2.2.0/src/map_dos.c:438:7: note: Shadowed declaration Xastir-Release-2.2.0/src/map_dos.c:1525:17: note: Shadow variable Xastir-Release-2.2.0/src/map_dos.c:385:35: style: Parameter 'mdf' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/map_dos.c:1037:23: style: Variable 'Tag[79]' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/map_dos.c:1660:21: style: Variable 'label_mag' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/map_dos.c:1663:23: style: Variable 'label_mag' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/map_gnis.c:300:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:311:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:322:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:333:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:344:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:354:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:365:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:379:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:397:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:416:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:427:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:442:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:453:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:464:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:475:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:485:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:495:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:1361:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:1372:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:1384:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:1396:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:1408:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:1418:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:1430:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:1440:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:1452:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:1465:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:1476:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:1486:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:1496:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:1507:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:1518:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:1528:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:1541:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_gnis.c:1242:31: style:inconclusive: Function 'gnis_locate_place' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:188:38: note: Function 'gnis_locate_place' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/map_gnis.c:1242:31: note: Function 'gnis_locate_place' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/map_gnis.c:1243:30: style:inconclusive: Function 'gnis_locate_place' argument 2 names different: declaration 'name' definition 'name_in'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:188:47: note: Function 'gnis_locate_place' argument 2 names different: declaration 'name' definition 'name_in'. Xastir-Release-2.2.0/src/map_gnis.c:1243:30: note: Function 'gnis_locate_place' argument 2 names different: declaration 'name' definition 'name_in'. Xastir-Release-2.2.0/src/map_gnis.c:1244:30: style:inconclusive: Function 'gnis_locate_place' argument 3 names different: declaration 'state' definition 'state_in'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:188:59: note: Function 'gnis_locate_place' argument 3 names different: declaration 'state' definition 'state_in'. Xastir-Release-2.2.0/src/map_gnis.c:1244:30: note: Function 'gnis_locate_place' argument 3 names different: declaration 'state' definition 'state_in'. Xastir-Release-2.2.0/src/map_gnis.c:1245:30: style:inconclusive: Function 'gnis_locate_place' argument 4 names different: declaration 'county' definition 'county_in'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:189:37: note: Function 'gnis_locate_place' argument 4 names different: declaration 'county' definition 'county_in'. Xastir-Release-2.2.0/src/map_gnis.c:1245:30: note: Function 'gnis_locate_place' argument 4 names different: declaration 'county' definition 'county_in'. Xastir-Release-2.2.0/src/map_gnis.c:1246:30: style:inconclusive: Function 'gnis_locate_place' argument 5 names different: declaration 'quad' definition 'quad_in'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:189:51: note: Function 'gnis_locate_place' argument 5 names different: declaration 'quad' definition 'quad_in'. Xastir-Release-2.2.0/src/map_gnis.c:1246:30: note: Function 'gnis_locate_place' argument 5 names different: declaration 'quad' definition 'quad_in'. Xastir-Release-2.2.0/src/map_gnis.c:1247:30: style:inconclusive: Function 'gnis_locate_place' argument 6 names different: declaration 'type' definition 'type_in'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:189:63: note: Function 'gnis_locate_place' argument 6 names different: declaration 'type' definition 'type_in'. Xastir-Release-2.2.0/src/map_gnis.c:1247:30: note: Function 'gnis_locate_place' argument 6 names different: declaration 'type' definition 'type_in'. Xastir-Release-2.2.0/src/map_gnis.c:1248:30: style:inconclusive: Function 'gnis_locate_place' argument 7 names different: declaration 'filename' definition 'filename_in'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:189:75: note: Function 'gnis_locate_place' argument 7 names different: declaration 'filename' definition 'filename_in'. Xastir-Release-2.2.0/src/map_gnis.c:1248:30: note: Function 'gnis_locate_place' argument 7 names different: declaration 'filename' definition 'filename_in'. Xastir-Release-2.2.0/src/map_pop.c:536:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/map_pop.c:1294:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/interface.c:2605:7: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] Xastir-Release-2.2.0/src/interface.c:450:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/interface.c:1195:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/interface.c:1196:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/interface.c:1822:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/interface.c:1827:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/interface.c:1849:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/interface.c:1854:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/interface.c:1860:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/interface.c:1866:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/interface.c:2493:17: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:2678:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:2693:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:3023:17: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] Xastir-Release-2.2.0/src/interface.c:3353:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:3482:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:3490:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:3535:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:3719:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:3729:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:3749:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:3762:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:5212:15: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:5764:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:5877:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:5919:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:5928:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:6453:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:6478:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:7437:11: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:7514:20: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Xastir-Release-2.2.0/src/interface.c:7568:20: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] Xastir-Release-2.2.0/src/interface.c:7622:20: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] Xastir-Release-2.2.0/src/interface.c:7770:22: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] Xastir-Release-2.2.0/src/interface.c:8280:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:8434:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:8450:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:8829:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/interface.c:6462:18: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] Xastir-Release-2.2.0/src/interface.c:6443:12: note: outer condition: ok==1 Xastir-Release-2.2.0/src/interface.c:6462:18: note: identical inner condition: ok==1 Xastir-Release-2.2.0/src/interface.c:4564:45: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] Xastir-Release-2.2.0/src/interface.c:1900:64: style: Condition '(port_data[port].channel2=ui_connect(port,to))<0' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/interface.c:1659:15: note: Assignment 's=-1', assigned value is -1 Xastir-Release-2.2.0/src/interface.c:1900:53: note: Calling function 'ui_connect' returns -1 Xastir-Release-2.2.0/src/interface.c:1900:64: note: Condition '(port_data[port].channel2=ui_connect(port,to))<0' is always true Xastir-Release-2.2.0/src/interface.c:3716:34: style: Condition 'port_data[port].status==DEVICE_UP' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/interface.c:3706:32: note: Assuming that condition 'port_data[port].status==DEVICE_UP' is not redundant Xastir-Release-2.2.0/src/interface.c:3716:34: note: Condition 'port_data[port].status==DEVICE_UP' is always true Xastir-Release-2.2.0/src/interface.c:7689:11: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Xastir-Release-2.2.0/src/interface.c:7696:11: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/interface.c:7689:11: note: Found duplicate branches for 'if' and 'else'. Xastir-Release-2.2.0/src/interface.c:3094:29: style: Variable 'port_data[port].t.c_iflag' is reassigned a value before the old one has been used. [redundantAssignment] Xastir-Release-2.2.0/src/interface.c:3093:29: note: port_data[port].t.c_iflag is assigned Xastir-Release-2.2.0/src/interface.c:3094:29: note: port_data[port].t.c_iflag is overwritten Xastir-Release-2.2.0/src/interface.c:3538:8: style: Variable 'ok' is reassigned a value before the old one has been used. [redundantAssignment] Xastir-Release-2.2.0/src/interface.c:3506:10: note: ok is assigned Xastir-Release-2.2.0/src/interface.c:3538:8: note: ok is overwritten Xastir-Release-2.2.0/src/interface.c:8159:40: style:inconclusive: Function 'output_my_data' argument 2 names different: declaration 'port' definition 'incoming_port'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/interface.h:272:47: note: Function 'output_my_data' argument 2 names different: declaration 'port' definition 'incoming_port'. Xastir-Release-2.2.0/src/interface.c:8159:40: note: Function 'output_my_data' argument 2 names different: declaration 'port' definition 'incoming_port'. Xastir-Release-2.2.0/src/interface.c:8933:38: style:inconclusive: Function 'tnc_get_data_type' argument 2 names different: declaration 'port' definition 'UNUSED_port'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/interface.h:273:38: note: Function 'tnc_get_data_type' argument 2 names different: declaration 'port' definition 'UNUSED_port'. Xastir-Release-2.2.0/src/interface.c:8933:38: note: Function 'tnc_get_data_type' argument 2 names different: declaration 'port' definition 'UNUSED_port'. Xastir-Release-2.2.0/src/interface.c:222:39: style: Parameter 'data_string' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/interface.c:373:39: style: Parameter 'Path' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/interface.c:816:9: style: Variable 'info_ptr' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/interface.c:1657:33: style: Parameter 'to' can be declared as const array [constParameter] Xastir-Release-2.2.0/src/interface.c:1954:32: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/interface.c:1973:32: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/interface.c:3893:49: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/interface.c:3952:71: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/interface.c:3952:83: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/interface.c:8933:29: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/interface.c:2567:5: error: Uninitialized variable: sg [legacyUninitvar] Xastir-Release-2.2.0/src/interface.c:982:22: style: Variable 'special_debug' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/interface.c:1117:16: style: Variable 'new_length' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/interface.c:1152:16: style: Variable 'new_length' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/interface.c:2587:11: style: Variable 'dtr' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/interface.c:2605:11: style: Variable 'dtr' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/interface.c:4516:33: style: Variable 'frame_length' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/interface.c:4597:30: style: Variable 'my_pointer' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/interface.c:5903:16: style: Variable 'retvalue' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/map_pop.c:300:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:308:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:322:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:333:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:344:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:355:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:365:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:379:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:397:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:416:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:427:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:442:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:453:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:464:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:475:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:485:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:495:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:1361:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:1369:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:1384:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:1396:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:1408:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:1420:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:1430:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:1440:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:1452:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:1465:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:1476:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:1486:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:1496:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:1507:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:1518:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:1528:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/map_pop.c:1538:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/messages.c:149:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/messages.c:294:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/messages.c:431:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/messages.c:725:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/messages.c:942:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/messages.c:1329:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/messages.c:1548:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/map_pop.c:1242:30: style:inconclusive: Function 'pop_locate_place' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:193:37: note: Function 'pop_locate_place' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/map_pop.c:1242:30: note: Function 'pop_locate_place' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/map_pop.c:1243:29: style:inconclusive: Function 'pop_locate_place' argument 2 names different: declaration 'name' definition 'name_in'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:193:46: note: Function 'pop_locate_place' argument 2 names different: declaration 'name' definition 'name_in'. Xastir-Release-2.2.0/src/map_pop.c:1243:29: note: Function 'pop_locate_place' argument 2 names different: declaration 'name' definition 'name_in'. Xastir-Release-2.2.0/src/map_pop.c:1244:29: style:inconclusive: Function 'pop_locate_place' argument 3 names different: declaration 'state' definition 'state_in'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:193:58: note: Function 'pop_locate_place' argument 3 names different: declaration 'state' definition 'state_in'. Xastir-Release-2.2.0/src/map_pop.c:1244:29: note: Function 'pop_locate_place' argument 3 names different: declaration 'state' definition 'state_in'. Xastir-Release-2.2.0/src/map_pop.c:1245:29: style:inconclusive: Function 'pop_locate_place' argument 4 names different: declaration 'county' definition 'county_in'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:194:36: note: Function 'pop_locate_place' argument 4 names different: declaration 'county' definition 'county_in'. Xastir-Release-2.2.0/src/map_pop.c:1245:29: note: Function 'pop_locate_place' argument 4 names different: declaration 'county' definition 'county_in'. Xastir-Release-2.2.0/src/map_pop.c:1246:29: style:inconclusive: Function 'pop_locate_place' argument 5 names different: declaration 'quad' definition 'quad_in'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:194:50: note: Function 'pop_locate_place' argument 5 names different: declaration 'quad' definition 'quad_in'. Xastir-Release-2.2.0/src/map_pop.c:1246:29: note: Function 'pop_locate_place' argument 5 names different: declaration 'quad' definition 'quad_in'. Xastir-Release-2.2.0/src/map_pop.c:1247:29: style:inconclusive: Function 'pop_locate_place' argument 6 names different: declaration 'type' definition 'type_in'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:194:62: note: Function 'pop_locate_place' argument 6 names different: declaration 'type' definition 'type_in'. Xastir-Release-2.2.0/src/map_pop.c:1247:29: note: Function 'pop_locate_place' argument 6 names different: declaration 'type' definition 'type_in'. Xastir-Release-2.2.0/src/map_pop.c:1248:29: style:inconclusive: Function 'pop_locate_place' argument 7 names different: declaration 'filename' definition 'filename_in'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:194:74: note: Function 'pop_locate_place' argument 7 names different: declaration 'filename' definition 'filename_in'. Xastir-Release-2.2.0/src/map_pop.c:1248:29: note: Function 'pop_locate_place' argument 7 names different: declaration 'filename' definition 'filename_in'. Xastir-Release-2.2.0/src/messages_gui.c:268:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/messages_gui.c:487:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/messages_gui.c:984:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNcursorPosition [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/messages_gui.c:1169:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/messages_gui.c:1367:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNcursorPosition [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/messages_gui.c:1495:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmTextFieldWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/messages_gui.c:1933:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/messages_gui.c:2151:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/messages_gui.c:2652:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/messages_gui.c:2729:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:342:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:399:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:1406:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:1480:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:2253:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:3039:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:3584:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:3781:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:4017:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:4112:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:4157:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:5054:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:5517:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:6387:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:6829:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:7243:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:7306:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:7471:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:7719:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:7977:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:8227:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:8608:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:8998:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:9162:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:9353:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:9519:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:9719:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:9768:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/messages.c:1160:19: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] Xastir-Release-2.2.0/src/messages.c:1157:37: note: Assuming allocation function fails Xastir-Release-2.2.0/src/messages.c:1157:9: note: Assignment 'ptr=(struct _delayed_ack_record*)malloc(sizeof(struct _delayed_ack_record))', assigned value is 0 Xastir-Release-2.2.0/src/messages.c:1160:19: note: Null pointer dereference Xastir-Release-2.2.0/src/messages.c:1165:19: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] Xastir-Release-2.2.0/src/messages.c:1157:37: note: Assuming allocation function fails Xastir-Release-2.2.0/src/messages.c:1157:9: note: Assignment 'ptr=(struct _delayed_ack_record*)malloc(sizeof(struct _delayed_ack_record))', assigned value is 0 Xastir-Release-2.2.0/src/messages.c:1165:19: note: Null pointer dereference Xastir-Release-2.2.0/src/messages.c:1182:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] Xastir-Release-2.2.0/src/messages.c:1157:37: note: Assuming allocation function fails Xastir-Release-2.2.0/src/messages.c:1157:9: note: Assignment 'ptr=(struct _delayed_ack_record*)malloc(sizeof(struct _delayed_ack_record))', assigned value is 0 Xastir-Release-2.2.0/src/messages.c:1182:3: note: Null pointer dereference Xastir-Release-2.2.0/src/messages.c:1185:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] Xastir-Release-2.2.0/src/messages.c:1157:37: note: Assuming allocation function fails Xastir-Release-2.2.0/src/messages.c:1157:9: note: Assignment 'ptr=(struct _delayed_ack_record*)malloc(sizeof(struct _delayed_ack_record))', assigned value is 0 Xastir-Release-2.2.0/src/messages.c:1185:3: note: Null pointer dereference Xastir-Release-2.2.0/src/messages.c:521:8: style: Local variable 'my_callsign' shadows outer variable [shadowVariable] Xastir-Release-2.2.0/src/database.h:153:13: note: Shadowed declaration Xastir-Release-2.2.0/src/messages.c:521:8: note: Shadow variable Xastir-Release-2.2.0/src/messages.c:1450:18: style: Local variable 'temp' shadows outer variable [shadowVariable] Xastir-Release-2.2.0/src/messages.c:1299:8: note: Shadowed declaration Xastir-Release-2.2.0/src/messages.c:1450:18: note: Shadow variable Xastir-Release-2.2.0/src/messages.c:128:29: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/messages.c:285:36: style: Parameter 'to' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/messages.c:474:39: style: Parameter 'callsign' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/messages.c:574:32: style: Parameter 'callsign' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/messages.c:706:49: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/messages.c:1512:32: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/messages.c:1512:44: style: Parameter 'to' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/messages.c:1656:24: style: Parameter 'to' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/messages.c:720:5: style: Variable 'ok' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/messages_gui.c:1076:14: style: The if condition is the same as the previous if condition [duplicateCondition] Xastir-Release-2.2.0/src/messages_gui.c:1065:14: note: First condition Xastir-Release-2.2.0/src/messages_gui.c:1076:14: note: Second condition Xastir-Release-2.2.0/src/messages_gui.c:1002:29: style:inconclusive: Function 'Clear_messages' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/messages.h:113:35: note: Function 'Clear_messages' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/messages_gui.c:1002:29: note: Function 'Clear_messages' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/messages_gui.c:1002:50: style:inconclusive: Function 'Clear_messages' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/messages.h:113:48: note: Function 'Clear_messages' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/messages_gui.c:1002:50: note: Function 'Clear_messages' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/messages_gui.c:1002:80: style:inconclusive: Function 'Clear_messages' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/messages.h:113:70: note: Function 'Clear_messages' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/messages_gui.c:1002:80: note: Function 'Clear_messages' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/messages_gui.c:1434:32: style:inconclusive: Function 'Send_message_call' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/messages.h:115:38: note: Function 'Send_message_call' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/messages_gui.c:1434:32: note: Function 'Send_message_call' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/messages_gui.c:1434:75: style:inconclusive: Function 'Send_message_call' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/messages.h:115:73: note: Function 'Send_message_call' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/messages_gui.c:1434:75: note: Function 'Send_message_call' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/messages_gui.c:2082:27: style:inconclusive: Function 'Send_message' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/messages.h:111:33: note: Function 'Send_message' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/messages_gui.c:2082:27: note: Function 'Send_message' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/messages_gui.c:2082:70: style:inconclusive: Function 'Send_message' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/messages.h:111:68: note: Function 'Send_message' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/messages_gui.c:2082:70: note: Function 'Send_message' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/messages_gui.c:2624:36: style:inconclusive: Function 'Show_pending_messages' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/messages.h:112:42: note: Function 'Show_pending_messages' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/messages_gui.c:2624:36: note: Function 'Show_pending_messages' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/messages_gui.c:2624:57: style:inconclusive: Function 'Show_pending_messages' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/messages.h:112:55: note: Function 'Show_pending_messages' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/messages_gui.c:2624:57: note: Function 'Show_pending_messages' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/messages_gui.c:2624:87: style:inconclusive: Function 'Show_pending_messages' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/messages.h:112:77: note: Function 'Show_pending_messages' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/messages_gui.c:2624:87: note: Function 'Show_pending_messages' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/messages_gui.c:2662:30: style:inconclusive: Function 'Auto_msg_option' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:383:36: note: Function 'Auto_msg_option' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/messages_gui.c:2662:30: note: Function 'Auto_msg_option' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/messages_gui.c:2662:73: style:inconclusive: Function 'Auto_msg_option' argument 3 names different: declaration 'calldata' definition 'UNUSED_calldata'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:383:71: note: Function 'Auto_msg_option' argument 3 names different: declaration 'calldata' definition 'UNUSED_calldata'. Xastir-Release-2.2.0/src/messages_gui.c:2662:73: note: Function 'Auto_msg_option' argument 3 names different: declaration 'calldata' definition 'UNUSED_calldata'. Xastir-Release-2.2.0/src/messages_gui.c:2718:27: style:inconclusive: Function 'Auto_msg_set' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:384:33: note: Function 'Auto_msg_set' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/messages_gui.c:2718:27: note: Function 'Auto_msg_set' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/messages_gui.c:2718:48: style:inconclusive: Function 'Auto_msg_set' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:384:46: note: Function 'Auto_msg_set' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/messages_gui.c:2718:48: note: Function 'Auto_msg_set' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/messages_gui.c:2718:78: style:inconclusive: Function 'Auto_msg_set' argument 3 names different: declaration 'calldata' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:384:68: note: Function 'Auto_msg_set' argument 3 names different: declaration 'calldata' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/messages_gui.c:2718:78: note: Function 'Auto_msg_set' argument 3 names different: declaration 'calldata' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/messages_gui.c:459:10: style: Local variable 'reverse_path' shadows outer function [shadowFunction] Xastir-Release-2.2.0/src/messages_gui.c:94:6: note: Shadowed declaration Xastir-Release-2.2.0/src/messages_gui.c:459:10: note: Shadow variable Xastir-Release-2.2.0/src/messages_gui.c:821:8: style: Local variable 'my_callsign' shadows outer variable [shadowVariable] Xastir-Release-2.2.0/src/database.h:153:13: note: Shadowed declaration Xastir-Release-2.2.0/src/messages_gui.c:821:8: note: Shadow variable Xastir-Release-2.2.0/src/messages_gui.c:152:11: style: Variable 'c' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:242:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:1507:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:1781:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:1829:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:2327:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:2523:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:2608:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmFONTLIST_DEFAULT_TAG [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:2666:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNuserData [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:2722:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:3129:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XC_pencil [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:3182:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:3293:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:3462:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNitemCount [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:3565:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:3788:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNitemCount [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:3873:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:4274:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LineOnOffDash [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:6641:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNlabelPixmap [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:6743:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:6863:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:6928:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:7034:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:7153:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:7212:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:7316:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:7342:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:7538:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:7850:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNwidth [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:8185:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNwidth [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:11705:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:11877:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/objects.c:11937:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/popup_gui.c:186:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/popup_gui.c:296:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/popup_gui.c:355:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/popup_gui.c:180:15: style: Condition 'banner!=NULL' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/popup_gui.c:180:32: style: Condition 'message!=NULL' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/popup_gui.c:327:30: style:inconclusive: Function 'popup_ID_message' argument 1 names different: declaration 'banner' definition 'UNUSED_banner'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/xastir.h:254:36: note: Function 'popup_ID_message' argument 1 names different: declaration 'banner' definition 'UNUSED_banner'. Xastir-Release-2.2.0/src/popup_gui.c:327:30: note: Function 'popup_ID_message' argument 1 names different: declaration 'banner' definition 'UNUSED_banner'. Xastir-Release-2.2.0/src/popup_gui.c:280:26: style: Parameter 'banner' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/popup_gui.c:280:40: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/rac_data.c:122:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/rac_data.c:205:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/rac_data.c:248:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/rac_data.c:251:7: error: Resource leak: fndx [resourceLeak] Xastir-Release-2.2.0/src/rac_data.c:100:19: style: Variable 'x' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/rotated.c:212:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/rotated.c:347:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/rotated.c:483:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/rotated.c:725:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/rotated.c:843:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_FONT [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/rotated.c:1041:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/rotated.c:1468:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/rotated.c:1817:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/rotated.c:935:6: style: The if condition is the same as the previous if condition [duplicateCondition] Xastir-Release-2.2.0/src/rotated.c:929:6: note: First condition Xastir-Release-2.2.0/src/rotated.c:935:6: note: Second condition Xastir-Release-2.2.0/src/rotated.c:1546:8: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Xastir-Release-2.2.0/src/rotated.c:1547:8: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Xastir-Release-2.2.0/src/rotated.c:227:42: style: Parameter 'str2' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/rotated.c:1432:13: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] Xastir-Release-2.2.0/src/objects.c:4320:50: style:inconclusive: Boolean expression '(int)strlen(object_ptr->label)>0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] Xastir-Release-2.2.0/src/objects.c:4338:40: style:inconclusive: Boolean expression 'CAD_show_comment==TRUE' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] Xastir-Release-2.2.0/src/objects.c:471:16: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] Xastir-Release-2.2.0/src/objects.c:4794:14: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] Xastir-Release-2.2.0/src/objects.c:7553:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/objects.c:7556:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/objects.c:7567:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/objects.c:7576:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/objects.c:7585:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/objects.c:7597:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/objects.c:7606:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] Xastir-Release-2.2.0/src/objects.c:1360:40: style: Condition 'p_station->object_retransmit>0' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/objects.c:1323:38: note: Assuming that condition 'p_station->object_retransmit==0' is not redundant Xastir-Release-2.2.0/src/objects.c:1360:40: note: Condition 'p_station->object_retransmit>0' is always true Xastir-Release-2.2.0/src/objects.c:3207:5: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] Xastir-Release-2.2.0/src/objects.c:3208:5: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] Xastir-Release-2.2.0/src/objects.c:3223:7: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] Xastir-Release-2.2.0/src/objects.c:3223:7: warning: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] Xastir-Release-2.2.0/src/objects.c:7854:5: warning: %lu in format string (no. 3) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] Xastir-Release-2.2.0/src/objects.c:7854:5: warning: %lu in format string (no. 4) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] Xastir-Release-2.2.0/src/objects.c:11732:5: error: Resource leak: f_temp [resourceLeak] Xastir-Release-2.2.0/src/objects.c:11737:5: error: Resource leak: f [resourceLeak] Xastir-Release-2.2.0/src/objects.c:2451:32: warning: Either the condition 'vertex_pointer!=NULL' is redundant or there is possible null pointer dereference: vertex_pointer. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/objects.c:2453:22: note: Assuming that condition 'vertex_pointer!=NULL' is not redundant Xastir-Release-2.2.0/src/objects.c:2451:32: note: Null pointer dereference Xastir-Release-2.2.0/src/objects.c:2452:33: warning: Either the condition 'vertex_pointer!=NULL' is redundant or there is possible null pointer dereference: vertex_pointer. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/objects.c:2453:22: note: Assuming that condition 'vertex_pointer!=NULL' is not redundant Xastir-Release-2.2.0/src/objects.c:2452:33: note: Null pointer dereference Xastir-Release-2.2.0/src/objects.c:3500:20: warning: Either the condition 'cadName==NULL' is redundant or there is possible null pointer dereference: cadName. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/objects.c:3501:27: note: Assuming that condition 'cadName==NULL' is not redundant Xastir-Release-2.2.0/src/objects.c:3500:20: note: Null pointer dereference Xastir-Release-2.2.0/src/objects.c:3820:22: warning: Either the condition 'cadName==NULL' is redundant or there is possible null pointer dereference: cadName. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/objects.c:3821:29: note: Assuming that condition 'cadName==NULL' is not redundant Xastir-Release-2.2.0/src/objects.c:3820:22: note: Null pointer dereference Xastir-Release-2.2.0/src/objects.c:7539:20: warning: If resource allocation fails, then there is a possible null pointer dereference: fp_file [nullPointerOutOfResources] Xastir-Release-2.2.0/src/objects.c:7526:22: note: Assuming allocation function fails Xastir-Release-2.2.0/src/objects.c:7526:22: note: Assignment 'fp_file=fopen(get_data_base_dir(predefined_object_definition_file),"r")', assigned value is 0 Xastir-Release-2.2.0/src/objects.c:7539:20: note: Null pointer dereference Xastir-Release-2.2.0/src/rtree/index.c:169:79: style:inconclusive: Function 'Xastir_RTreeInsertRect' argument 4 names different: declaration 'depth' definition 'Level'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/rtree/index.h:101:76: note: Function 'Xastir_RTreeInsertRect' argument 4 names different: declaration 'depth' definition 'Level'. Xastir-Release-2.2.0/src/rtree/index.c:169:79: note: Function 'Xastir_RTreeInsertRect' argument 4 names different: declaration 'depth' definition 'Level'. Xastir-Release-2.2.0/src/objects.c:2534:15: style: Variable 'cb_selected' is reassigned a value before the old one has been used. [redundantAssignment] Xastir-Release-2.2.0/src/objects.c:2526:15: note: cb_selected is assigned Xastir-Release-2.2.0/src/objects.c:2534:15: note: cb_selected is overwritten Xastir-Release-2.2.0/src/objects.c:2760:15: style: Variable 'cad_label' is reassigned a value before the old one has been used. [redundantAssignment] Xastir-Release-2.2.0/src/objects.c:2746:15: note: cad_label is assigned Xastir-Release-2.2.0/src/objects.c:2760:15: note: cad_label is overwritten Xastir-Release-2.2.0/src/objects.c:2965:17: style: Variable 'clsd_widget' is reassigned a value before the old one has been used. [redundantAssignment] Xastir-Release-2.2.0/src/objects.c:2886:17: note: clsd_widget is assigned Xastir-Release-2.2.0/src/objects.c:2965:17: note: clsd_widget is overwritten Xastir-Release-2.2.0/src/objects.c:4317:19: style: Variable 'x_offset' is reassigned a value before the old one has been used. [redundantAssignment] Xastir-Release-2.2.0/src/objects.c:4314:19: note: x_offset is assigned Xastir-Release-2.2.0/src/objects.c:4317:19: note: x_offset is overwritten Xastir-Release-2.2.0/src/objects.c:4318:19: style: Variable 'y_offset' is reassigned a value before the old one has been used. [redundantAssignment] Xastir-Release-2.2.0/src/objects.c:4315:19: note: y_offset is assigned Xastir-Release-2.2.0/src/objects.c:4318:19: note: y_offset is overwritten Xastir-Release-2.2.0/src/objects.c:227:35: style:inconclusive: Function 'Object_History_Clear' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.h:143:42: note: Function 'Object_History_Clear' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/objects.c:227:35: note: Function 'Object_History_Clear' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/objects.c:227:56: style:inconclusive: Function 'Object_History_Clear' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.h:143:55: note: Function 'Object_History_Clear' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/objects.c:227:56: note: Function 'Object_History_Clear' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/objects.c:227:86: style:inconclusive: Function 'Object_History_Clear' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.h:143:77: note: Function 'Object_History_Clear' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/objects.c:227:86: note: Function 'Object_History_Clear' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/objects.c:258:37: style:inconclusive: Function 'Object_History_Refresh' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.h:142:44: note: Function 'Object_History_Refresh' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/objects.c:258:37: note: Function 'Object_History_Refresh' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/objects.c:258:58: style:inconclusive: Function 'Object_History_Refresh' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.h:142:57: note: Function 'Object_History_Refresh' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/objects.c:258:58: note: Function 'Object_History_Refresh' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/objects.c:258:88: style:inconclusive: Function 'Object_History_Refresh' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.h:142:79: note: Function 'Object_History_Refresh' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/objects.c:258:88: note: Function 'Object_History_Refresh' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/objects.c:3113:36: style:inconclusive: Function 'Draw_CAD_Objects_mode' argument 1 names different: declaration 'widget' definition 'UNUSED_widget'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.h:145:43: note: Function 'Draw_CAD_Objects_mode' argument 1 names different: declaration 'widget' definition 'UNUSED_widget'. Xastir-Release-2.2.0/src/objects.c:3113:36: note: Function 'Draw_CAD_Objects_mode' argument 1 names different: declaration 'widget' definition 'UNUSED_widget'. Xastir-Release-2.2.0/src/objects.c:3114:39: style:inconclusive: Function 'Draw_CAD_Objects_mode' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.h:145:61: note: Function 'Draw_CAD_Objects_mode' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/objects.c:3114:39: note: Function 'Draw_CAD_Objects_mode' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/objects.c:3423:51: style:inconclusive: Function 'Draw_CAD_Objects_erase_dialog_close' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.c:139:49: note: Function 'Draw_CAD_Objects_erase_dialog_close' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/objects.c:3423:51: note: Function 'Draw_CAD_Objects_erase_dialog_close' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/objects.c:3424:15: style:inconclusive: Function 'Draw_CAD_Objects_erase_dialog_close' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.c:139:62: note: Function 'Draw_CAD_Objects_erase_dialog_close' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/objects.c:3424:15: note: Function 'Draw_CAD_Objects_erase_dialog_close' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/objects.c:3425:15: style:inconclusive: Function 'Draw_CAD_Objects_erase_dialog_close' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.c:139:84: note: Function 'Draw_CAD_Objects_erase_dialog_close' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/objects.c:3425:15: note: Function 'Draw_CAD_Objects_erase_dialog_close' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/objects.c:3543:44: style:inconclusive: Function 'Draw_CAD_Objects_erase_dialog' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.h:52:50: note: Function 'Draw_CAD_Objects_erase_dialog' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/objects.c:3543:44: note: Function 'Draw_CAD_Objects_erase_dialog' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/objects.c:3544:47: style:inconclusive: Function 'Draw_CAD_Objects_erase_dialog' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.h:52:63: note: Function 'Draw_CAD_Objects_erase_dialog' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/objects.c:3544:47: note: Function 'Draw_CAD_Objects_erase_dialog' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/objects.c:3545:47: style:inconclusive: Function 'Draw_CAD_Objects_erase_dialog' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.h:52:85: note: Function 'Draw_CAD_Objects_erase_dialog' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/objects.c:3545:47: note: Function 'Draw_CAD_Objects_erase_dialog' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/objects.c:3745:50: style:inconclusive: Function 'Draw_CAD_Objects_list_dialog_close' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.c:140:48: note: Function 'Draw_CAD_Objects_list_dialog_close' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/objects.c:3745:50: note: Function 'Draw_CAD_Objects_list_dialog_close' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/objects.c:3746:15: style:inconclusive: Function 'Draw_CAD_Objects_list_dialog_close' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.c:140:61: note: Function 'Draw_CAD_Objects_list_dialog_close' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/objects.c:3746:15: note: Function 'Draw_CAD_Objects_list_dialog_close' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/objects.c:3747:15: style:inconclusive: Function 'Draw_CAD_Objects_list_dialog_close' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.c:140:83: note: Function 'Draw_CAD_Objects_list_dialog_close' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/objects.c:3747:15: note: Function 'Draw_CAD_Objects_list_dialog_close' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/objects.c:3851:43: style:inconclusive: Function 'Draw_CAD_Objects_list_dialog' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.h:53:49: note: Function 'Draw_CAD_Objects_list_dialog' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/objects.c:3851:43: note: Function 'Draw_CAD_Objects_list_dialog' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/objects.c:3852:46: style:inconclusive: Function 'Draw_CAD_Objects_list_dialog' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.h:53:62: note: Function 'Draw_CAD_Objects_list_dialog' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/objects.c:3852:46: note: Function 'Draw_CAD_Objects_list_dialog' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/objects.c:3853:46: style:inconclusive: Function 'Draw_CAD_Objects_list_dialog' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.h:53:84: note: Function 'Draw_CAD_Objects_list_dialog' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/objects.c:3853:46: note: Function 'Draw_CAD_Objects_list_dialog' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/objects.c:4038:40: style:inconclusive: Function 'Draw_CAD_Objects_erase' argument 3 names different: declaration 'calldata' definition 'callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.h:147:78: note: Function 'Draw_CAD_Objects_erase' argument 3 names different: declaration 'calldata' definition 'callData'. Xastir-Release-2.2.0/src/objects.c:4038:40: note: Function 'Draw_CAD_Objects_erase' argument 3 names different: declaration 'calldata' definition 'callData'. Xastir-Release-2.2.0/src/objects.c:4157:45: style:inconclusive: Function 'Draw_CAD_Objects_close_polygon' argument 1 names different: declaration 'w' definition 'UNUSED_widget'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.h:146:51: note: Function 'Draw_CAD_Objects_close_polygon' argument 1 names different: declaration 'w' definition 'UNUSED_widget'. Xastir-Release-2.2.0/src/objects.c:4157:45: note: Function 'Draw_CAD_Objects_close_polygon' argument 1 names different: declaration 'w' definition 'UNUSED_widget'. Xastir-Release-2.2.0/src/objects.c:4158:48: style:inconclusive: Function 'Draw_CAD_Objects_close_polygon' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.h:146:64: note: Function 'Draw_CAD_Objects_close_polygon' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/objects.c:4158:48: note: Function 'Draw_CAD_Objects_close_polygon' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/objects.c:4159:48: style:inconclusive: Function 'Draw_CAD_Objects_close_polygon' argument 3 names different: declaration 'calldata' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.h:146:86: note: Function 'Draw_CAD_Objects_close_polygon' argument 3 names different: declaration 'calldata' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/objects.c:4159:48: note: Function 'Draw_CAD_Objects_close_polygon' argument 3 names different: declaration 'calldata' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/objects.c:6634:41: style:inconclusive: Function 'updateObjectPictureCallback' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:431:48: note: Function 'updateObjectPictureCallback' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/objects.c:6634:41: note: Function 'updateObjectPictureCallback' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/objects.c:6634:62: style:inconclusive: Function 'updateObjectPictureCallback' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:431:60: note: Function 'updateObjectPictureCallback' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/objects.c:6634:62: note: Function 'updateObjectPictureCallback' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/objects.c:6634:92: style:inconclusive: Function 'updateObjectPictureCallback' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:431:81: note: Function 'updateObjectPictureCallback' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/objects.c:6634:92: note: Function 'updateObjectPictureCallback' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/objects.c:7808:31: style:inconclusive: Function 'Create_SAR_Object' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.h:109:38: note: Function 'Create_SAR_Object' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/objects.c:7808:31: note: Function 'Create_SAR_Object' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/objects.c:7808:74: style:inconclusive: Function 'Create_SAR_Object' argument 3 names different: declaration 'calldata' definition 'UNUSED_calldata'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/objects.h:109:73: note: Function 'Create_SAR_Object' argument 3 names different: declaration 'calldata' definition 'UNUSED_calldata'. Xastir-Release-2.2.0/src/objects.c:7808:74: note: Function 'Create_SAR_Object' argument 3 names different: declaration 'calldata' definition 'UNUSED_calldata'. Xastir-Release-2.2.0/src/objects.c:7818:8: style: Local variable 'symbol' shadows outer function [shadowFunction] Xastir-Release-2.2.0/src/draw_symbols.h:52:13: note: Shadowed declaration Xastir-Release-2.2.0/src/objects.c:7818:8: note: Shadow variable Xastir-Release-2.2.0/src/objects.c:11410:19: style: Local variable 'width' shadows outer variable [shadowVariable] Xastir-Release-2.2.0/src/objects.c:8088:13: note: Shadowed declaration Xastir-Release-2.2.0/src/objects.c:11410:19: note: Shadow variable Xastir-Release-2.2.0/src/objects.c:11410:26: style: Local variable 'height' shadows outer variable [shadowVariable] Xastir-Release-2.2.0/src/objects.c:8088:20: note: Shadowed declaration Xastir-Release-2.2.0/src/objects.c:11410:26: note: Shadow variable Xastir-Release-2.2.0/src/objects.c:164:24: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/objects.c:193:22: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/objects.c:229:9: style: Variable 'file' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:2001:38: style: Parameter 'label' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/objects.c:2029:48: style: Parameter 'label' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/objects.c:2347:46: style: Parameter 'object_ptr' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/objects.c:3118:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:3178:9: style: Variable 'file' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:3244:9: style: Variable 'file' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:3452:9: style: Variable 'cadName' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:3775:9: style: Variable 'cadName' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:4071:37: style: Parameter 'area_km2' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/objects.c:6689:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:6785:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:6881:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:6988:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7093:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7203:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7204:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7241:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7242:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7266:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7267:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7288:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7289:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7310:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7336:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7362:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7363:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7385:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7386:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7408:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7409:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7431:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7432:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7454:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7455:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:7495:9: style: Variable 'variable' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/objects.c:11674:31: style: Parameter 'call_sign' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/objects.c:11862:28: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/rtree/node.c:225:9: style: Variable 'bestIncr' is assigned an expression that holds the same value. [redundantAssignment] Xastir-Release-2.2.0/src/rtree/node.c:221:25: note: Assuming that condition 'increase==bestIncr' is not redundant Xastir-Release-2.2.0/src/rtree/node.c:225:9: note: Variable 'bestIncr' is assigned an expression that holds the same value. Xastir-Release-2.2.0/src/objects.c:2445:11: style: Variable 'min_lat' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/objects.c:2446:12: style: Variable 'min_long' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/objects.c:3455:22: style: Variable 'object_ptr' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/objects.c:3778:22: style: Variable 'object_ptr' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/objects.c:3779:12: style: Variable 'done' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/rtree/sphvol.c:77:33: style: Parameter 'argv' can be declared as const array [constParameter] Xastir-Release-2.2.0/src/rtree/split_q.c:132:17: warning: Uninitialized variable: seed0 [uninitvar] Xastir-Release-2.2.0/src/rtree/split_q.c:115:14: note: Assuming condition is false Xastir-Release-2.2.0/src/rtree/split_q.c:132:17: note: Uninitialized variable: seed0 Xastir-Release-2.2.0/src/rtree/split_q.c:133:17: warning: Uninitialized variable: seed1 [uninitvar] Xastir-Release-2.2.0/src/rtree/split_q.c:115:14: note: Assuming condition is false Xastir-Release-2.2.0/src/rtree/split_q.c:133:17: note: Uninitialized variable: seed1 Xastir-Release-2.2.0/src/rtree/split_l.c:129:25: style: Variable 'r' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/rtree/split_l.c:170:10: style: Variable 'high' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/rtree/split_l.c:189:18: style: Variable 'separation' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/sound.c:70:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/sound.c:128:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/testdbfawk.c:315:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/snprintf.c:767:27: style: Condition 'caps' is always false [knownConditionTrueFalse] Xastir-Release-2.2.0/src/snprintf.c:707:14: note: Assignment 'caps=0', assigned value is 0 Xastir-Release-2.2.0/src/snprintf.c:767:27: note: Condition 'caps' is always false Xastir-Release-2.2.0/src/snprintf.c:469:15: style: Variable 'flags' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] Xastir-Release-2.2.0/src/snprintf.c:395:19: note: $symbol is assigned Xastir-Release-2.2.0/src/snprintf.c:469:15: note: $symbol is overwritten Xastir-Release-2.2.0/src/snprintf.c:469:15: style: Variable 'flags' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] Xastir-Release-2.2.0/src/snprintf.c:407:19: note: $symbol is assigned Xastir-Release-2.2.0/src/snprintf.c:469:15: note: $symbol is overwritten Xastir-Release-2.2.0/src/snprintf.c:467:12: style: Variable 'ch' is reassigned a value before the old one has been used. [redundantAssignment] Xastir-Release-2.2.0/src/snprintf.c:461:16: note: ch is assigned Xastir-Release-2.2.0/src/snprintf.c:467:12: note: ch is overwritten Xastir-Release-2.2.0/src/snprintf.c:879:72: style:inconclusive: Function 'xastir_vsnprintf' argument 4 names different: declaration 'ap' definition 'args'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/snprintf.h:38:74: note: Function 'xastir_vsnprintf' argument 4 names different: declaration 'ap' definition 'args'. Xastir-Release-2.2.0/src/snprintf.c:879:72: note: Function 'xastir_vsnprintf' argument 4 names different: declaration 'ap' definition 'args'. Xastir-Release-2.2.0/src/tile_mgmnt.c:246:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/tile_mgmnt.c:326:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/tile_mgmnt.c:363:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/tile_mgmnt.c:168:25: style:inconclusive: Function 'tilesMissing' argument 6 names different: declaration 'baseDir' definition 'cacheDir'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/tile_mgmnt.h:63:119: note: Function 'tilesMissing' argument 6 names different: declaration 'baseDir' definition 'cacheDir'. Xastir-Release-2.2.0/src/tile_mgmnt.c:168:25: note: Function 'tilesMissing' argument 6 names different: declaration 'baseDir' definition 'cacheDir'. Xastir-Release-2.2.0/src/tile_mgmnt.c:67:10: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] Xastir-Release-2.2.0/src/tile_mgmnt.c:125:10: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] Xastir-Release-2.2.0/src/track_gui.c:221:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/track_gui.c:651:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/track_gui.c:713:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/track_gui.c:826:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNvalue [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/track_gui.c:858:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/track_gui.c:188:19: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] Xastir-Release-2.2.0/src/track_gui.c:461:8: style: Unused variable: sys_cmd [unusedVariable] Xastir-Release-2.2.0/src/view_message_gui.c:179:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmTEXT_FORWARD [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/view_message_gui.c:373:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmTEXT_FORWARD [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/view_message_gui.c:471:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/view_message_gui.c:502:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/view_message_gui.c:144:17: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/view_message_gui.c:271:17: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/view_message_gui.c:98:7: style: Redundant condition: !Read_messages_mine_only. 'A || (!A && B)' is equivalent to 'A || B' [redundantCondition] Xastir-Release-2.2.0/src/view_message_gui.c:224:7: style: Redundant condition: !Read_messages_mine_only. 'A || (!A && B)' is equivalent to 'A || B' [redundantCondition] Xastir-Release-2.2.0/src/view_message_gui.c:484:32: style:inconclusive: Function 'view_all_messages' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/xastir.h:259:38: note: Function 'view_all_messages' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/view_message_gui.c:484:32: note: Function 'view_all_messages' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/view_message_gui.c:484:53: style:inconclusive: Function 'view_all_messages' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/xastir.h:259:51: note: Function 'view_all_messages' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/view_message_gui.c:484:53: note: Function 'view_all_messages' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/view_message_gui.c:484:83: style:inconclusive: Function 'view_all_messages' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/xastir.h:259:73: note: Function 'view_all_messages' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/view_message_gui.c:484:83: note: Function 'view_all_messages' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/view_message_gui.c:440:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/view_message_gui.c:441:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/view_message_gui.c:465:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/view_message_gui.c:466:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/util.c:135:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/util.c:214:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/util.c:335:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/util.c:407:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/util.c:501:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/util.c:694:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/util.c:1933:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/util.c:3895:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/util.c:3955:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/util.c:3983:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/util.c:4148:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/util.c:4227:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/util.c:4325:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/util.c:4425:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/util.c:4474:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/util.c:4703:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/util.c:4950:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/util.c:5495:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/util.c:5570:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/util.c:5830:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/util.c:5867:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/util.c:6290:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/wx.c:207:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/wx.c:300:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/wx.c:402:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/wx.c:593:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/wx.c:823:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/wx.c:1091:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/wx.c:1314:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/wx.c:3531:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/wx.c:3992:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/wx.c:4347:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/maps.c:7204:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] Xastir-Release-2.2.0/src/maps.c:6056:7: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/maps.c:6060:9: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/maps.c:6813:25: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] Xastir-Release-2.2.0/src/maps.c:6962:20: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] Xastir-Release-2.2.0/src/maps.c:6226:28: style: Redundant condition: max_zoom!=0. 'max_zoom==0 || (max_zoom!=0 && scale_y<=max_zoom)' is equivalent to 'max_zoom==0 || scale_y<=max_zoom' [redundantCondition] Xastir-Release-2.2.0/src/maps.c:6228:28: style: Redundant condition: min_zoom!=0. 'min_zoom==0 || (min_zoom!=0 && scale_y>=min_zoom)' is equivalent to 'min_zoom==0 || scale_y>=min_zoom' [redundantCondition] Xastir-Release-2.2.0/src/maps.c:4318:25: style: Assignment 'printer_program[0]='\0'' is redundant with condition 'printer_program[0]=='\0''. [duplicateConditionalAssign] Xastir-Release-2.2.0/src/maps.c:4307:28: note: Condition 'printer_program[0]=='\0'' Xastir-Release-2.2.0/src/maps.c:4318:25: note: Assignment 'printer_program[0]='\0'' is redundant Xastir-Release-2.2.0/src/maps.c:4345:28: style: Assignment 'previewer_program[0]='\0'' is redundant with condition 'previewer_program[0]=='\0''. [duplicateConditionalAssign] Xastir-Release-2.2.0/src/maps.c:4334:30: note: Condition 'previewer_program[0]=='\0'' Xastir-Release-2.2.0/src/maps.c:4345:28: note: Assignment 'previewer_program[0]='\0'' is redundant Xastir-Release-2.2.0/src/maps.c:8114:17: style: The statement 'if (current!=map_index_head) current=map_index_head' is logically equivalent to 'current=map_index_head'. [duplicateConditionalAssign] Xastir-Release-2.2.0/src/maps.c:8116:15: note: Assignment 'current=map_index_head' Xastir-Release-2.2.0/src/maps.c:8114:17: note: Condition 'current!=map_index_head' is redundant Xastir-Release-2.2.0/src/maps.c:363:34: style: Condition 'utm_grid.zone[i].row[j].nalloced' is always false [knownConditionTrueFalse] Xastir-Release-2.2.0/src/maps.c:361:44: note: Assignment 'utm_grid.zone[i].row[j].nalloced=0', assigned value is 0 Xastir-Release-2.2.0/src/maps.c:363:34: note: Condition 'utm_grid.zone[i].row[j].nalloced' is always false Xastir-Release-2.2.0/src/maps.c:9314:11: style: Condition 'iterator' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/maps.c:9326:11: style: Condition 'iterator' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/maps.c:9572:28: style: Condition 'map_layermap_layer' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/maps.c:9567:23: note: Assuming that condition 'map_layer>=current->map_layer' is not redundant Xastir-Release-2.2.0/src/maps.c:9572:28: note: Condition 'map_layermap_layer' is always true Xastir-Release-2.2.0/src/maps.c:3781:7: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] Xastir-Release-2.2.0/src/maps.c:3795:7: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] Xastir-Release-2.2.0/src/maps.c:3809:7: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] Xastir-Release-2.2.0/src/maps.c:3823:7: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] Xastir-Release-2.2.0/src/maps.c:6893:25: warning: If resource allocation fails, then there is a possible null pointer dereference: dm [nullPointerOutOfResources] Xastir-Release-2.2.0/src/maps.c:6800:22: note: Assuming allocation function fails Xastir-Release-2.2.0/src/maps.c:6800:22: note: Assignment 'dm=opendir(dir)', assigned value is 0 Xastir-Release-2.2.0/src/maps.c:6893:25: note: Null pointer dereference Xastir-Release-2.2.0/src/maps.c:7107:43: warning: Either the condition 'alert_count' is redundant or there is possible null pointer dereference: alert_count. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/maps.c:7116:21: note: Assuming that condition 'alert_count' is not redundant Xastir-Release-2.2.0/src/maps.c:7107:43: note: Null pointer dereference Xastir-Release-2.2.0/src/maps.c:7137:43: warning: Either the condition 'alert_count' is redundant or there is possible null pointer dereference: alert_count. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/maps.c:7142:21: note: Assuming that condition 'alert_count' is not redundant Xastir-Release-2.2.0/src/maps.c:7137:43: note: Null pointer dereference Xastir-Release-2.2.0/src/maps.c:7306:62: warning: Either the condition 'directory==NULL' is redundant or there is possible null pointer dereference: directory. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/maps.c:7301:19: note: Assuming that condition 'directory==NULL' is not redundant Xastir-Release-2.2.0/src/maps.c:7306:62: note: Null pointer dereference Xastir-Release-2.2.0/src/maps.c:7471:59: warning: Either the condition 'filename==NULL' is redundant or there is possible null pointer dereference: filename. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/maps.c:7467:18: note: Assuming that condition 'filename==NULL' is not redundant Xastir-Release-2.2.0/src/maps.c:7471:59: note: Null pointer dereference Xastir-Release-2.2.0/src/maps.c:7719:55: warning: Either the condition 'filename==NULL' is redundant or there is possible null pointer dereference: filename. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/maps.c:7715:18: note: Assuming that condition 'filename==NULL' is not redundant Xastir-Release-2.2.0/src/maps.c:7719:55: note: Null pointer dereference Xastir-Release-2.2.0/src/maps.c:7977:61: warning: Either the condition 'filename==NULL' is redundant or there is possible null pointer dereference: filename. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/maps.c:7975:18: note: Assuming that condition 'filename==NULL' is not redundant Xastir-Release-2.2.0/src/maps.c:7977:61: note: Null pointer dereference Xastir-Release-2.2.0/src/maps.c:9378:33: warning: Either the condition 'temp' is redundant or there is possible null pointer dereference: temp. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/maps.c:9410:15: note: Assuming that condition 'temp' is not redundant Xastir-Release-2.2.0/src/maps.c:9378:33: note: Null pointer dereference Xastir-Release-2.2.0/src/maps.c:9379:33: warning: Either the condition 'temp' is redundant or there is possible null pointer dereference: temp. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/maps.c:9410:15: note: Assuming that condition 'temp' is not redundant Xastir-Release-2.2.0/src/maps.c:9379:33: note: Null pointer dereference Xastir-Release-2.2.0/src/maps.c:9380:33: warning: Either the condition 'temp' is redundant or there is possible null pointer dereference: temp. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/maps.c:9410:15: note: Assuming that condition 'temp' is not redundant Xastir-Release-2.2.0/src/maps.c:9380:33: note: Null pointer dereference Xastir-Release-2.2.0/src/maps.c:9381:33: warning: Either the condition 'temp' is redundant or there is possible null pointer dereference: temp. [nullPointerRedundantCheck] Xastir-Release-2.2.0/src/maps.c:9410:15: note: Assuming that condition 'temp' is not redundant Xastir-Release-2.2.0/src/maps.c:9381:33: note: Null pointer dereference Xastir-Release-2.2.0/src/maps.c:1333:23: style: Variable 'string_width_pixels' is reassigned a value before the old one has been used. [redundantAssignment] Xastir-Release-2.2.0/src/maps.c:1330:25: note: string_width_pixels is assigned Xastir-Release-2.2.0/src/maps.c:1333:23: note: string_width_pixels is overwritten Xastir-Release-2.2.0/src/maps.c:3116:23: style: Variable 'coordinate_system' is reassigned a value before the old one has been used. [redundantAssignment] Xastir-Release-2.2.0/src/maps.c:3108:23: note: coordinate_system is assigned Xastir-Release-2.2.0/src/maps.c:3116:23: note: coordinate_system is overwritten Xastir-Release-2.2.0/src/maps.c:957:21: style: Checking if unsigned expression '*x0' is less than zero. [unsignedLessThanZero] Xastir-Release-2.2.0/src/maps.c:950:27: note: Assignment 'x_left=0', assigned value is 0 Xastir-Release-2.2.0/src/maps.c:957:21: note: Unsigned less than zero Xastir-Release-2.2.0/src/maps.c:3760:32: style:inconclusive: Function 'map_visible' argument 1 names different: declaration 'bottom_map_boundary' definition 'map_max_y'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:161:39: note: Function 'map_visible' argument 1 names different: declaration 'bottom_map_boundary' definition 'map_max_y'. Xastir-Release-2.2.0/src/maps.c:3760:32: note: Function 'map_visible' argument 1 names different: declaration 'bottom_map_boundary' definition 'map_max_y'. Xastir-Release-2.2.0/src/maps.c:3761:32: style:inconclusive: Function 'map_visible' argument 2 names different: declaration 'top_map_boundary' definition 'map_min_y'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:162:39: note: Function 'map_visible' argument 2 names different: declaration 'top_map_boundary' definition 'map_min_y'. Xastir-Release-2.2.0/src/maps.c:3761:32: note: Function 'map_visible' argument 2 names different: declaration 'top_map_boundary' definition 'map_min_y'. Xastir-Release-2.2.0/src/maps.c:3762:32: style:inconclusive: Function 'map_visible' argument 3 names different: declaration 'left_map_boundary' definition 'map_min_x'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:163:39: note: Function 'map_visible' argument 3 names different: declaration 'left_map_boundary' definition 'map_min_x'. Xastir-Release-2.2.0/src/maps.c:3762:32: note: Function 'map_visible' argument 3 names different: declaration 'left_map_boundary' definition 'map_min_x'. Xastir-Release-2.2.0/src/maps.c:3763:32: style:inconclusive: Function 'map_visible' argument 4 names different: declaration 'right_map_boundary' definition 'map_max_x'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:164:39: note: Function 'map_visible' argument 4 names different: declaration 'right_map_boundary' definition 'map_max_x'. Xastir-Release-2.2.0/src/maps.c:3763:32: note: Function 'map_visible' argument 4 names different: declaration 'right_map_boundary' definition 'map_max_x'. Xastir-Release-2.2.0/src/maps.c:3911:33: style:inconclusive: Function 'map_visible_lat_lon' argument 1 names different: declaration 'f_bottom_map_boundary' definition 'map_min_y'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:165:40: note: Function 'map_visible_lat_lon' argument 1 names different: declaration 'f_bottom_map_boundary' definition 'map_min_y'. Xastir-Release-2.2.0/src/maps.c:3911:33: note: Function 'map_visible_lat_lon' argument 1 names different: declaration 'f_bottom_map_boundary' definition 'map_min_y'. Xastir-Release-2.2.0/src/maps.c:3912:33: style:inconclusive: Function 'map_visible_lat_lon' argument 2 names different: declaration 'f_top_map_boundary' definition 'map_max_y'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:166:40: note: Function 'map_visible_lat_lon' argument 2 names different: declaration 'f_top_map_boundary' definition 'map_max_y'. Xastir-Release-2.2.0/src/maps.c:3912:33: note: Function 'map_visible_lat_lon' argument 2 names different: declaration 'f_top_map_boundary' definition 'map_max_y'. Xastir-Release-2.2.0/src/maps.c:3913:33: style:inconclusive: Function 'map_visible_lat_lon' argument 3 names different: declaration 'f_left_map_boundary' definition 'map_min_x'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:167:40: note: Function 'map_visible_lat_lon' argument 3 names different: declaration 'f_left_map_boundary' definition 'map_min_x'. Xastir-Release-2.2.0/src/maps.c:3913:33: note: Function 'map_visible_lat_lon' argument 3 names different: declaration 'f_left_map_boundary' definition 'map_min_x'. Xastir-Release-2.2.0/src/maps.c:3914:33: style:inconclusive: Function 'map_visible_lat_lon' argument 4 names different: declaration 'f_right_map_boundary' definition 'map_max_x'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:168:40: note: Function 'map_visible_lat_lon' argument 4 names different: declaration 'f_right_map_boundary' definition 'map_max_x'. Xastir-Release-2.2.0/src/maps.c:3914:33: note: Function 'map_visible_lat_lon' argument 4 names different: declaration 'f_right_map_boundary' definition 'map_max_x'. Xastir-Release-2.2.0/src/maps.c:4973:26: style:inconclusive: Function 'Monochrome' argument 1 names different: declaration 'widget' definition 'UNUSED_widget'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:177:33: note: Function 'Monochrome' argument 1 names different: declaration 'widget' definition 'UNUSED_widget'. Xastir-Release-2.2.0/src/maps.c:4973:26: note: Function 'Monochrome' argument 1 names different: declaration 'widget' definition 'UNUSED_widget'. Xastir-Release-2.2.0/src/maps.c:5503:31: style:inconclusive: Function 'Print_Postscript' argument 1 names different: declaration 'widget' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:217:37: note: Function 'Print_Postscript' argument 1 names different: declaration 'widget' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/maps.c:5503:31: note: Function 'Print_Postscript' argument 1 names different: declaration 'widget' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/maps.c:5503:52: style:inconclusive: Function 'Print_Postscript' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:217:55: note: Function 'Print_Postscript' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/maps.c:5503:52: note: Function 'Print_Postscript' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/maps.c:5503:82: style:inconclusive: Function 'Print_Postscript' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:217:77: note: Function 'Print_Postscript' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/maps.c:5503:82: note: Function 'Print_Postscript' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/maps.c:6112:41: style:inconclusive: Function 'map_onscreen' argument 5 names different: declaration 'checkpercentage' definition 'UNUSED_check_percentage'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:201:94: note: Function 'map_onscreen' argument 5 names different: declaration 'checkpercentage' definition 'UNUSED_check_percentage'. Xastir-Release-2.2.0/src/maps.c:6112:41: note: Function 'map_onscreen' argument 5 names different: declaration 'checkpercentage' definition 'UNUSED_check_percentage'. Xastir-Release-2.2.0/src/maps.c:8079:25: style:inconclusive: Function 'index_retrieve' argument 11 names different: declaration 'automaps' definition 'auto_maps'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:153:47: note: Function 'index_retrieve' argument 11 names different: declaration 'automaps' definition 'auto_maps'. Xastir-Release-2.2.0/src/maps.c:8079:25: note: Function 'index_retrieve' argument 11 names different: declaration 'automaps' definition 'auto_maps'. Xastir-Release-2.2.0/src/maps.c:9605:39: style:inconclusive: Function 'load_auto_maps' argument 2 names different: declaration 'dir' definition 'UNUSED_dir'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/maps.h:141:37: note: Function 'load_auto_maps' argument 2 names different: declaration 'dir' definition 'UNUSED_dir'. Xastir-Release-2.2.0/src/maps.c:9605:39: note: Function 'load_auto_maps' argument 2 names different: declaration 'dir' definition 'UNUSED_dir'. Xastir-Release-2.2.0/src/maps.c:4902:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/maps.c:4903:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/maps.c:4927:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/maps.c:4928:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/maps.c:4952:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/maps.c:4953:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/maps.c:4975:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/maps.c:4976:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/maps.c:4998:9: style: Variable 'which' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/maps.c:4999:33: style: Variable 'state' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/maps.c:6377:9: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/maps.c:8069:26: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/maps.c:3096:14: style: Variable 'Zone' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/maps.c:3097:14: style: Variable 'done' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/maps.c:3111:9: style: Variable 'yy1' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/maps.c:3471:14: style: Variable 'fp' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/maps.c:3527:14: style: Variable 'fp' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/maps.c:3573:20: style: Variable 'border_width' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/maps.c:9460:29: style: Variable 'current' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/wx_gui.c:124:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/wx_gui.c:430:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmFONTLIST_DEFAULT_TAG [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/wx_gui.c:556:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmNitemCount [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/wx_gui.c:682:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/wx_gui.c:922:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmDialogShellWidgetClass [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/wx_gui.c:294:16: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] Xastir-Release-2.2.0/src/wx_gui.c:522:24: warning: Identical inner 'return' condition is always true. [identicalInnerCondition] Xastir-Release-2.2.0/src/wx_gui.c:520:18: note: outer condition: a_active-b_active Xastir-Release-2.2.0/src/wx_gui.c:522:24: note: identical inner condition: a_active-b_active Xastir-Release-2.2.0/src/wx_gui.c:396:18: style: Variable 'ptr' is reassigned a value before the old one has been used. [redundantAssignment] Xastir-Release-2.2.0/src/wx_gui.c:395:9: note: ptr is assigned Xastir-Release-2.2.0/src/wx_gui.c:396:18: note: ptr is overwritten Xastir-Release-2.2.0/src/wx_gui.c:446:16: style: Variable 'ptr' is reassigned a value before the old one has been used. [redundantAssignment] Xastir-Release-2.2.0/src/wx_gui.c:445:7: note: ptr is assigned Xastir-Release-2.2.0/src/wx_gui.c:446:16: note: ptr is overwritten Xastir-Release-2.2.0/src/wx_gui.c:107:37: style:inconclusive: Function 'wx_alert_finger_output' argument 1 names different: declaration 'widget' definition 'UNUSED_widget'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/wx.h:74:44: note: Function 'wx_alert_finger_output' argument 1 names different: declaration 'widget' definition 'UNUSED_widget'. Xastir-Release-2.2.0/src/wx_gui.c:107:37: note: Function 'wx_alert_finger_output' argument 1 names different: declaration 'widget' definition 'UNUSED_widget'. Xastir-Release-2.2.0/src/wx_gui.c:669:31: style:inconclusive: Function 'Display_Wx_Alert' argument 1 names different: declaration 'w' definition 'UNUSED_wdgt'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:382:37: note: Function 'Display_Wx_Alert' argument 1 names different: declaration 'w' definition 'UNUSED_wdgt'. Xastir-Release-2.2.0/src/wx_gui.c:669:31: note: Function 'Display_Wx_Alert' argument 1 names different: declaration 'w' definition 'UNUSED_wdgt'. Xastir-Release-2.2.0/src/wx_gui.c:669:55: style:inconclusive: Function 'Display_Wx_Alert' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:382:50: note: Function 'Display_Wx_Alert' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/wx_gui.c:669:55: note: Function 'Display_Wx_Alert' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/wx_gui.c:669:85: style:inconclusive: Function 'Display_Wx_Alert' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/main.h:382:72: note: Function 'Display_Wx_Alert' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/wx_gui.c:669:85: note: Function 'Display_Wx_Alert' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/wx_gui.c:905:25: style:inconclusive: Function 'WX_station' argument 1 names different: declaration 'w' definition 'UNUSED_w'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/wx.h:72:31: note: Function 'WX_station' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/wx_gui.c:905:25: note: Function 'WX_station' argument 1 names different: declaration 'w' definition 'UNUSED_w'. Xastir-Release-2.2.0/src/wx_gui.c:905:46: style:inconclusive: Function 'WX_station' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/wx.h:72:44: note: Function 'WX_station' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/wx_gui.c:905:46: note: Function 'WX_station' argument 2 names different: declaration 'clientData' definition 'UNUSED_clientData'. Xastir-Release-2.2.0/src/wx_gui.c:905:76: style:inconclusive: Function 'WX_station' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/wx.h:72:66: note: Function 'WX_station' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/wx_gui.c:905:76: note: Function 'WX_station' argument 3 names different: declaration 'callData' definition 'UNUSED_callData'. Xastir-Release-2.2.0/src/wx_gui.c:112:19: style: Variable 'ac' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/wx_gui.c:674:19: style: Variable 'ac' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/util.c:714:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Xastir-Release-2.2.0/src/util.c:747:16: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Xastir-Release-2.2.0/src/util.c:753:52: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Xastir-Release-2.2.0/src/util.c:794:16: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Xastir-Release-2.2.0/src/util.c:804:52: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Xastir-Release-2.2.0/src/util.c:830:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Xastir-Release-2.2.0/src/util.c:849:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Xastir-Release-2.2.0/src/util.c:868:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Xastir-Release-2.2.0/src/util.c:1729:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Xastir-Release-2.2.0/src/util.c:4294:16: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Xastir-Release-2.2.0/src/util.c:4483:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/util.c:4494:18: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/util.c:4501:18: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] Xastir-Release-2.2.0/src/util.c:4561:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] Xastir-Release-2.2.0/src/util.c:2096:16: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] Xastir-Release-2.2.0/src/util.c:135:5: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] Xastir-Release-2.2.0/src/util.c:144:5: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] Xastir-Release-2.2.0/src/util.c:153:5: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] Xastir-Release-2.2.0/src/util.c:162:5: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] Xastir-Release-2.2.0/src/util.c:5251:16: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] Xastir-Release-2.2.0/src/util.c:5877:27: note: Assuming allocation function fails Xastir-Release-2.2.0/src/util.c:5877:13: note: Assignment 'tmpdata=(char*)strdup(data)', assigned value is 0 Xastir-Release-2.2.0/src/util.c:5879:18: note: Calling function 'to_upper', 1st argument 'tmpdata' value is 0 Xastir-Release-2.2.0/src/util.c:5251:16: note: Null pointer dereference Xastir-Release-2.2.0/src/util.c:5252:21: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] Xastir-Release-2.2.0/src/util.c:5877:27: note: Assuming allocation function fails Xastir-Release-2.2.0/src/util.c:5877:13: note: Assignment 'tmpdata=(char*)strdup(data)', assigned value is 0 Xastir-Release-2.2.0/src/util.c:5879:18: note: Calling function 'to_upper', 1st argument 'tmpdata' value is 0 Xastir-Release-2.2.0/src/util.c:5252:21: note: Null pointer dereference Xastir-Release-2.2.0/src/util.c:5880:21: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpdata [nullPointerOutOfMemory] Xastir-Release-2.2.0/src/util.c:5877:27: note: Assuming allocation function fails Xastir-Release-2.2.0/src/util.c:5877:13: note: Assignment 'tmpdata=(char*)strdup(data)', assigned value is 0 Xastir-Release-2.2.0/src/util.c:5880:21: note: Null pointer dereference Xastir-Release-2.2.0/src/util.c:515:16: style: Variable 'ptr' is reassigned a value before the old one has been used. [redundantAssignment] Xastir-Release-2.2.0/src/util.c:514:7: note: ptr is assigned Xastir-Release-2.2.0/src/util.c:515:16: note: ptr is overwritten Xastir-Release-2.2.0/src/util.c:1702:35: style:inconclusive: Function 'time_from_aprsstring' argument 1 names different: declaration 'timestamp' definition 'aprs_time'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/util.h:99:42: note: Function 'time_from_aprsstring' argument 1 names different: declaration 'timestamp' definition 'aprs_time'. Xastir-Release-2.2.0/src/util.c:1702:35: note: Function 'time_from_aprsstring' argument 1 names different: declaration 'timestamp' definition 'aprs_time'. Xastir-Release-2.2.0/src/util.c:1976:34: style:inconclusive: Function 'compress_posit' argument 1 names different: declaration 'lat' definition 'input_lat'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/util.h:100:41: note: Function 'compress_posit' argument 1 names different: declaration 'lat' definition 'input_lat'. Xastir-Release-2.2.0/src/util.c:1976:34: note: Function 'compress_posit' argument 1 names different: declaration 'lat' definition 'input_lat'. Xastir-Release-2.2.0/src/util.c:1976:75: style:inconclusive: Function 'compress_posit' argument 3 names different: declaration 'lon' definition 'input_lon'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/util.h:100:76: note: Function 'compress_posit' argument 3 names different: declaration 'lon' definition 'input_lon'. Xastir-Release-2.2.0/src/util.c:1976:75: note: Function 'compress_posit' argument 3 names different: declaration 'lon' definition 'input_lon'. Xastir-Release-2.2.0/src/util.c:1977:41: style:inconclusive: Function 'compress_posit' argument 5 names different: declaration 'course' definition 'last_course'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/util.h:101:48: note: Function 'compress_posit' argument 5 names different: declaration 'course' definition 'last_course'. Xastir-Release-2.2.0/src/util.c:1977:41: note: Function 'compress_posit' argument 5 names different: declaration 'course' definition 'last_course'. Xastir-Release-2.2.0/src/util.c:1977:73: style:inconclusive: Function 'compress_posit' argument 6 names different: declaration 'speed' definition 'last_speed'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/util.h:101:75: note: Function 'compress_posit' argument 6 names different: declaration 'speed' definition 'last_speed'. Xastir-Release-2.2.0/src/util.c:1977:73: note: Function 'compress_posit' argument 6 names different: declaration 'speed' definition 'last_speed'. Xastir-Release-2.2.0/src/util.c:2181:46: style:inconclusive: Function 'position_defined' argument 3 names different: declaration 'strict' definition 'UNUSED_strict'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/util.h:103:54: note: Function 'position_defined' argument 3 names different: declaration 'strict' definition 'UNUSED_strict'. Xastir-Release-2.2.0/src/util.c:2181:46: note: Function 'position_defined' argument 3 names different: declaration 'strict' definition 'UNUSED_strict'. Xastir-Release-2.2.0/src/util.c:2304:63: style:inconclusive: Function 'convert_xastir_to_MGRS_str_components' argument 2 names different: declaration 'utmZone_len' definition 'UNUSED_utmZone_len'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/util.h:106:70: note: Function 'convert_xastir_to_MGRS_str_components' argument 2 names different: declaration 'utmZone_len' definition 'UNUSED_utmZone_len'. Xastir-Release-2.2.0/src/util.c:2304:63: note: Function 'convert_xastir_to_MGRS_str_components' argument 2 names different: declaration 'utmZone_len' definition 'UNUSED_utmZone_len'. Xastir-Release-2.2.0/src/util.c:2309:46: style:inconclusive: Function 'convert_xastir_to_MGRS_str_components' argument 13 names different: declaration 'space_string_len' definition 'UNUSED_space_string_len'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/util.h:111:46: note: Function 'convert_xastir_to_MGRS_str_components' argument 13 names different: declaration 'space_string_len' definition 'UNUSED_space_string_len'. Xastir-Release-2.2.0/src/util.c:2309:46: note: Function 'convert_xastir_to_MGRS_str_components' argument 13 names different: declaration 'space_string_len' definition 'UNUSED_space_string_len'. Xastir-Release-2.2.0/src/util.c:6273:27: style:inconclusive: Function 'xastirWriteWKT' argument 1 names different: declaration 'name' definition 'filename'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/util.h:185:27: note: Function 'xastirWriteWKT' argument 1 names different: declaration 'name' definition 'filename'. Xastir-Release-2.2.0/src/util.c:6273:27: note: Function 'xastirWriteWKT' argument 1 names different: declaration 'name' definition 'filename'. Xastir-Release-2.2.0/src/util.c:1705:8: style: Local variable 'tz' shadows outer variable [shadowVariable] Xastir-Release-2.2.0/src/util.c:97:17: note: Shadowed declaration Xastir-Release-2.2.0/src/util.c:1705:8: note: Shadow variable Xastir-Release-2.2.0/src/util.c:5718:9: style: Local variable 'hash' shadows outer function [shadowFunction] Xastir-Release-2.2.0/src/hashtable_private.h:34:1: note: Shadowed declaration Xastir-Release-2.2.0/src/util.c:5718:9: note: Shadow variable Xastir-Release-2.2.0/src/util.c:260:18: style: Variable 'jj' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/util.c:278:31: style: Parameter 'key1' can be declared as pointer to const. However it seems that 'tactical_keys_equal' is a callback function, if 'key1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Xastir-Release-2.2.0/src/util.c:321:36: note: You might need to cast the function pointer here Xastir-Release-2.2.0/src/util.c:278:31: note: Parameter 'key1' can be declared as pointer to const Xastir-Release-2.2.0/src/util.c:278:43: style: Parameter 'key2' can be declared as pointer to const. However it seems that 'tactical_keys_equal' is a callback function, if 'key2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Xastir-Release-2.2.0/src/util.c:321:36: note: You might need to cast the function pointer here Xastir-Release-2.2.0/src/util.c:278:43: note: Parameter 'key2' can be declared as pointer to const Xastir-Release-2.2.0/src/util.c:496:45: style: Parameter 'debug_string' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/util.c:709:14: style: Variable 'time_now' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/util.c:741:14: style: Variable 'time_now' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/util.c:788:14: style: Variable 'time_now' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/util.c:825:14: style: Variable 'time_now' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/util.c:844:14: style: Variable 'time_now' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/util.c:863:14: style: Variable 'time_now' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/util.c:1702:35: style: Parameter 'aprs_time' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/util.c:1706:14: style: Variable 'time_now' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/util.c:2604:67: style: Parameter 'zone' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/util.c:2950:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/util.c:3072:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/util.c:3529:37: style: Parameter 'bearing' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/util.c:3867:21: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/util.c:3930:21: style: Parameter 'infilename' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/util.c:3930:39: style: Parameter 'outfilename' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/util.c:4269:33: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/util.c:4287:16: style: Variable 'time_now' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/util.c:4557:14: style: Variable 'time_now' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/util.c:5056:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/util.c:5059:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] Xastir-Release-2.2.0/src/util.c:5236:31: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/util.c:5301:27: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/util.c:5322:24: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/util.c:5343:18: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/util.c:5474:54: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/util.c:5554:52: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/util.c:5714:27: style: Parameter 'theCall' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/util.c:5851:32: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/util.c:6273:27: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/util.c:6278:8: style: Variable 'Xastir_WKT' can be declared as const array [constVariable] Xastir-Release-2.2.0/src/util.c:6335:42: style: Parameter 'sqnc' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/util.c:3513:9: style: struct member 'Anonymous0::dircode' is never used. [unusedStructMember] Xastir-Release-2.2.0/src/util.c:1510:9: style: Variable 'range' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/util.c:3934:18: style: Variable 'numread' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/util.c:4078:13: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/util.c:5496:13: style: Variable 'problems' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/util.c:5858:13: style: Variable 'lastp' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/util.c:5859:13: style: Variable 'prevp' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/util.c:5860:12: style: Variable 'last' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/util.c:5861:12: style: Variable 'prev' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/x_spider.c:365:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/x_spider.c:539:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/x_spider.c:1015:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/x_spider.c:1051:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/x_spider.c:1142:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pollfd [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/x_spider.c:1200:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/x_spider.c:1485:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/x_spider.c:1517:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/x_spider.c:1795:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/x_spider.c:1914:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/xa_config.c:264:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/xa_config.c:313:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/xa_config.c:345:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/xa_config.c:378:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/xa_config.c:486:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XASTIR_DATA_BASE [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/xa_config.c:535:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/xa_config.c:1409:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/x_spider.c:471:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/x_spider.c:1465:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Xastir-Release-2.2.0/src/x_spider.c:623:35: style: Redundant condition: The condition 'callsign[0] != '\0'' is redundant since 'callsign[0] == ' '' is sufficient. [redundantCondition] Xastir-Release-2.2.0/src/x_spider.c:662:39: style: Redundant condition: The condition 'passcode_str[0] != '\0'' is redundant since 'passcode_str[0] == ' '' is sufficient. [redundantCondition] Xastir-Release-2.2.0/src/x_spider.c:767:9: style: Condition 'p' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/x_spider.c:851:11: style: Condition 'n>=1' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/x_spider.c:778:9: note: Assuming that condition 'n==0' is not redundant Xastir-Release-2.2.0/src/x_spider.c:851:11: note: Condition 'n>=1' is always true Xastir-Release-2.2.0/src/x_spider.c:1235:73: style: Condition 'pipe_check(addr_str((struct sockaddr*)&cli_addr,addrstring))==-1' is always false [knownConditionTrueFalse] Xastir-Release-2.2.0/src/x_spider.c:1235:21: note: Calling function 'pipe_check' returns 0 Xastir-Release-2.2.0/src/x_spider.c:1235:73: note: Condition 'pipe_check(addr_str((struct sockaddr*)&cli_addr,addrstring))==-1' is always false Xastir-Release-2.2.0/src/x_spider.c:1289:26: style: Condition 'newsockfd<0' is always true [knownConditionTrueFalse] Xastir-Release-2.2.0/src/x_spider.c:1280:19: note: Assuming that condition 'newsockfd==-1' is not redundant Xastir-Release-2.2.0/src/x_spider.c:1289:26: note: Condition 'newsockfd<0' is always true Xastir-Release-2.2.0/src/x_spider.c:1145:5: warning: If memory allocation fails, then there is a possible null pointer dereference: polls [nullPointerOutOfMemory] Xastir-Release-2.2.0/src/x_spider.c:1142:17: note: Assuming allocation function fails Xastir-Release-2.2.0/src/x_spider.c:1142:17: note: Assignment 'polls=calloc(nsock,sizeof(struct pollfd))', assigned value is 0 Xastir-Release-2.2.0/src/x_spider.c:1145:5: note: Null pointer dereference Xastir-Release-2.2.0/src/x_spider.c:1146:5: warning: If memory allocation fails, then there is a possible null pointer dereference: polls [nullPointerOutOfMemory] Xastir-Release-2.2.0/src/x_spider.c:1142:17: note: Assuming allocation function fails Xastir-Release-2.2.0/src/x_spider.c:1142:17: note: Assignment 'polls=calloc(nsock,sizeof(struct pollfd))', assigned value is 0 Xastir-Release-2.2.0/src/x_spider.c:1146:5: note: Null pointer dereference Xastir-Release-2.2.0/src/x_spider.c:806:12: style: Redundant initialization for 'q'. The initialized value is overwritten before it is read. [redundantInitialization] Xastir-Release-2.2.0/src/x_spider.c:804:20: note: q is initialized Xastir-Release-2.2.0/src/x_spider.c:806:12: note: q is overwritten Xastir-Release-2.2.0/src/x_spider.c:499:22: style: Parameter 'client_address' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/x_spider.c:1137:49: style: Parameter 'sockfds' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/x_spider.c:1473:47: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/x_spider.c:938:20: style: Variable 'envpsize' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/xastir_udp_client.c:67:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/xastir_udp_client.c:125:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/xastir_udp_client.c:182:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] Xastir-Release-2.2.0/src/xastir_udp_client.c:118:27: style: Parameter 'hostname' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/xastir_udp_client.c:118:43: style: Parameter 'port' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/xa_config.c:411:43: style:inconclusive: Function 'get_user_base_dir' argument 2 names different: declaration 'dest' definition 'base'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/xa_config.h:29:42: note: Function 'get_user_base_dir' argument 2 names different: declaration 'dest' definition 'base'. Xastir-Release-2.2.0/src/xa_config.c:411:43: note: Function 'get_user_base_dir' argument 2 names different: declaration 'dest' definition 'base'. Xastir-Release-2.2.0/src/xa_config.c:411:56: style:inconclusive: Function 'get_user_base_dir' argument 3 names different: declaration 'dest_size' definition 'base_size'. [funcArgNamesDifferent] Xastir-Release-2.2.0/src/xa_config.h:29:55: note: Function 'get_user_base_dir' argument 3 names different: declaration 'dest_size' definition 'base_size'. Xastir-Release-2.2.0/src/xa_config.c:411:56: note: Function 'get_user_base_dir' argument 3 names different: declaration 'dest_size' definition 'base_size'. Xastir-Release-2.2.0/src/xa_config.c:72:38: style: Parameter 'option' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/xa_config.c:72:52: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/xa_config.c:164:22: style: Parameter 'option' can be declared as pointer to const [constParameterPointer] Xastir-Release-2.2.0/src/xa_config.c:1377:69: error: Uninitialized variable: config_file [uninitvar] Xastir-Release-2.2.0/src/xa_config.c:1382:18: error: Uninitialized variable: config_file_bak1 [uninitvar] Xastir-Release-2.2.0/src/wx.c:2722:16: warning:inconclusive: Width 19 given in format string (no. 1) is smaller than destination buffer 'temp[4097]'. [invalidScanfFormatWidth_smaller] Xastir-Release-2.2.0/src/wx.c:2722:16: warning:inconclusive: Width 19 given in format string (no. 3) is smaller than destination buffer 'temp[4097]'. [invalidScanfFormatWidth_smaller] Xastir-Release-2.2.0/src/wx.c:2722:16: warning:inconclusive: Width 19 given in format string (no. 5) is smaller than destination buffer 'temp[4097]'. [invalidScanfFormatWidth_smaller] Xastir-Release-2.2.0/src/wx.c:1138:33: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] Xastir-Release-2.2.0/src/wx.c:1500:37: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] Xastir-Release-2.2.0/src/wx.c:3240:21: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] Xastir-Release-2.2.0/src/wx.c:3397:19: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] Xastir-Release-2.2.0/src/wx.c:589:17: style: Variable 'computed_gust' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/wx.c:818:19: style: Variable 'computed_gust' is assigned a value that is never used. [unreadVariable] Xastir-Release-2.2.0/src/wx.c:1086:17: style: Variable 'computed_gust' is assigned a value that is never used. [unreadVariable] diff: DONE