2025-05-06 00:13 ftp://ftp.de.debian.org/debian/pool/main/libs/libswe/libswe_2.10.03.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --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 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 581f101 (2025-05-05 21:13:30 +0200) count: 677 675 elapsed-time: 149.4 145.5 head-timing-info: old-timing-info: head results: libswe-2.10.03/setest/checkpoints.c:25:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/checkpoints.c:44:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/checkpoints.c:63:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/checkpoints.c:108:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/checkpoints.c:133:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/checkpoints.c:177:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/checkpoints.c:207:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/checkpoints.c:242:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/checkpoints.c:287:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/checkpoints.c:91:31: style:inconclusive: Function 'check_equals_i' argument 1 names different: declaration 'field' definition 'act'. [funcArgNamesDifferent] libswe-2.10.03/setest/checkpoints.h:20:31: note: Function 'check_equals_i' argument 1 names different: declaration 'field' definition 'act'. libswe-2.10.03/setest/checkpoints.c:91:31: note: Function 'check_equals_i' argument 1 names different: declaration 'field' definition 'act'. libswe-2.10.03/setest/checkpoints.c:157:33: style:inconclusive: Function 'check_equals_s' argument 1 names different: declaration 'field' definition 'act'. [funcArgNamesDifferent] libswe-2.10.03/setest/checkpoints.h:21:33: note: Function 'check_equals_s' argument 1 names different: declaration 'field' definition 'act'. libswe-2.10.03/setest/checkpoints.c:157:33: note: Function 'check_equals_s' argument 1 names different: declaration 'field' definition 'act'. libswe-2.10.03/setest/checkpoints.c:239:36: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/generated_tests.c:104:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEFLG_EQUATORIAL [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/generated_tests.c:877:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SE_ECL_NUT [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/generated_tests.c:1712:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SE_SUN [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/generated_tests.c:273:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/setest/generated_tests.c:272:6: note: rc is assigned libswe-2.10.03/setest/generated_tests.c:273:6: note: rc is overwritten libswe-2.10.03/setest/generated_tests.c:286:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/setest/generated_tests.c:284:6: note: rc is assigned libswe-2.10.03/setest/generated_tests.c:286:6: note: rc is overwritten libswe-2.10.03/setest/generated_tests.c:880:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/setest/generated_tests.c:877:6: note: rc is assigned libswe-2.10.03/setest/generated_tests.c:880:6: note: rc is overwritten libswe-2.10.03/setest/generated_tests.c:894:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/setest/generated_tests.c:891:6: note: rc is assigned libswe-2.10.03/setest/generated_tests.c:894:6: note: rc is overwritten libswe-2.10.03/setest/generated_tests.c:921:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/setest/generated_tests.c:918:6: note: rc is assigned libswe-2.10.03/setest/generated_tests.c:921:6: note: rc is overwritten libswe-2.10.03/setest/generated_tests.c:710:9: style: Local variable 'rc' shadows outer variable [shadowVariable] libswe-2.10.03/setest/generated_tests.c:668:7: note: Shadowed declaration libswe-2.10.03/setest/generated_tests.c:710:9: note: Shadow variable libswe-2.10.03/setest/generated_tests.c:9:43: style: Parameter 'xx' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/generated_tests.c:9:53: style: Parameter 'serr' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/generated_tests.c:15:70: style: Parameter 'cusps' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/generated_tests.c:15:85: style: Parameter 'ascmc' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/generated_tests.c:26:74: style: Parameter 'cusps' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/generated_tests.c:26:89: style: Parameter 'ascmc' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/generated_tests.c:26:104: style: Parameter 'cusp_speed' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/generated_tests.c:26:124: style: Parameter 'ascmc_speed' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/generated_tests.c:40:74: style: Parameter 'cusps' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/generated_tests.c:40:89: style: Parameter 'ascmc' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/generated_tests.c:51:78: style: Parameter 'cusps' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/generated_tests.c:51:93: style: Parameter 'ascmc' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/generated_tests.c:51:108: style: Parameter 'cusp_speed' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/generated_tests.c:51:128: style: Parameter 'ascmc_speed' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/generated_tests.c:856:18: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/setest/generated_tests.c:81:43: error: Uninitialized variable: iflag [uninitvar] libswe-2.10.03/setest/generated_tests.c:81:51: error: Uninitialized variable: iephe [uninitvar] libswe-2.10.03/setest/generated_tests.c:1107:42: error: Uninitialized variable: iflag [uninitvar] libswe-2.10.03/setest/generated_tests.c:1107:48: error: Uninitialized variable: iephe [uninitvar] libswe-2.10.03/setest/generated_tests.c:1257:23: error: Uninitialized variable: geolon [uninitvar] libswe-2.10.03/setest/generated_tests.c:1257:31: error: Uninitialized variable: geolat [uninitvar] libswe-2.10.03/setest/generated_tests.c:1257:39: error: Uninitialized variable: altitude [uninitvar] libswe-2.10.03/setest/generated_tests.c:1532:23: error: Uninitialized variable: geolon [uninitvar] libswe-2.10.03/setest/generated_tests.c:1532:31: error: Uninitialized variable: geolat [uninitvar] libswe-2.10.03/setest/generated_tests.c:1532:39: error: Uninitialized variable: altitude [uninitvar] libswe-2.10.03/setest/generated_tests.c:1561:21: error: Uninitialized variable: atpress [uninitvar] libswe-2.10.03/setest/generated_tests.c:1561:30: error: Uninitialized variable: attemp [uninitvar] libswe-2.10.03/setest/generated_tests.c:1561:38: error: Uninitialized variable: athumid [uninitvar] libswe-2.10.03/setest/generated_tests.c:1561:47: error: Uninitialized variable: atktot [uninitvar] libswe-2.10.03/setest/generated_tests.c:1562:21: error: Uninitialized variable: obsage [uninitvar] libswe-2.10.03/setest/generated_tests.c:1562:29: error: Uninitialized variable: obsSN [uninitvar] libswe-2.10.03/setest/generated_tests.c:1709:11: error: Uninitialized variable: iephe [uninitvar] libswe-2.10.03/setest/globals.c:73:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/globals.c:86:30: warning: Char literal compared with pointer 's1'. Did you intend to dereference it? [charLiteralWithCharPtrCompare] libswe-2.10.03/setest/globals_suite.c:5:43: style: Parameter 'xx' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:5:53: style: Parameter 'serr' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:5:73: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:11:70: style: Parameter 'cusps' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:11:85: style: Parameter 'ascmc' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:11:98: style: Parameter 'serr' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:11:118: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:22:74: style: Parameter 'cusps' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:22:89: style: Parameter 'ascmc' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:22:104: style: Parameter 'cusp_speed' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:22:124: style: Parameter 'ascmc_speed' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:22:143: style: Parameter 'serr' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:22:163: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:36:74: style: Parameter 'cusps' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:36:89: style: Parameter 'ascmc' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:36:102: style: Parameter 'serr' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:36:122: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:47:78: style: Parameter 'cusps' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:47:93: style: Parameter 'ascmc' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:47:108: style: Parameter 'cusp_speed' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:47:128: style: Parameter 'ascmc_speed' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:47:147: style: Parameter 'serr' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/globals_suite.c:47:167: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/multivalues.c:75:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable length [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/multivalues.c:125:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/multivalues.c:140:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/multivalues.c:147:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/multivalues.c:154:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/multivalues.c:194:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/multivalues.c:41:38: portability: Returning an integer in a function with pointer return type is not portable. [CastIntegerToAddressAtReturn] libswe-2.10.03/setest/multivalues.c:43:5: portability: Returning an integer in a function with pointer return type is not portable. [CastIntegerToAddressAtReturn] libswe-2.10.03/setest/multivalues.c:62:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tab [nullPointerOutOfMemory] libswe-2.10.03/setest/multivalues.c:61:28: note: Assuming allocation function fails libswe-2.10.03/setest/multivalues.c:61:28: note: Assignment 'tab=malloc(sizeof(struct mvalues_tab))', assigned value is 0 libswe-2.10.03/setest/multivalues.c:62:3: note: Null pointer dereference libswe-2.10.03/setest/multivalues.c:63:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tab [nullPointerOutOfMemory] libswe-2.10.03/setest/multivalues.c:61:28: note: Assuming allocation function fails libswe-2.10.03/setest/multivalues.c:61:28: note: Assignment 'tab=malloc(sizeof(struct mvalues_tab))', assigned value is 0 libswe-2.10.03/setest/multivalues.c:63:3: note: Null pointer dereference libswe-2.10.03/setest/multivalues.c:18:46: style:inconclusive: Function 'multivalues_get_next' argument 1 names different: declaration 'mv' definition 'n'. [funcArgNamesDifferent] libswe-2.10.03/setest/multivalues.h:25:46: note: Function 'multivalues_get_next' argument 1 names different: declaration 'mv' definition 'n'. libswe-2.10.03/setest/multivalues.c:18:46: note: Function 'multivalues_get_next' argument 1 names different: declaration 'mv' definition 'n'. libswe-2.10.03/setest/multivalues.c:5:57: style: Parameter 'multivalues' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/multivalues.c:152:38: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/multivalues.c:207:40: style: Parameter 'multivalues' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/reader.c:12:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/reader.c:164:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/reader.c:195:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/reader.c:135:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] libswe-2.10.03/setest/reader.c:6:15: style:inconclusive: Function 'open_reader' argument 2 names different: declaration 'prepare_fix_m4' definition 'prepare_cmd'. [funcArgNamesDifferent] libswe-2.10.03/setest/reader.h:38:15: note: Function 'open_reader' argument 2 names different: declaration 'prepare_fix_m4' definition 'prepare_cmd'. libswe-2.10.03/setest/reader.c:6:15: note: Function 'open_reader' argument 2 names different: declaration 'prepare_fix_m4' definition 'prepare_cmd'. libswe-2.10.03/setest/reader.c:47:31: style:inconclusive: Function 'read_next_block' argument 1 names different: declaration 'reader_context' definition 'rdr'. [funcArgNamesDifferent] libswe-2.10.03/setest/reader.h:44:31: note: Function 'read_next_block' argument 1 names different: declaration 'reader_context' definition 'rdr'. libswe-2.10.03/setest/reader.c:47:31: note: Function 'read_next_block' argument 1 names different: declaration 'reader_context' definition 'rdr'. libswe-2.10.03/setest/reader.c:113:13: style:inconclusive: Function 'read_block' argument 2 names different: declaration 'rawtab' definition 'table'. [funcArgNamesDifferent] libswe-2.10.03/setest/reader.h:63:13: note: Function 'read_block' argument 2 names different: declaration 'rawtab' definition 'table'. libswe-2.10.03/setest/reader.c:113:13: note: Function 'read_block' argument 2 names different: declaration 'rawtab' definition 'table'. libswe-2.10.03/setest/reader.c:161:40: style:inconclusive: Function 'push_row' argument 2 names different: declaration 'rawtab' definition 'table'. [funcArgNamesDifferent] libswe-2.10.03/setest/reader.h:66:40: note: Function 'push_row' argument 2 names different: declaration 'rawtab' definition 'table'. libswe-2.10.03/setest/reader.c:161:40: note: Function 'push_row' argument 2 names different: declaration 'rawtab' definition 'table'. libswe-2.10.03/setest/reader.c:181:28: style:inconclusive: Function 'clear_table' argument 1 names different: declaration 'rawtab' definition 'table'. [funcArgNamesDifferent] libswe-2.10.03/setest/reader.h:67:28: note: Function 'clear_table' argument 1 names different: declaration 'rawtab' definition 'table'. libswe-2.10.03/setest/reader.c:181:28: note: Function 'clear_table' argument 1 names different: declaration 'rawtab' definition 'table'. libswe-2.10.03/setest/reader.c:188:28: style:inconclusive: Function 'close_reader' argument 1 names different: declaration 'reader_context' definition 'c'. [funcArgNamesDifferent] libswe-2.10.03/setest/reader.h:45:28: note: Function 'close_reader' argument 1 names different: declaration 'reader_context' definition 'c'. libswe-2.10.03/setest/reader.c:188:28: note: Function 'close_reader' argument 1 names different: declaration 'reader_context' definition 'c'. libswe-2.10.03/setest/setest.c:43:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/setest.c:116:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testmode [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/setest.c:135:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable selected [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/setest.c:215:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/setest.c:240:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/setest.c:292:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/setest.c:419:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable swe_version [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/setest.c:439:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/setest.c:514:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/setest.c:402:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] libswe-2.10.03/setest/setest.c:405:22: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] libswe-2.10.03/setest/setest.c:136:17: style: Variable 'long_options' can be declared as const array [constVariable] libswe-2.10.03/setest/setest.c:405:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/setest/setest.c:482:32: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/suite_01_calc.c:48:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEFLG_EQUATORIAL [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/suite_02_fixstar.c:55:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/setest/suite_02_fixstar.c:54:6: note: rc is assigned libswe-2.10.03/setest/suite_02_fixstar.c:55:6: note: rc is overwritten libswe-2.10.03/setest/suite_02_fixstar.c:68:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/setest/suite_02_fixstar.c:66:6: note: rc is assigned libswe-2.10.03/setest/suite_02_fixstar.c:68:6: note: rc is overwritten libswe-2.10.03/setest/suite_04_ayanamsa.c:2:1: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/setest/suite_05_date_time.c:53:9: style: Local variable 'rc' shadows outer variable [shadowVariable] libswe-2.10.03/setest/suite_05_date_time.c:6:7: note: Shadowed declaration libswe-2.10.03/setest/suite_05_date_time.c:53:9: note: Shadow variable libswe-2.10.03/setest/suite_06_houses.c:40:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SE_ECL_NUT [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/suite_06_houses.c:43:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/setest/suite_06_houses.c:40:6: note: rc is assigned libswe-2.10.03/setest/suite_06_houses.c:43:6: note: rc is overwritten libswe-2.10.03/setest/suite_06_houses.c:57:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/setest/suite_06_houses.c:54:6: note: rc is assigned libswe-2.10.03/setest/suite_06_houses.c:57:6: note: rc is overwritten libswe-2.10.03/setest/suite_06_houses.c:84:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/setest/suite_06_houses.c:81:6: note: rc is assigned libswe-2.10.03/setest/suite_06_houses.c:84:6: note: rc is overwritten libswe-2.10.03/setest/suite_06_houses.c:7:18: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/setest/suite_10_solcross.c:26:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SE_SUN [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/testdata.c:57:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/testdata.c:101:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/testdata.c:187:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SE_SPLIT_DEG_ROUND_SEC [valueFlowBailoutIncompleteVar] libswe-2.10.03/setest/testdata.c:195:34: style:inconclusive: Function 'st_free' argument 1 names different: declaration 'value' definition 'v'. [funcArgNamesDifferent] libswe-2.10.03/setest/testdata.h:51:34: note: Function 'st_free' argument 1 names different: declaration 'value' definition 'v'. libswe-2.10.03/setest/testdata.c:195:34: note: Function 'st_free' argument 1 names different: declaration 'value' definition 'v'. libswe-2.10.03/sweasp.c:1492:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libswe-2.10.03/sweasp.c:642:7: warning: Obsolete function 'gets' called. It is recommended to use 'fgets' or 'gets_s' instead. [prohibitedgetsCalled] libswe-2.10.03/sweasp.c:767:13: style: The if condition is the same as the previous if condition [duplicateCondition] libswe-2.10.03/sweasp.c:763:13: note: First condition libswe-2.10.03/sweasp.c:767:13: note: Second condition libswe-2.10.03/sweasp.c:1645:30: style:inconclusive: Function 'do_fixstar' argument 1 names different: declaration 'star' definition 'st'. [funcArgNamesDifferent] libswe-2.10.03/sweasp.c:300:30: note: Function 'do_fixstar' argument 1 names different: declaration 'star' definition 'st'. libswe-2.10.03/sweasp.c:1645:30: note: Function 'do_fixstar' argument 1 names different: declaration 'star' definition 'st'. libswe-2.10.03/sweasp.c:778:8: style: Local variable 'x' shadows outer variable [shadowVariable] libswe-2.10.03/sweasp.c:348:10: note: Shadowed declaration libswe-2.10.03/sweasp.c:778:8: note: Shadow variable libswe-2.10.03/sweasp.c:1226:13: style: Local variable 'n' shadows outer variable [shadowVariable] libswe-2.10.03/sweasp.c:341:13: note: Shadowed declaration libswe-2.10.03/sweasp.c:1226:13: note: Shadow variable libswe-2.10.03/sweasp.c:1226:28: style: Local variable 'i' shadows outer variable [shadowVariable] libswe-2.10.03/sweasp.c:341:7: note: Shadowed declaration libswe-2.10.03/sweasp.c:1226:28: note: Shadow variable libswe-2.10.03/sweasp.c:1226:31: style: Local variable 'j' shadows outer variable [shadowVariable] libswe-2.10.03/sweasp.c:341:10: note: Shadowed declaration libswe-2.10.03/sweasp.c:1226:31: note: Shadow variable libswe-2.10.03/sweasp.c:1227:16: style: Local variable 'x' shadows outer variable [shadowVariable] libswe-2.10.03/sweasp.c:348:10: note: Shadowed declaration libswe-2.10.03/sweasp.c:1227:16: note: Shadow variable libswe-2.10.03/sweasp.c:1227:26: style: Local variable 'jut' shadows outer variable [shadowVariable] libswe-2.10.03/sweasp.c:345:10: note: Shadowed declaration libswe-2.10.03/sweasp.c:1227:26: note: Shadow variable libswe-2.10.03/sweasp.c:355:9: style: Variable 'begindate' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweasp.c:1554:32: style: Parameter 'a1' can be declared as pointer to const. However it seems that 'pos_compare' is a callback function, if 'a1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libswe-2.10.03/sweasp.c:1386:53: note: You might need to cast the function pointer here libswe-2.10.03/sweasp.c:1554:32: note: Parameter 'a1' can be declared as pointer to const libswe-2.10.03/sweasp.c:1554:44: style: Parameter 'a2' can be declared as pointer to const. However it seems that 'pos_compare' is a callback function, if 'a2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libswe-2.10.03/sweasp.c:1386:53: note: You might need to cast the function pointer here libswe-2.10.03/sweasp.c:1554:44: note: Parameter 'a2' can be declared as pointer to const libswe-2.10.03/sweasp.c:1564:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweasp.c:1626:9: style: Variable 'xnasc' can be declared as const array [constVariable] libswe-2.10.03/sweasp.c:1626:19: style: Variable 'xndsc' can be declared as const array [constVariable] libswe-2.10.03/sweasp.c:1626:29: style: Variable 'xperi' can be declared as const array [constVariable] libswe-2.10.03/sweasp.c:1626:39: style: Variable 'xaphe' can be declared as const array [constVariable] libswe-2.10.03/sweasp.c:1650:29: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweasp.c:1699:9: style: Variable 'dirglue' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweasp.c:1793:30: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweasp.c:1797:9: style: Variable 'dirglue' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweasp.c:1820:22: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweasp.c:1632:44: error: Uninitialized variable: xnasc[i] [legacyUninitvar] libswe-2.10.03/sweasp.c:1634:44: error: Uninitialized variable: xndsc[i] [legacyUninitvar] libswe-2.10.03/sweasp.c:1638:44: error: Uninitialized variable: xperi[i] [legacyUninitvar] libswe-2.10.03/sweasp.c:1636:44: error: Uninitialized variable: xaphe[i] [legacyUninitvar] libswe-2.10.03/sweasp.c:1226:16: style: Unused variable: n1 [unusedVariable] libswe-2.10.03/sweasp.c:1226:20: style: Unused variable: n2 [unusedVariable] libswe-2.10.03/sweasp.c:1226:47: style: Unused variable: nc [unusedVariable] libswe-2.10.03/sweasp.c:1227:16: style: Unused variable: x [unusedVariable] libswe-2.10.03/sweasp.c:1227:19: style: Unused variable: y [unusedVariable] libswe-2.10.03/sweasp.c:1227:22: style: Unused variable: xi [unusedVariable] libswe-2.10.03/sweasp.c:1228:49: style: Unused variable: xxns [unusedVariable] libswe-2.10.03/sweasp.c:1228:61: style: Unused variable: xxas [unusedVariable] libswe-2.10.03/sweasp.c:1231:19: style: Unused variable: dang [unusedVariable] libswe-2.10.03/sweasp.c:1234:16: style: Variable 'max' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweasp.c:1234:27: style: Variable 'min' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweasp.c:1235:16: style: Unused variable: y0 [unusedVariable] libswe-2.10.03/sweasp.c:1235:20: style: Unused variable: y1 [unusedVariable] libswe-2.10.03/sweasp.c:1235:24: style: Unused variable: y2 [unusedVariable] libswe-2.10.03/sweasp.c:1235:28: style: Unused variable: dt [unusedVariable] libswe-2.10.03/sweasp.c:1235:32: style: Unused variable: dterr [unusedVariable] libswe-2.10.03/sweasp.c:1239:17: style: Variable 'do_balance' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweasp.c:1240:13: style: Variable 'recursive' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweasp.c:1242:23: style: Variable 'prmin' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweasp.c:1345:21: style: Variable 'is_asp' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweasp.c:1520:36: style: Variable 'type' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweasp.c:1533:17: style: Variable 'iflgret' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweasp.c:1541:12: style: Variable 'toutsv' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweasp.c:1548:13: style: Variable 'iflgret' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweasp.c:1520:31: style: Variable 'type' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweasp.c:1521:18: style: Unused variable: xxe [unusedVariable] libswe-2.10.03/sweasp.c:1629:15: style: Variable 'method' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweasp.c:1626:9: style: Variable 'xnasc' is not assigned a value. [unassignedVariable] libswe-2.10.03/sweasp.c:1626:19: style: Variable 'xndsc' is not assigned a value. [unassignedVariable] libswe-2.10.03/sweasp.c:1626:29: style: Variable 'xperi' is not assigned a value. [unassignedVariable] libswe-2.10.03/sweasp.c:1626:39: style: Variable 'xaphe' is not assigned a value. [unassignedVariable] libswe-2.10.03/sweasp.c:1629:8: style: Variable 'method' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweasp.c:1727:13: style: Variable 'pathlen' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweasp.c:1697:8: style: Unused variable: s [unusedVariable] libswe-2.10.03/swecl.c:4313:13: style: Condition '0&&fabs(dt)>5.0/86400.0' is always false [knownConditionTrueFalse] libswe-2.10.03/swecl.c:842:13: style: The comparison 'niter <= 0' is always true. [knownConditionTrueFalse] libswe-2.10.03/swecl.c:644:27: note: 'niter' is assigned value '0' here. libswe-2.10.03/swecl.c:842:13: note: The comparison 'niter <= 0' is always true. libswe-2.10.03/swecl.c:3204:15: style: Redundant assignment of 'geopos[0]' to itself. [selfAssignment] libswe-2.10.03/swecl.c:1310:17: style: Variable 'retflag2' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swecl.c:1306:12: note: retflag2 is assigned libswe-2.10.03/swecl.c:1310:17: note: retflag2 is overwritten libswe-2.10.03/swecl.c:1666:7: style: Variable 'tjd' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swecl.c:1639:7: note: tjd is assigned libswe-2.10.03/swecl.c:1666:7: note: tjd is overwritten libswe-2.10.03/swecl.c:2476:7: style: Variable 'tjd' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swecl.c:2448:7: note: tjd is assigned libswe-2.10.03/swecl.c:2476:7: note: tjd is overwritten libswe-2.10.03/swecl.c:566:10: style:inconclusive: Function 'swe_sol_eclipse_where' argument 1 names different: declaration 'tjd' definition 'tjd_ut'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:852:46: note: Function 'swe_sol_eclipse_where' argument 1 names different: declaration 'tjd' definition 'tjd_ut'. libswe-2.10.03/swecl.c:566:10: note: Function 'swe_sol_eclipse_where' argument 1 names different: declaration 'tjd' definition 'tjd_ut'. libswe-2.10.03/swecl.c:607:10: style:inconclusive: Function 'swe_lun_occult_where' argument 1 names different: declaration 'tjd' definition 'tjd_ut'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:854:45: note: Function 'swe_lun_occult_where' argument 1 names different: declaration 'tjd' definition 'tjd_ut'. libswe-2.10.03/swecl.c:607:10: note: Function 'swe_lun_occult_where' argument 1 names different: declaration 'tjd' definition 'tjd_ut'. libswe-2.10.03/swecl.c:923:18: style:inconclusive: Function 'swe_sol_eclipse_how' argument 1 names different: declaration 'tjd' definition 'tjd_ut'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:857:44: note: Function 'swe_sol_eclipse_how' argument 1 names different: declaration 'tjd' definition 'tjd_ut'. libswe-2.10.03/swecl.c:923:18: note: Function 'swe_sol_eclipse_how' argument 1 names different: declaration 'tjd' definition 'tjd_ut'. libswe-2.10.03/swecl.c:3126:45: style:inconclusive: Function 'calc_astronomical_refr' argument 1 names different: declaration 'geoalt' definition 'inalt'. [funcArgNamesDifferent] libswe-2.10.03/swecl.c:73:45: note: Function 'calc_astronomical_refr' argument 1 names different: declaration 'geoalt' definition 'inalt'. libswe-2.10.03/swecl.c:3126:45: note: Function 'calc_astronomical_refr' argument 1 names different: declaration 'geoalt' definition 'inalt'. libswe-2.10.03/swecl.c:662:19: style: Variable 'oe' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swecl.c:2793:15: style: Parameter 'geopos' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swecl.c:2796:15: style: Parameter 'xin' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swecl.c:2844:15: style: Parameter 'geopos' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swecl.c:2845:15: style: Parameter 'xin' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swecl.c:4691:24: style: Parameter 'geopos' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swecl.c:5089:11: style: Variable 'xsun' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swecl.c:5090:11: style: Variable 'xear' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swecl.c:5096:19: style: Variable 'oe' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swecl.c:5964:45: style: Parameter 'dp' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swecl.c:5992:49: style: Parameter 'pqr' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swecl.c:6008:47: style: Parameter 'x1' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swecl.c:6008:59: style: Parameter 'x2' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swecl.c:3561:7: style: Variable 'dtb' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swecl.c:4364:16: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swecl.c:5680:24: style: Variable 'plm' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swecl.c:5785:15: style: Variable 'iflg0' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swecl.c:5799:11: style: Variable 'iflg0' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swecl.c:5910:11: style: Variable 'xs[j]' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweclips.c:339:5: warning: Obsolete function 'gets' called. It is recommended to use 'fgets' or 'gets_s' instead. [prohibitedgetsCalled] libswe-2.10.03/sweclips.c:188:9: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweclips.c:199:9: style: Variable 'begindate' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweclips.c:687:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweclips.c:706:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweclips.c:774:50: style: Parameter 'argv0' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweclips.c:777:9: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweclips.c:778:9: style: Variable 'dirglue' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweclips.c:849:29: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweclips.c:869:39: style: Parameter 'cutlist' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweclips.c:330:11: style: Variable 'iflag' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweclips.c:335:26: style: Variable 'serr_save[0]' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweclips.c:342:15: style: Variable 'begindate' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweclips.c:439:20: style: Variable 'eclflag' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweclips.c:503:6: style: Variable 'i' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweclips.c:587:22: style: Variable 'eclflag' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swedate.c:93:15: style:inconclusive: Function 'swe_date_conversion' argument 4 names different: declaration 'utime' definition 'uttime'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:778:16: note: Function 'swe_date_conversion' argument 4 names different: declaration 'utime' definition 'uttime'. libswe-2.10.03/swedate.c:93:15: note: Function 'swe_date_conversion' argument 4 names different: declaration 'utime' definition 'uttime'. libswe-2.10.03/swedate.c:318:9: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweephe4.c:336:38: style:inconclusive: Function 'ephe4_unpack' argument 2 names different: declaration 'pflag' definition 'plalist'. [funcArgNamesDifferent] libswe-2.10.03/sweephe4.c:77:38: note: Function 'ephe4_unpack' argument 2 names different: declaration 'pflag' definition 'plalist'. libswe-2.10.03/sweephe4.c:336:38: note: Function 'ephe4_unpack' argument 2 names different: declaration 'pflag' definition 'plalist'. libswe-2.10.03/sweephe4.c:393:40: style:inconclusive: Function 'ephe4_unpack_d' argument 2 names different: declaration 'pflag' definition 'plalist'. [funcArgNamesDifferent] libswe-2.10.03/sweephe4.c:79:40: note: Function 'ephe4_unpack_d' argument 2 names different: declaration 'pflag' definition 'plalist'. libswe-2.10.03/sweephe4.c:393:40: note: Function 'ephe4_unpack_d' argument 2 names different: declaration 'pflag' definition 'plalist'. libswe-2.10.03/sweephe4.c:460:33: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweephe4.c:506:56: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweephe4.c:598:51: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweephe4.c:671:41: style: Parameter 's' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweephe4.c:206:19: style: Variable 'iflagret' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweephe4.c:314:19: style: Variable 'iflagret' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swehel.c:234:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] libswe-2.10.03/swehel.c:559:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] libswe-2.10.03/swehel.c:1271:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] libswe-2.10.03/swehel.c:3210:11: style: Condition '1||ipl==-1' is always true [knownConditionTrueFalse] libswe-2.10.03/swehel.c:560:4: warning: Either the condition 'serr!=NULL' is redundant or there is possible null pointer dereference: serr. [nullPointerRedundantCheck] libswe-2.10.03/swehel.c:1606:12: note: Assuming that condition 'serr!=NULL' is not redundant libswe-2.10.03/swehel.c:1605:33: note: Calling function 'SunRA', 3rd argument 'serr' value is 0 libswe-2.10.03/swehel.c:560:4: note: Null pointer dereference libswe-2.10.03/swehel.c:2460:17: warning: Either the condition 'star!=NULL' is redundant or there is possible null pointer dereference: star. [nullPointerRedundantCheck] libswe-2.10.03/swehel.c:2470:14: note: Assuming that condition 'star!=NULL' is not redundant libswe-2.10.03/swehel.c:2460:17: note: Null pointer dereference libswe-2.10.03/swehel.c:2906:12: style: Variable 'vdelta' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swehel.c:2875:12: note: vdelta is assigned libswe-2.10.03/swehel.c:2906:12: note: vdelta is overwritten libswe-2.10.03/swehel.c:2882:32: style: Variable 'vd' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swehel.c:2880:8: note: vd is assigned libswe-2.10.03/swehel.c:2882:32: note: vd is overwritten libswe-2.10.03/swehel.c:1464:57: style:inconclusive: Function 'swe_vis_limit_mag' argument 2 names different: declaration 'geopos' definition 'dgeo'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:683:56: note: Function 'swe_vis_limit_mag' argument 2 names different: declaration 'geopos' definition 'dgeo'. libswe-2.10.03/swehel.c:1464:57: note: Function 'swe_vis_limit_mag' argument 2 names different: declaration 'geopos' definition 'dgeo'. libswe-2.10.03/swehel.c:1862:46: style:inconclusive: Function 'swe_heliacal_pheno_ut' argument 1 names different: declaration 'tjd_ut' definition 'JDNDaysUT'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:682:45: note: Function 'swe_heliacal_pheno_ut' argument 1 names different: declaration 'tjd_ut' definition 'JDNDaysUT'. libswe-2.10.03/swehel.c:1862:46: note: Function 'swe_heliacal_pheno_ut' argument 1 names different: declaration 'tjd_ut' definition 'JDNDaysUT'. libswe-2.10.03/swehel.c:1862:65: style:inconclusive: Function 'swe_heliacal_pheno_ut' argument 2 names different: declaration 'geopos' definition 'dgeo'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:682:61: note: Function 'swe_heliacal_pheno_ut' argument 2 names different: declaration 'geopos' definition 'dgeo'. libswe-2.10.03/swehel.c:1862:65: note: Function 'swe_heliacal_pheno_ut' argument 2 names different: declaration 'geopos' definition 'dgeo'. libswe-2.10.03/swehel.c:1862:105: style:inconclusive: Function 'swe_heliacal_pheno_ut' argument 5 names different: declaration 'ObjectName' definition 'ObjectNameIn'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:682:103: note: Function 'swe_heliacal_pheno_ut' argument 5 names different: declaration 'ObjectName' definition 'ObjectNameIn'. libswe-2.10.03/swehel.c:1862:105: note: Function 'swe_heliacal_pheno_ut' argument 5 names different: declaration 'ObjectName' definition 'ObjectNameIn'. libswe-2.10.03/swehel.c:3393:40: style:inconclusive: Function 'swe_heliacal_ut' argument 1 names different: declaration 'tjdstart_ut' definition 'JDNDaysUTStart'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:681:39: note: Function 'swe_heliacal_ut' argument 1 names different: declaration 'tjdstart_ut' definition 'JDNDaysUTStart'. libswe-2.10.03/swehel.c:3393:40: note: Function 'swe_heliacal_ut' argument 1 names different: declaration 'tjdstart_ut' definition 'JDNDaysUTStart'. libswe-2.10.03/swehel.c:3393:64: style:inconclusive: Function 'swe_heliacal_ut' argument 2 names different: declaration 'geopos' definition 'dgeo'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:681:60: note: Function 'swe_heliacal_ut' argument 2 names different: declaration 'geopos' definition 'dgeo'. libswe-2.10.03/swehel.c:3393:64: note: Function 'swe_heliacal_ut' argument 2 names different: declaration 'geopos' definition 'dgeo'. libswe-2.10.03/swehel.c:3393:104: style:inconclusive: Function 'swe_heliacal_ut' argument 5 names different: declaration 'ObjectName' definition 'ObjectNameIn'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:681:102: note: Function 'swe_heliacal_ut' argument 5 names different: declaration 'ObjectName' definition 'ObjectNameIn'. libswe-2.10.03/swehel.c:3393:104: note: Function 'swe_heliacal_ut' argument 5 names different: declaration 'ObjectName' definition 'ObjectNameIn'. libswe-2.10.03/swehel.c:3393:141: style:inconclusive: Function 'swe_heliacal_ut' argument 7 names different: declaration 'iflag' definition 'helflag'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:681:137: note: Function 'swe_heliacal_ut' argument 7 names different: declaration 'iflag' definition 'helflag'. libswe-2.10.03/swehel.c:3393:141: note: Function 'swe_heliacal_ut' argument 7 names different: declaration 'iflag' definition 'helflag'. libswe-2.10.03/swehel.c:3393:170: style:inconclusive: Function 'swe_heliacal_ut' argument 9 names different: declaration 'serr' definition 'serr_ret'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:681:164: note: Function 'swe_heliacal_ut' argument 9 names different: declaration 'serr' definition 'serr_ret'. libswe-2.10.03/swehel.c:3393:170: note: Function 'swe_heliacal_ut' argument 9 names different: declaration 'serr' definition 'serr_ret'. libswe-2.10.03/swehel.c:224:60: style: Parameter 'dobs' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swehel.c:224:90: style: Parameter 'ObjectName' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swehel.c:305:32: style: Parameter 'ObjectName' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swehel.c:368:37: style: Parameter 'star' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swehel.c:379:41: style: Parameter 'star' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swehel.c:398:63: style: Parameter 'star' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swehel.c:416:83: style: Parameter 'datm' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swehel.c:683:64: style: Parameter 'datm' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swehel.c:737:65: style: Parameter 'datm' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swehel.c:1033:100: style: Parameter 'datm' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swehel.c:1106:50: style: Parameter 'dgeo' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swehel.c:1324:63: style: Parameter 'dgeo' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swehel.c:1636:133: style: Parameter 'dgeo' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swehel.c:1814:9: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swehel.c:2452:55: style: Parameter 'star' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swehel.c:2453:3: style: Parameter 'dgeo' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swehel.c:3399:9: style: Variable 'sevent' can be declared as const array [constVariable] libswe-2.10.03/swehel.c:3095:18: warning: Uninitialized variable: tret [uninitvar] libswe-2.10.03/swehel.c:3068:22: note: Assuming condition is false libswe-2.10.03/swehel.c:3095:18: note: Uninitialized variable: tret libswe-2.10.03/swehel.c:234:13: style: Variable 'JDNDaysUT' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swehel.c:559:11: style: Variable 'helflag' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swehel.c:603:12: style: Variable 'R' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swehel.c:1271:9: style: Variable 'Press' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swehel.c:1588:5: style: Variable 'Yr' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swehel.c:1972:18: style: Variable 'OldestMinTAV' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swehel.c:2462:17: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swehel.c:2465:17: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swehel.c:2899:14: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swehel.c:3136:12: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swehouse.c:566:8: style: Variable 'retc' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swehouse.c:555:8: note: retc is assigned libswe-2.10.03/swehouse.c:566:8: note: retc is overwritten libswe-2.10.03/swehouse.c:134:13: style:inconclusive: Function 'swe_houses' argument 5 names different: declaration 'cusps' definition 'cusp'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:819:10: note: Function 'swe_houses' argument 5 names different: declaration 'cusps' definition 'cusp'. libswe-2.10.03/swehouse.c:134:13: note: Function 'swe_houses' argument 5 names different: declaration 'cusps' definition 'cusp'. libswe-2.10.03/swehouse.c:183:13: style:inconclusive: Function 'swe_houses_ex' argument 6 names different: declaration 'cusps' definition 'cusp'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:823:10: note: Function 'swe_houses_ex' argument 6 names different: declaration 'cusps' definition 'cusp'. libswe-2.10.03/swehouse.c:183:13: note: Function 'swe_houses_ex' argument 6 names different: declaration 'cusps' definition 'cusp'. libswe-2.10.03/swehouse.c:212:13: style:inconclusive: Function 'swe_houses_ex2' argument 6 names different: declaration 'cusps' definition 'cusp'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:827:10: note: Function 'swe_houses_ex2' argument 6 names different: declaration 'cusps' definition 'cusp'. libswe-2.10.03/swehouse.c:212:13: note: Function 'swe_houses_ex2' argument 6 names different: declaration 'cusps' definition 'cusp'. libswe-2.10.03/swehouse.c:595:13: style:inconclusive: Function 'swe_houses_armc' argument 5 names different: declaration 'cusps' definition 'cusp'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:831:10: note: Function 'swe_houses_armc' argument 5 names different: declaration 'cusps' definition 'cusp'. libswe-2.10.03/swehouse.c:595:13: note: Function 'swe_houses_armc' argument 5 names different: declaration 'cusps' definition 'cusp'. libswe-2.10.03/swehouse.c:627:13: style:inconclusive: Function 'swe_houses_armc_ex2' argument 5 names different: declaration 'cusps' definition 'cusp'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:835:10: note: Function 'swe_houses_armc_ex2' argument 5 names different: declaration 'cusps' definition 'cusp'. libswe-2.10.03/swehouse.c:627:13: note: Function 'swe_houses_armc_ex2' argument 5 names different: declaration 'cusps' definition 'cusp'. libswe-2.10.03/swehouse.c:1336:17: style: Local variable 'c' shadows outer variable [shadowVariable] libswe-2.10.03/swehouse.c:936:13: note: Shadowed declaration libswe-2.10.03/swehouse.c:1336:17: note: Shadow variable libswe-2.10.03/swehouse.c:1336:60: style: Local variable 'x' shadows outer variable [shadowVariable] libswe-2.10.03/swehouse.c:939:10: note: Shadowed declaration libswe-2.10.03/swehouse.c:1336:60: note: Shadow variable libswe-2.10.03/swehouse.c:1490:12: style: Local variable 'a' shadows outer variable [shadowVariable] libswe-2.10.03/swehouse.c:936:10: note: Shadowed declaration libswe-2.10.03/swehouse.c:1490:12: note: Shadow variable libswe-2.10.03/swehouse.c:1522:12: style: Local variable 'a' shadows outer variable [shadowVariable] libswe-2.10.03/swehouse.c:936:10: note: Shadowed declaration libswe-2.10.03/swehouse.c:1522:12: note: Shadow variable libswe-2.10.03/swehouse.c:1523:12: style: Local variable 'x' shadows outer variable [shadowVariable] libswe-2.10.03/swehouse.c:939:10: note: Shadowed declaration libswe-2.10.03/swehouse.c:1523:12: note: Shadow variable libswe-2.10.03/swehouse.c:1547:12: style: Local variable 'a' shadows outer variable [shadowVariable] libswe-2.10.03/swehouse.c:936:10: note: Shadowed declaration libswe-2.10.03/swehouse.c:1547:12: note: Shadow variable libswe-2.10.03/swehouse.c:1548:12: style: Local variable 'x' shadows outer variable [shadowVariable] libswe-2.10.03/swehouse.c:939:10: note: Shadowed declaration libswe-2.10.03/swehouse.c:1548:12: note: Shadow variable libswe-2.10.03/swehouse.c:2375:14: style: Local variable 'a' shadows outer variable [shadowVariable] libswe-2.10.03/swehouse.c:2217:27: note: Shadowed declaration libswe-2.10.03/swehouse.c:2375:14: note: Shadow variable libswe-2.10.03/swehouse.c:221:20: style: Variable 'sip' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swehouse.c:321:36: style: Parameter 'nutlo' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swehouse.c:334:20: style: Variable 'sip' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swehouse.c:428:36: style: Parameter 'nutlo' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swehouse.c:441:20: style: Variable 'sip' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swehouse.c:2214:60: style: Parameter 'xpin' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swehouse.c:151:14: style: Variable 'result' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swehouse.c:1589:7: style: Variable 'acmc' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swehouse.c:2444:15: style: Variable 'xp[0]' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swejpl.c:281:22: error: Array 'js->eh_ipt[39]' accessed at index -3, which is out of bounds. [negativeIndex] libswe-2.10.03/swejpl.c:270:9: note: Assignment 'khi=0', assigned value is 0 libswe-2.10.03/swejpl.c:272:27: note: Assuming condition is false libswe-2.10.03/swejpl.c:281:22: note: Negative array index libswe-2.10.03/swejpl.c:281:53: error: Array 'js->eh_ipt[39]' accessed at index -2, which is out of bounds. [negativeIndex] libswe-2.10.03/swejpl.c:270:9: note: Assignment 'khi=0', assigned value is 0 libswe-2.10.03/swejpl.c:272:27: note: Assuming condition is false libswe-2.10.03/swejpl.c:281:53: note: Negative array index libswe-2.10.03/swejpl.c:281:79: error: Array 'js->eh_ipt[39]' accessed at index -1, which is out of bounds. [negativeIndex] libswe-2.10.03/swejpl.c:270:9: note: Assignment 'khi=0', assigned value is 0 libswe-2.10.03/swejpl.c:272:27: note: Assuming condition is false libswe-2.10.03/swejpl.c:281:79: note: Negative array index libswe-2.10.03/swejpl.c:750:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libswe-2.10.03/swejpl.c:750:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libswe-2.10.03/swejpl.c:752:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libswe-2.10.03/swejpl.c:752:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libswe-2.10.03/swejpl.c:219:13: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] libswe-2.10.03/swejpl.c:240:13: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] libswe-2.10.03/swejpl.c:245:13: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] libswe-2.10.03/swejpl.c:684:15: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] libswe-2.10.03/swejpl.c:694:15: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] libswe-2.10.03/swejpl.c:699:15: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] libswe-2.10.03/swejpl.c:721:15: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] libswe-2.10.03/swejpl.c:763:15: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] libswe-2.10.03/swejpl.c:768:15: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] libswe-2.10.03/swejpl.c:807:10: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] libswe-2.10.03/swejpl.c:466:27: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swejpl.c:646:36: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swejpl.c:918:41: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swejpl.c:918:54: style: Parameter 'fpath' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swemini.c:38:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] libswe-2.10.03/swemmoon.c:1887:5: style: Variable 'sNF' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swemmoon.c:1877:5: note: sNF is assigned libswe-2.10.03/swemmoon.c:1887:5: note: sNF is overwritten libswe-2.10.03/swemmoon.c:1888:5: style: Variable 'sD' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swemmoon.c:1878:5: note: sD is assigned libswe-2.10.03/swemmoon.c:1888:5: note: sD is overwritten libswe-2.10.03/swemmoon.c:1889:5: style: Variable 'sLP' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swemmoon.c:1879:5: note: sLP is assigned libswe-2.10.03/swemmoon.c:1889:5: note: sLP is overwritten libswe-2.10.03/swemmoon.c:1890:5: style: Variable 'sMP' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swemmoon.c:1880:5: note: sMP is assigned libswe-2.10.03/swemmoon.c:1890:5: note: sMP is overwritten libswe-2.10.03/swemmoon.c:848:26: style:inconclusive: Function 'swi_moshmoon2' argument 1 names different: declaration 'jd' definition 'J'. [funcArgNamesDifferent] libswe-2.10.03/sweph.h:669:33: note: Function 'swi_moshmoon2' argument 1 names different: declaration 'jd' definition 'J'. libswe-2.10.03/swemmoon.c:848:26: note: Function 'swi_moshmoon2' argument 1 names different: declaration 'jd' definition 'J'. libswe-2.10.03/swemmoon.c:848:37: style:inconclusive: Function 'swi_moshmoon2' argument 2 names different: declaration 'x' definition 'pol'. [funcArgNamesDifferent] libswe-2.10.03/sweph.h:669:45: note: Function 'swi_moshmoon2' argument 2 names different: declaration 'x' definition 'pol'. libswe-2.10.03/swemmoon.c:848:37: note: Function 'swi_moshmoon2' argument 2 names different: declaration 'x' definition 'pol'. libswe-2.10.03/swemmoon.c:869:55: style:inconclusive: Function 'swi_moshmoon' argument 3 names different: declaration 'xpm' definition 'xpmret'. [funcArgNamesDifferent] libswe-2.10.03/sweph.h:668:62: note: Function 'swi_moshmoon' argument 3 names different: declaration 'xpm' definition 'xpmret'. libswe-2.10.03/swemmoon.c:869:55: note: Function 'swi_moshmoon' argument 3 names different: declaration 'xpm' definition 'xpmret'. libswe-2.10.03/swemmoon.c:1493:26: style:inconclusive: Function 'swi_mean_node' argument 1 names different: declaration 'jd' definition 'J'. [funcArgNamesDifferent] libswe-2.10.03/sweph.h:666:33: note: Function 'swi_mean_node' argument 1 names different: declaration 'jd' definition 'J'. libswe-2.10.03/swemmoon.c:1493:26: note: Function 'swi_mean_node' argument 1 names different: declaration 'jd' definition 'J'. libswe-2.10.03/swemmoon.c:1493:37: style:inconclusive: Function 'swi_mean_node' argument 2 names different: declaration 'x' definition 'pol'. [funcArgNamesDifferent] libswe-2.10.03/sweph.h:666:45: note: Function 'swi_mean_node' argument 2 names different: declaration 'x' definition 'pol'. libswe-2.10.03/swemmoon.c:1493:37: note: Function 'swi_mean_node' argument 2 names different: declaration 'x' definition 'pol'. libswe-2.10.03/swemmoon.c:1564:26: style:inconclusive: Function 'swi_mean_apog' argument 1 names different: declaration 'jd' definition 'J'. [funcArgNamesDifferent] libswe-2.10.03/sweph.h:667:33: note: Function 'swi_mean_apog' argument 1 names different: declaration 'jd' definition 'J'. libswe-2.10.03/swemmoon.c:1564:26: note: Function 'swi_mean_apog' argument 1 names different: declaration 'jd' definition 'J'. libswe-2.10.03/swemmoon.c:1564:37: style:inconclusive: Function 'swi_mean_apog' argument 2 names different: declaration 'x' definition 'pol'. [funcArgNamesDifferent] libswe-2.10.03/sweph.h:667:45: note: Function 'swi_mean_apog' argument 2 names different: declaration 'x' definition 'pol'. libswe-2.10.03/swemmoon.c:1564:37: note: Function 'swi_mean_apog' argument 2 names different: declaration 'x' definition 'pol'. libswe-2.10.03/swemmoon.c:1861:3: style: Variable 'ii' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swemmoon.c:1893:5: style: Variable 'cMP' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swemplan.c:416:32: style:inconclusive: Function 'embofs_mosh' argument 1 names different: declaration 'J' definition 'tjd'. [funcArgNamesDifferent] libswe-2.10.03/swemplan.c:75:32: note: Function 'embofs_mosh' argument 1 names different: declaration 'J' definition 'tjd'. libswe-2.10.03/swemplan.c:416:32: note: Function 'embofs_mosh' argument 1 names different: declaration 'J' definition 'tjd'. libswe-2.10.03/swemplan.c:513:42: style:inconclusive: Function 'swi_get_fict_name' argument 2 names different: declaration 's' definition 'snam'. [funcArgNamesDifferent] libswe-2.10.03/swephlib.h:169:49: note: Function 'swi_get_fict_name' argument 2 names different: declaration 's' definition 'snam'. libswe-2.10.03/swemplan.c:513:42: note: Function 'swi_get_fict_name' argument 2 names different: declaration 's' definition 'snam'. libswe-2.10.03/swemplan.c:137:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swemplan.c:138:11: style: Variable 'pl' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swemplan.c:138:16: style: Variable 'pb' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swemplan.c:138:21: style: Variable 'pr' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swemplan.c:579:72: style: Parameter 'xearth' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swemplan.c:579:88: style: Parameter 'xsun' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swemplan.c:587:21: style: Variable 'pedp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swemplan.c:920:9: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swemplan.c:342:8: style: Variable 'xp' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swemplan.c:918:15: style: Variable 'isgn' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweph.c:4805:24: warning: Either the condition 'ipli>=9000' is redundant or the array 'swed.pldat[18]' is accessed at index 8999, which is out of bounds. [arrayIndexOutOfBoundsCond] libswe-2.10.03/sweph.c:4802:21: note: Assuming that condition 'ipli>=9000' is not redundant libswe-2.10.03/sweph.c:4805:24: note: Array index out of bounds libswe-2.10.03/sweph.c:7555:10: error: Array 'fstar[41]' accessed at index 256, which is out of bounds. [arrayIndexOutOfBounds] libswe-2.10.03/sweph.c:7553:38: note: Assignment 'slen=256', assigned value is 256 libswe-2.10.03/sweph.c:7555:10: note: Array index out of bounds libswe-2.10.03/sweph.c:4717:19: style: Array index 'j' is used before limits check. [arrayIndexThenCheck] libswe-2.10.03/sweph.c:7450:16: style: Condition 'serr!=NULL' is always true [knownConditionTrueFalse] libswe-2.10.03/sweph.c:2938:7: style: Variable 'nutp' is assigned an expression that holds the same value. [redundantAssignment] libswe-2.10.03/sweph.c:2932:20: note: nutp is assigned '&nuttmp' here. libswe-2.10.03/sweph.c:2938:7: note: Variable 'nutp' is assigned an expression that holds the same value. libswe-2.10.03/sweph.c:3542:8: style: Redundant initialization for 'oe'. The initialized value is overwritten before it is read. [redundantInitialization] libswe-2.10.03/sweph.c:3374:22: note: oe is initialized libswe-2.10.03/sweph.c:3542:8: note: oe is overwritten libswe-2.10.03/sweph.c:4288:8: style: Redundant initialization for 'oe'. The initialized value is overwritten before it is read. [redundantInitialization] libswe-2.10.03/sweph.c:4259:22: note: oe is initialized libswe-2.10.03/sweph.c:4288:8: note: oe is overwritten libswe-2.10.03/sweph.c:5790:10: style: Redundant initialization for 'oe'. The initialized value is overwritten before it is read. [redundantInitialization] libswe-2.10.03/sweph.c:5763:22: note: oe is initialized libswe-2.10.03/sweph.c:5790:10: note: oe is overwritten libswe-2.10.03/sweph.c:6585:8: style: Redundant initialization for 'oe'. The initialized value is overwritten before it is read. [redundantInitialization] libswe-2.10.03/sweph.c:6418:22: note: oe is initialized libswe-2.10.03/sweph.c:6585:8: note: oe is overwritten libswe-2.10.03/sweph.c:6474:8: style: Variable 'x[2]' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/sweph.c:6466:8: note: x[2] is assigned libswe-2.10.03/sweph.c:6474:8: note: x[2] is overwritten libswe-2.10.03/sweph.c:7432:10: style: Variable 'retval' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/sweph.c:7430:10: note: retval is assigned libswe-2.10.03/sweph.c:7432:10: note: retval is overwritten libswe-2.10.03/sweph.c:7433:10: style: Variable 'retval' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/sweph.c:7432:10: note: retval is assigned libswe-2.10.03/sweph.c:7433:10: note: retval is overwritten libswe-2.10.03/sweph.c:7799:8: style: Redundant initialization for 'oe'. The initialized value is overwritten before it is read. [redundantInitialization] libswe-2.10.03/sweph.c:7626:22: note: oe is initialized libswe-2.10.03/sweph.c:7799:8: note: oe is overwritten libswe-2.10.03/sweph.c:7683:8: style: Variable 'x[2]' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/sweph.c:7675:8: note: x[2] is assigned libswe-2.10.03/sweph.c:7683:8: note: x[2] is overwritten libswe-2.10.03/sweph.c:8124:10: style: Variable 'retc' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/sweph.c:8123:10: note: retc is assigned libswe-2.10.03/sweph.c:8124:10: note: retc is overwritten libswe-2.10.03/sweph.c:1759:70: style:inconclusive: Function 'swemoon' argument 4 names different: declaration 'xp' definition 'xpret'. [funcArgNamesDifferent] libswe-2.10.03/sweph.c:198:70: note: Function 'swemoon' argument 4 names different: declaration 'xp' definition 'xpret'. libswe-2.10.03/sweph.c:1759:70: note: Function 'swemoon' argument 4 names different: declaration 'xp' definition 'xpret'. libswe-2.10.03/sweph.c:1820:14: style:inconclusive: Function 'sweplan' argument 6 names different: declaration 'xp' definition 'xpret'. [funcArgNamesDifferent] libswe-2.10.03/sweph.c:196:14: note: Function 'sweplan' argument 6 names different: declaration 'xp' definition 'xpret'. libswe-2.10.03/sweph.c:1820:14: note: Function 'sweplan' argument 6 names different: declaration 'xp' definition 'xpret'. libswe-2.10.03/sweph.c:1820:29: style:inconclusive: Function 'sweplan' argument 7 names different: declaration 'xpe' definition 'xperet'. [funcArgNamesDifferent] libswe-2.10.03/sweph.c:196:26: note: Function 'sweplan' argument 7 names different: declaration 'xpe' definition 'xperet'. libswe-2.10.03/sweph.c:1820:29: note: Function 'sweplan' argument 7 names different: declaration 'xpe' definition 'xperet'. libswe-2.10.03/sweph.c:1820:45: style:inconclusive: Function 'sweplan' argument 8 names different: declaration 'xps' definition 'xpsret'. [funcArgNamesDifferent] libswe-2.10.03/sweph.c:196:39: note: Function 'sweplan' argument 8 names different: declaration 'xps' definition 'xpsret'. libswe-2.10.03/sweph.c:1820:45: note: Function 'sweplan' argument 8 names different: declaration 'xps' definition 'xpsret'. libswe-2.10.03/sweph.c:1820:61: style:inconclusive: Function 'sweplan' argument 9 names different: declaration 'xpm' definition 'xpmret'. [funcArgNamesDifferent] libswe-2.10.03/sweph.c:196:52: note: Function 'sweplan' argument 9 names different: declaration 'xpm' definition 'xpmret'. libswe-2.10.03/sweph.c:1820:61: note: Function 'sweplan' argument 9 names different: declaration 'xpm' definition 'xpmret'. libswe-2.10.03/sweph.c:1989:14: style:inconclusive: Function 'jplplan' argument 5 names different: declaration 'xp' definition 'xpret'. [funcArgNamesDifferent] libswe-2.10.03/sweph.c:202:14: note: Function 'jplplan' argument 5 names different: declaration 'xp' definition 'xpret'. libswe-2.10.03/sweph.c:1989:14: note: Function 'jplplan' argument 5 names different: declaration 'xp' definition 'xpret'. libswe-2.10.03/sweph.c:1989:29: style:inconclusive: Function 'jplplan' argument 6 names different: declaration 'xpe' definition 'xperet'. [funcArgNamesDifferent] libswe-2.10.03/sweph.c:202:26: note: Function 'jplplan' argument 6 names different: declaration 'xpe' definition 'xperet'. libswe-2.10.03/sweph.c:1989:29: note: Function 'jplplan' argument 6 names different: declaration 'xpe' definition 'xperet'. libswe-2.10.03/sweph.c:1989:45: style:inconclusive: Function 'jplplan' argument 7 names different: declaration 'xps' definition 'xpsret'. [funcArgNamesDifferent] libswe-2.10.03/sweph.c:202:39: note: Function 'jplplan' argument 7 names different: declaration 'xps' definition 'xpsret'. libswe-2.10.03/sweph.c:1989:45: note: Function 'jplplan' argument 7 names different: declaration 'xps' definition 'xpsret'. libswe-2.10.03/sweph.c:2124:103: style:inconclusive: Function 'sweph' argument 7 names different: declaration 'xp' definition 'xpret'. [funcArgNamesDifferent] libswe-2.10.03/sweph.c:200:11: note: Function 'sweph' argument 7 names different: declaration 'xp' definition 'xpret'. libswe-2.10.03/sweph.c:2124:103: note: Function 'sweph' argument 7 names different: declaration 'xp' definition 'xpret'. libswe-2.10.03/sweph.c:4903:27: style:inconclusive: Function 'do_fread' argument 1 names different: declaration 'targ' definition 'trg'. [funcArgNamesDifferent] libswe-2.10.03/sweph.c:185:27: note: Function 'do_fread' argument 1 names different: declaration 'targ' definition 'trg'. libswe-2.10.03/sweph.c:4903:27: note: Function 'do_fread' argument 1 names different: declaration 'targ' definition 'trg'. libswe-2.10.03/sweph.c:4962:26: style:inconclusive: Function 'rot_back' argument 1 names different: declaration 'ipl' definition 'ipli'. [funcArgNamesDifferent] libswe-2.10.03/sweph.c:203:26: note: Function 'rot_back' argument 1 names different: declaration 'ipl' definition 'ipli'. libswe-2.10.03/sweph.c:4962:26: note: Function 'rot_back' argument 1 names different: declaration 'ipl' definition 'ipli'. libswe-2.10.03/sweph.c:5072:56: style:inconclusive: Function 'nut_matrix' argument 2 names different: declaration 'oec' definition 'oe'. [funcArgNamesDifferent] libswe-2.10.03/sweph.c:214:56: note: Function 'nut_matrix' argument 2 names different: declaration 'oec' definition 'oe'. libswe-2.10.03/sweph.c:5072:56: note: Function 'nut_matrix' argument 2 names different: declaration 'oec' definition 'oe'. libswe-2.10.03/sweph.c:6946:52: style:inconclusive: Function 'swe_get_planet_name' argument 2 names different: declaration 'spname' definition 's'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:752:53: note: Function 'swe_get_planet_name' argument 2 names different: declaration 'spname' definition 's'. libswe-2.10.03/sweph.c:6946:52: note: Function 'swe_get_planet_name' argument 2 names different: declaration 'spname' definition 's'. libswe-2.10.03/sweph.c:7387:37: style:inconclusive: Function 'swe_time_equ' argument 1 names different: declaration 'tjd' definition 'tjd_ut'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:956:36: note: Function 'swe_time_equ' argument 1 names different: declaration 'tjd' definition 'tjd_ut'. libswe-2.10.03/sweph.c:7387:37: note: Function 'swe_time_equ' argument 1 names different: declaration 'tjd' definition 'tjd_ut'. libswe-2.10.03/sweph.c:7387:53: style:inconclusive: Function 'swe_time_equ' argument 2 names different: declaration 'te' definition 'E'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:956:49: note: Function 'swe_time_equ' argument 2 names different: declaration 'te' definition 'E'. libswe-2.10.03/sweph.c:7387:53: note: Function 'swe_time_equ' argument 2 names different: declaration 'te' definition 'E'. libswe-2.10.03/sweph.c:8456:83: style:inconclusive: Function 'swe_mooncross_node' argument 4 names different: declaration 'xlat' definition 'xla'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:716:84: note: Function 'swe_mooncross_node' argument 4 names different: declaration 'xlat' definition 'xla'. libswe-2.10.03/sweph.c:8456:83: note: Function 'swe_mooncross_node' argument 4 names different: declaration 'xlat' definition 'xla'. libswe-2.10.03/sweph.c:8493:86: style:inconclusive: Function 'swe_mooncross_node_ut' argument 4 names different: declaration 'xlat' definition 'xla'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:717:87: note: Function 'swe_mooncross_node_ut' argument 4 names different: declaration 'xlat' definition 'xla'. libswe-2.10.03/sweph.c:8493:86: note: Function 'swe_mooncross_node_ut' argument 4 names different: declaration 'xlat' definition 'xla'. libswe-2.10.03/sweph.c:597:11: style: Variable 'xp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:1319:9: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:2124:71: style: Parameter 'xsunb' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweph.c:2132:21: style: Variable 'psdp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:2362:33: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweph.c:2362:46: style: Parameter 'ephepath' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweph.c:2444:74: style: Parameter 'xcom' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweph.c:2778:41: style: Parameter 'oe' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweph.c:2961:20: style: Variable 'sip' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:3004:20: style: Variable 'sip' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:3272:33: style: Parameter 'xin' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweph.c:3276:20: style: Variable 'sip' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:3307:38: style: Parameter 'xin' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweph.c:3311:20: style: Variable 'sip' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:3312:19: style: Variable 'oe' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:3553:19: style: Variable 'oe' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:3646:45: style: Parameter 'xe' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweph.c:3698:42: style: Parameter 'xe' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweph.c:4527:9: style: Variable 'serr_file_damage' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:4528:9: style: Variable 'smsg' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:4972:20: style: Variable 'refepy' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:5061:42: style: Parameter 'xmoon' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweph.c:5072:56: style: Parameter 'oe' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweph.c:5176:19: style: Variable 'oe' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:5602:19: style: Variable 'oe' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:5603:15: style: Variable 'nut' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:5982:55: style: Parameter 'x1' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweph.c:5998:32: style: Parameter 'x0' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweph.c:5998:56: style: Parameter 'x2' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweph.c:6153:47: style: Parameter 'star' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweph.c:6177:64: style: Parameter 'fstp' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweph.c:6181:9: style: Variable 'serr_alloc' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:6210:32: style: Parameter 'srecord' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweph.c:6214:9: style: Variable 'sde_d' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:6407:58: style: Parameter 'stardata' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/sweph.c:6418:19: style: Variable 'oe' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:6680:22: style: Variable 'stardatap' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:6681:22: style: Variable 'stardatabegp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:7626:19: style: Variable 'oe' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:8049:19: style: Variable 'oe' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:8300:21: style: Variable 'pfp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/sweph.c:2000:9: style: Variable 'iflag' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweph.c:2129:19: style: Unused variable: xx [unusedVariable] libswe-2.10.03/sweph.c:2932:20: style: Variable 'nutp' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweph.c:3652:19: style: Variable 'xxs[i]' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweph.c:6410:14: style: Variable 'retc' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweph.c:6505:15: style: Variable 'retc' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweph.c:6676:29: style: Variable 'ndata' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweph.c:6712:20: style: Variable 'searchkey[len]' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweph.c:7403:15: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/sweph.c:7714:15: style: Variable 'retc' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swephgen4.c:201:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libswe-2.10.03/swephgen4.c:251:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libswe-2.10.03/swephgen4.c:108:51: style: Parameter 'ecliptic' can be declared as const array [constParameter] libswe-2.10.03/swephgen4.c:109:16: style: Parameter 'nutation' can be declared as const array [constParameter] libswe-2.10.03/swephgen4.c:191:13: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swephgen4.c:292:16: style: Variable 'iflagret' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swephlib.c:2619:13: style: Expression is always true because 'else if' condition is opposite to previous condition at line 2612. [multiCondition] libswe-2.10.03/swephlib.c:2612:11: note: first condition libswe-2.10.03/swephlib.c:2619:13: note: else if condition is opposite to first condition libswe-2.10.03/swephlib.c:2642:13: style: Expression is always true because 'else if' condition is opposite to previous condition at line 2635. [multiCondition] libswe-2.10.03/swephlib.c:2635:11: note: first condition libswe-2.10.03/swephlib.c:2642:13: note: else if condition is opposite to first condition libswe-2.10.03/swephlib.c:4444:4: warning: Either the condition 'sdet!=NULL' is redundant or there is possible null pointer dereference: sdet. [nullPointerRedundantCheck] libswe-2.10.03/swephlib.c:4445:12: note: Assuming that condition 'sdet!=NULL' is not redundant libswe-2.10.03/swephlib.c:4444:4: note: Null pointer dereference libswe-2.10.03/swephlib.c:953:7: style: Variable 'dofs' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swephlib.c:950:12: note: dofs is assigned libswe-2.10.03/swephlib.c:953:7: note: dofs is overwritten libswe-2.10.03/swephlib.c:961:7: style: Variable 'dofs' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swephlib.c:960:7: note: dofs is assigned libswe-2.10.03/swephlib.c:961:7: note: dofs is overwritten libswe-2.10.03/swephlib.c:2193:10: style: Variable 'dofs' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swephlib.c:2192:10: note: dofs is assigned libswe-2.10.03/swephlib.c:2193:10: note: dofs is overwritten libswe-2.10.03/swephlib.c:3301:11: style: Variable 'xobl[1]' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swephlib.c:3300:28: note: xobl[1] is assigned libswe-2.10.03/swephlib.c:3301:11: note: xobl[1] is overwritten libswe-2.10.03/swephlib.c:535:26: style:inconclusive: Function 'swi_ldp_peps' argument 1 names different: declaration 'J' definition 'tjd'. [funcArgNamesDifferent] libswe-2.10.03/swephlib.h:134:33: note: Function 'swi_ldp_peps' argument 1 names different: declaration 'J' definition 'tjd'. libswe-2.10.03/swephlib.c:535:26: note: Function 'swi_ldp_peps' argument 1 names different: declaration 'J' definition 'tjd'. libswe-2.10.03/swephlib.c:2126:25: style:inconclusive: Function 'swi_nutation' argument 1 names different: declaration 'J' definition 'tjd'. [funcArgNamesDifferent] libswe-2.10.03/swephlib.h:138:32: note: Function 'swi_nutation' argument 1 names different: declaration 'J' definition 'tjd'. libswe-2.10.03/swephlib.c:2126:25: note: Function 'swi_nutation' argument 1 names different: declaration 'J' definition 'tjd'. libswe-2.10.03/swephlib.c:3464:38: style:inconclusive: Function 'swe_sidtime0' argument 1 names different: declaration 'tjd_ut' definition 'tjd'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:961:39: note: Function 'swe_sidtime0' argument 1 names different: declaration 'tjd_ut' definition 'tjd'. libswe-2.10.03/swephlib.c:3464:38: note: Function 'swe_sidtime0' argument 1 names different: declaration 'tjd_ut' definition 'tjd'. libswe-2.10.03/swephlib.c:3888:72: style:inconclusive: Function 'swe_cs2lonlatstr' argument 4 names different: declaration 's' definition 'sp'. [funcArgNamesDifferent] libswe-2.10.03/swephexp.h:1015:73: note: Function 'swe_cs2lonlatstr' argument 4 names different: declaration 's' definition 'sp'. libswe-2.10.03/swephlib.c:3888:72: note: Function 'swe_cs2lonlatstr' argument 4 names different: declaration 's' definition 'sp'. libswe-2.10.03/swephlib.c:1107:12: style: Local variable 'T' shadows outer variable [shadowVariable] libswe-2.10.03/swephlib.c:1025:10: note: Shadowed declaration libswe-2.10.03/swephlib.c:1107:12: note: Shadow variable libswe-2.10.03/swephlib.c:3003:13: style: Local variable 'dt' shadows outer variable [shadowVariable] libswe-2.10.03/swephlib.c:2431:19: note: Shadowed declaration libswe-2.10.03/swephlib.c:3003:13: note: Shadow variable libswe-2.10.03/swephlib.c:160:29: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swephlib.c:160:40: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swephlib.c:171:36: style: Parameter 'coef' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swephlib.c:190:37: style: Parameter 'coef' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swephlib.c:223:36: style: Parameter 'xpo' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swephlib.c:251:39: style: Parameter 'xpo' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swephlib.c:279:26: style: Parameter 'xpo' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swephlib.c:299:27: style: Parameter 'xpo' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swephlib.c:314:26: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swephlib.c:343:26: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swephlib.c:453:34: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swephlib.c:453:45: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swephlib.c:750:10: style: Variable 't0s' can be declared as const array [constVariable] libswe-2.10.03/swephlib.c:2004:30: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swephlib.c:3617:9: style: Variable 'sform' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swephlib.c:3704:31: style: Parameter 'cutlist' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swephlib.c:3891:9: style: Variable 'aa' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swephlib.c:4121:9: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swephlib.c:4403:8: style: Variable 'pmodel' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swephlib.c:4539:34: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swephlib.c:952:7: style: Variable 'tofs' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swephlib.c:955:7: style: Variable 'tofs' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swephlib.c:2184:7: style: Variable 't' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swephlib.c:2187:7: style: Variable 't' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swetest.c:1219:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libswe-2.10.03/swetest.c:2103:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libswe-2.10.03/swetest.c:3921:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libswe-2.10.03/swetest.c:3714:88: warning: Either the condition 'event_type<=4' is redundant or the array 'sevtname[7]' is accessed at index 7, which is out of bounds. [arrayIndexOutOfBoundsCond] libswe-2.10.03/swetest.c:3695:18: note: Assuming that condition 'event_type<=4' is not redundant libswe-2.10.03/swetest.c:3714:88: note: Array index out of bounds libswe-2.10.03/swetest.c:2946:7: style: Variable 'retc' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swetest.c:2945:7: note: retc is assigned libswe-2.10.03/swetest.c:2946:7: note: retc is overwritten libswe-2.10.03/swetest.c:2624:25: style:inconclusive: Function 'dms' argument 1 names different: declaration 'x' definition 'xv'. [funcArgNamesDifferent] libswe-2.10.03/swetest.c:721:25: note: Function 'dms' argument 1 names different: declaration 'x' definition 'xv'. libswe-2.10.03/swetest.c:2624:25: note: Function 'dms' argument 1 names different: declaration 'x' definition 'xv'. libswe-2.10.03/swetest.c:2624:35: style:inconclusive: Function 'dms' argument 2 names different: declaration 'iflag' definition 'iflg'. [funcArgNamesDifferent] libswe-2.10.03/swetest.c:721:34: note: Function 'dms' argument 2 names different: declaration 'iflag' definition 'iflg'. libswe-2.10.03/swetest.c:2624:35: note: Function 'dms' argument 2 names different: declaration 'iflag' definition 'iflg'. libswe-2.10.03/swetest.c:3888:34: style:inconclusive: Function 'hms_from_tjd' argument 1 names different: declaration 'x' definition 'tjd'. [funcArgNamesDifferent] libswe-2.10.03/swetest.c:727:34: note: Function 'hms_from_tjd' argument 1 names different: declaration 'x' definition 'tjd'. libswe-2.10.03/swetest.c:3888:34: note: Function 'hms_from_tjd' argument 1 names different: declaration 'x' definition 'tjd'. libswe-2.10.03/swetest.c:3933:51: style:inconclusive: Function 'make_ephemeris_path' argument 2 names different: declaration 'ephepath' definition 'path'. [funcArgNamesDifferent] libswe-2.10.03/swetest.c:722:51: note: Function 'make_ephemeris_path' argument 2 names different: declaration 'ephepath' definition 'path'. libswe-2.10.03/swetest.c:3933:51: note: Function 'make_ephemeris_path' argument 2 names different: declaration 'ephepath' definition 'path'. libswe-2.10.03/swetest.c:2765:20: style: Local variable 'jut' shadows outer variable [shadowVariable] libswe-2.10.03/swetest.c:741:27: note: Shadowed declaration libswe-2.10.03/swetest.c:2765:20: note: Shadow variable libswe-2.10.03/swetest.c:2766:9: style: Local variable 'jyear' shadows outer variable [shadowVariable] libswe-2.10.03/swetest.c:742:24: note: Shadowed declaration libswe-2.10.03/swetest.c:2766:9: note: Shadow variable libswe-2.10.03/swetest.c:2766:16: style: Local variable 'jmon' shadows outer variable [shadowVariable] libswe-2.10.03/swetest.c:742:12: note: Shadowed declaration libswe-2.10.03/swetest.c:2766:16: note: Shadow variable libswe-2.10.03/swetest.c:2766:22: style: Local variable 'jday' shadows outer variable [shadowVariable] libswe-2.10.03/swetest.c:742:18: note: Shadowed declaration libswe-2.10.03/swetest.c:2766:22: note: Shadow variable libswe-2.10.03/swetest.c:2839:10: style: Local variable 'tret' shadows outer variable [shadowVariable] libswe-2.10.03/swetest.c:766:25: note: Shadowed declaration libswe-2.10.03/swetest.c:2839:10: note: Shadow variable libswe-2.10.03/swetest.c:2996:16: style: Local variable 'attr' shadows outer variable [shadowVariable] libswe-2.10.03/swetest.c:766:15: note: Shadowed declaration libswe-2.10.03/swetest.c:2996:16: note: Shadow variable libswe-2.10.03/swetest.c:3244:14: style: Local variable 'tret' shadows outer variable [shadowVariable] libswe-2.10.03/swetest.c:766:25: note: Shadowed declaration libswe-2.10.03/swetest.c:3244:14: note: Shadow variable libswe-2.10.03/swetest.c:3244:24: style: Local variable 'attr' shadows outer variable [shadowVariable] libswe-2.10.03/swetest.c:766:15: note: Shadowed declaration libswe-2.10.03/swetest.c:3244:24: note: Shadow variable libswe-2.10.03/swetest.c:3470:14: style: Local variable 'tret' shadows outer variable [shadowVariable] libswe-2.10.03/swetest.c:766:25: note: Shadowed declaration libswe-2.10.03/swetest.c:3470:14: note: Shadow variable libswe-2.10.03/swetest.c:3470:24: style: Local variable 'attr' shadows outer variable [shadowVariable] libswe-2.10.03/swetest.c:766:15: note: Shadowed declaration libswe-2.10.03/swetest.c:3470:24: note: Shadow variable libswe-2.10.03/swetest.c:3891:10: style: Local variable 'x' shadows outer variable [shadowVariable] libswe-2.10.03/swetest.c:763:15: note: Shadowed declaration libswe-2.10.03/swetest.c:3891:10: note: Shadow variable libswe-2.10.03/swetest.c:838:9: style: Variable 'begindate' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swetest.c:2585:20: style: Variable 'hexa' can be declared as const array [constVariable] libswe-2.10.03/swetest.c:2628:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swetest.c:2749:49: style: Parameter 'geopos' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swetest.c:2783:46: style: Parameter 'sout' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swetest.c:2783:58: style: Parameter 'gap' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swetest.c:2997:79: style: Variable 'styp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swetest.c:2997:95: style: Variable 'sgj' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swetest.c:3246:70: style: Variable 'styp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swetest.c:3246:86: style: Variable 'sgj' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swetest.c:3678:39: style: Parameter 'dret' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swetest.c:3678:69: style: Parameter 'obj_name' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swetest.c:3680:9: style: Variable 'sevtname' can be declared as const array [constVariable] libswe-2.10.03/swetest.c:3687:9: style: Variable 'stz' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swetest.c:3719:64: style: Parameter 'star' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swetest.c:3902:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swetest.c:3916:29: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swetest.c:3933:38: style: Parameter 'argv0' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swetest.c:3935:9: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swetest.c:3936:9: style: Variable 'dirglue' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swetest.c:4059:41: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swetest.c:2040:17: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swetest.c:3146:20: style: Variable 'eclflag' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swetest.c:3243:19: style: Variable 'retc' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swetest.c:3247:21: style: Variable 'has_found' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swetest.c:3420:22: style: Variable 'eclflag' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swetest.c:3654:22: style: Variable 'eclflag' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swetest.c:3721:33: style: Variable 'event_type' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swetest.c:3937:18: style: Variable 'pathlen' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swevents.c:528:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] libswe-2.10.03/swevents.c:1357:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libswe-2.10.03/swevents.c:1852:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libswe-2.10.03/swevents.c:2134:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libswe-2.10.03/swevents.c:2559:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libswe-2.10.03/swevents.c:1376:10: error: Buffer is accessed out of bounds: smag [bufferAccessOutOfBounds] libswe-2.10.03/swevents.c:1378:10: error: Buffer is accessed out of bounds: smag [bufferAccessOutOfBounds] libswe-2.10.03/swevents.c:361:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] libswe-2.10.03/swevents.c:2264:15: style: Condition 'norb==1' is always false [knownConditionTrueFalse] libswe-2.10.03/swevents.c:2251:21: note: Assignment 'norb=3', assigned value is 3 libswe-2.10.03/swevents.c:2264:15: note: Condition 'norb==1' is always false libswe-2.10.03/swevents.c:2368:9: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] libswe-2.10.03/swevents.c:2372:9: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] libswe-2.10.03/swevents.c:2373:9: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] libswe-2.10.03/swevents.c:2374:9: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] libswe-2.10.03/swevents.c:2376:9: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] libswe-2.10.03/swevents.c:2388:9: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] libswe-2.10.03/swevents.c:1366:10: style: Redundant assignment of 'teph' to itself. [selfAssignment] libswe-2.10.03/swevents.c:2259:15: style: The comparison 'norb == 3' is always true. [knownConditionTrueFalse] libswe-2.10.03/swevents.c:2251:21: note: 'norb' is assigned value '3' here. libswe-2.10.03/swevents.c:2259:15: note: The comparison 'norb == 3' is always true. libswe-2.10.03/swevents.c:743:12: style: Variable 'iflgret' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swevents.c:742:12: note: iflgret is assigned libswe-2.10.03/swevents.c:743:12: note: iflgret is overwritten libswe-2.10.03/swevents.c:772:16: style: Variable 'iflgret' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swevents.c:771:16: note: iflgret is assigned libswe-2.10.03/swevents.c:772:16: note: iflgret is overwritten libswe-2.10.03/swevents.c:785:12: style: Variable 'iflgret' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swevents.c:784:12: note: iflgret is assigned libswe-2.10.03/swevents.c:785:12: note: iflgret is overwritten libswe-2.10.03/swevents.c:820:14: style: Variable 'iflgret' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swevents.c:814:14: note: iflgret is assigned libswe-2.10.03/swevents.c:820:14: note: iflgret is overwritten libswe-2.10.03/swevents.c:931:12: style: Variable 'iflgret' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swevents.c:930:12: note: iflgret is assigned libswe-2.10.03/swevents.c:931:12: note: iflgret is overwritten libswe-2.10.03/swevents.c:978:14: style: Variable 'iflgret' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swevents.c:977:14: note: iflgret is assigned libswe-2.10.03/swevents.c:978:14: note: iflgret is overwritten libswe-2.10.03/swevents.c:1232:16: style: Variable 'iflgret' is reassigned a value before the old one has been used. [redundantAssignment] libswe-2.10.03/swevents.c:1231:16: note: iflgret is assigned libswe-2.10.03/swevents.c:1232:16: note: iflgret is overwritten libswe-2.10.03/swevents.c:2521:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libswe-2.10.03/swevents.c:2408:56: style: Checking if unsigned expression 'fread((void*)tjdbeg,sizeof(double),1,fpout)' is less than zero. [unsignedLessThanZero] libswe-2.10.03/swevents.c:2421:56: style: Checking if unsigned expression 'fread((void*)tjd_ex,sizeof(double),1,fpout)' is less than zero. [unsignedLessThanZero] libswe-2.10.03/swevents.c:2425:51: style: Checking if unsigned expression 'fread((void*)ipla,sizeof(int),1,fpout)' is less than zero. [unsignedLessThanZero] libswe-2.10.03/swevents.c:2429:51: style: Checking if unsigned expression 'fread((void*)iplb,sizeof(int),1,fpout)' is less than zero. [unsignedLessThanZero] libswe-2.10.03/swevents.c:2433:51: style: Checking if unsigned expression 'fread((void*)iasp,sizeof(int),1,fpout)' is less than zero. [unsignedLessThanZero] libswe-2.10.03/swevents.c:2437:54: style: Checking if unsigned expression 'fread((void*)dasp,sizeof(double),1,fpout)' is less than zero. [unsignedLessThanZero] libswe-2.10.03/swevents.c:2441:54: style: Checking if unsigned expression 'fread((void*)dorb,sizeof(double),1,fpout)' is less than zero. [unsignedLessThanZero] libswe-2.10.03/swevents.c:2445:57: style: Checking if unsigned expression 'fread((void*)tjd_pre,sizeof(double),1,fpout)' is less than zero. [unsignedLessThanZero] libswe-2.10.03/swevents.c:2449:58: style: Checking if unsigned expression 'fread((void*)tjd_post,sizeof(double),1,fpout)' is less than zero. [unsignedLessThanZero] libswe-2.10.03/swevents.c:1295:40: style:inconclusive: Function 'print_item' argument 2 names different: declaration 't' definition 'teph'. [funcArgNamesDifferent] libswe-2.10.03/swevents.c:269:40: note: Function 'print_item' argument 2 names different: declaration 't' definition 'teph'. libswe-2.10.03/swevents.c:1295:40: note: Function 'print_item' argument 2 names different: declaration 't' definition 'teph'. libswe-2.10.03/swevents.c:1295:53: style:inconclusive: Function 'print_item' argument 3 names different: declaration 'x' definition 'dpos'. [funcArgNamesDifferent] libswe-2.10.03/swevents.c:269:50: note: Function 'print_item' argument 3 names different: declaration 'x' definition 'dpos'. libswe-2.10.03/swevents.c:1295:53: note: Function 'print_item' argument 3 names different: declaration 'x' definition 'dpos'. libswe-2.10.03/swevents.c:1295:66: style:inconclusive: Function 'print_item' argument 4 names different: declaration 'elo' definition 'delon'. [funcArgNamesDifferent] libswe-2.10.03/swevents.c:269:60: note: Function 'print_item' argument 4 names different: declaration 'elo' definition 'delon'. libswe-2.10.03/swevents.c:1295:66: note: Function 'print_item' argument 4 names different: declaration 'elo' definition 'delon'. libswe-2.10.03/swevents.c:1295:80: style:inconclusive: Function 'print_item' argument 5 names different: declaration 'mag' definition 'dmag'. [funcArgNamesDifferent] libswe-2.10.03/swevents.c:269:72: note: Function 'print_item' argument 5 names different: declaration 'mag' definition 'dmag'. libswe-2.10.03/swevents.c:1295:80: note: Function 'print_item' argument 5 names different: declaration 'mag' definition 'dmag'. libswe-2.10.03/swevents.c:2477:40: style:inconclusive: Function 'extract_data_of_day' argument 1 names different: declaration 'do_flag' definition 'doflag'. [funcArgNamesDifferent] libswe-2.10.03/swevents.c:292:40: note: Function 'extract_data_of_day' argument 1 names different: declaration 'do_flag' definition 'doflag'. libswe-2.10.03/swevents.c:2477:40: note: Function 'extract_data_of_day' argument 1 names different: declaration 'do_flag' definition 'doflag'. libswe-2.10.03/swevents.c:2477:55: style:inconclusive: Function 'extract_data_of_day' argument 2 names different: declaration 'te' definition 'tjd'. [funcArgNamesDifferent] libswe-2.10.03/swevents.c:292:56: note: Function 'extract_data_of_day' argument 2 names different: declaration 'te' definition 'tjd'. libswe-2.10.03/swevents.c:2477:55: note: Function 'extract_data_of_day' argument 2 names different: declaration 'te' definition 'tjd'. libswe-2.10.03/swevents.c:1088:9: style: Local variable 'x0' shadows outer variable [shadowVariable] libswe-2.10.03/swevents.c:337:23: note: Shadowed declaration libswe-2.10.03/swevents.c:1088:9: note: Shadow variable libswe-2.10.03/swevents.c:1088:13: style: Local variable 'x1' shadows outer variable [shadowVariable] libswe-2.10.03/swevents.c:337:30: note: Shadowed declaration libswe-2.10.03/swevents.c:1088:13: note: Shadow variable libswe-2.10.03/swevents.c:1088:17: style: Local variable 'x2' shadows outer variable [shadowVariable] libswe-2.10.03/swevents.c:337:37: note: Shadowed declaration libswe-2.10.03/swevents.c:1088:17: note: Shadow variable libswe-2.10.03/swevents.c:1088:39: style: Local variable 'x' shadows outer variable [shadowVariable] libswe-2.10.03/swevents.c:337:10: note: Shadowed declaration libswe-2.10.03/swevents.c:1088:39: note: Shadow variable libswe-2.10.03/swevents.c:1088:49: style: Local variable 'dx' shadows outer variable [shadowVariable] libswe-2.10.03/swevents.c:336:10: note: Shadowed declaration libswe-2.10.03/swevents.c:1088:49: note: Shadow variable libswe-2.10.03/swevents.c:1089:6: style: Local variable 'j' shadows outer variable [shadowVariable] libswe-2.10.03/swevents.c:330:10: note: Shadowed declaration libswe-2.10.03/swevents.c:1089:6: note: Shadow variable libswe-2.10.03/swevents.c:1148:9: style: Local variable 'x0' shadows outer variable [shadowVariable] libswe-2.10.03/swevents.c:337:23: note: Shadowed declaration libswe-2.10.03/swevents.c:1148:9: note: Shadow variable libswe-2.10.03/swevents.c:1148:13: style: Local variable 'x1' shadows outer variable [shadowVariable] libswe-2.10.03/swevents.c:337:30: note: Shadowed declaration libswe-2.10.03/swevents.c:1148:13: note: Shadow variable libswe-2.10.03/swevents.c:1148:17: style: Local variable 'x2' shadows outer variable [shadowVariable] libswe-2.10.03/swevents.c:337:37: note: Shadowed declaration libswe-2.10.03/swevents.c:1148:17: note: Shadow variable libswe-2.10.03/swevents.c:1148:43: style: Local variable 'x' shadows outer variable [shadowVariable] libswe-2.10.03/swevents.c:337:10: note: Shadowed declaration libswe-2.10.03/swevents.c:1148:43: note: Shadow variable libswe-2.10.03/swevents.c:1149:6: style: Local variable 'j' shadows outer variable [shadowVariable] libswe-2.10.03/swevents.c:330:10: note: Shadowed declaration libswe-2.10.03/swevents.c:1149:6: note: Shadow variable libswe-2.10.03/swevents.c:1205:6: style: Local variable 'j' shadows outer variable [shadowVariable] libswe-2.10.03/swevents.c:330:10: note: Shadowed declaration libswe-2.10.03/swevents.c:1205:6: note: Shadow variable libswe-2.10.03/swevents.c:1206:23: style: Local variable 'xs' shadows outer variable [shadowVariable] libswe-2.10.03/swevents.c:337:16: note: Shadowed declaration libswe-2.10.03/swevents.c:1206:23: note: Shadow variable libswe-2.10.03/swevents.c:2052:7: style: Local variable 'ipl' shadows outer variable [shadowVariable] libswe-2.10.03/swevents.c:252:5: note: Shadowed declaration libswe-2.10.03/swevents.c:2052:7: note: Shadow variable libswe-2.10.03/swevents.c:2165:9: style: Local variable 'ipl' shadows outer variable [shadowVariable] libswe-2.10.03/swevents.c:252:5: note: Shadowed declaration libswe-2.10.03/swevents.c:2165:9: note: Shadow variable libswe-2.10.03/swevents.c:2790:9: style: Local variable 'ipl' shadows outer variable [shadowVariable] libswe-2.10.03/swevents.c:252:5: note: Shadowed declaration libswe-2.10.03/swevents.c:2790:9: note: Shadow variable libswe-2.10.03/swevents.c:2853:26: style: Local variable 'gregflag' shadows outer variable [shadowVariable] libswe-2.10.03/swevents.c:251:9: note: Shadowed declaration libswe-2.10.03/swevents.c:2853:26: note: Shadow variable libswe-2.10.03/swevents.c:322:26: style: Parameter 'argv' can be declared as const array [constParameter] libswe-2.10.03/swevents.c:329:9: style: Variable 'spno' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swevents.c:353:14: style: Variable 'tim' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swevents.c:1309:9: style: Variable 'jul' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swevents.c:1606:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swevents.c:1962:77: style: Parameter 'stara' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swevents.c:1962:90: style: Parameter 'starb' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swevents.c:1962:163: style: Parameter 'strg' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swevents.c:1997:67: style: Parameter 'stara' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swevents.c:1997:80: style: Parameter 'starb' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swevents.c:1997:119: style: Parameter 'strg' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swevents.c:2051:14: style: Variable 'sp2' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swevents.c:2090:34: style: Parameter 'foutnam' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swevents.c:2099:22: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swevents.c:2402:47: style: Parameter 'foutnam' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swevents.c:2487:22: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swevents.c:2922:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swevents.c:1664:25: error: Undefined behavior: Variable 's' is used as parameter and destination in sprintf(). [sprintfOverlappingData] libswe-2.10.03/swevents.c:537:16: error: Uninitialized variable: saves [uninitvar] libswe-2.10.03/swevents.c:1872:20: style: Variable 'd2' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swevents.c:1905:22: style: Variable 'd2' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swevents.c:2181:32: style: Variable 'pevd' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swewin/swewin.c:180:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_HREDRAW [valueFlowBailoutIncompleteVar] libswe-2.10.03/swewin/swewin.c:238:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_HINSTANCE [valueFlowBailoutIncompleteVar] libswe-2.10.03/swewin/swewin.c:298:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDOK [valueFlowBailoutIncompleteVar] libswe-2.10.03/swewin/swewin.c:326:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CB_ADDSTRING [valueFlowBailoutIncompleteVar] libswe-2.10.03/swewin/swewin.c:554:12: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] libswe-2.10.03/swewin/swewin.c:1064:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libswe-2.10.03/swewin/swewin.c:1064:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libswe-2.10.03/swewin/swewin.c:1064:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libswe-2.10.03/swewin/swewin.c:1067:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libswe-2.10.03/swewin/swewin.c:1067:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libswe-2.10.03/swewin/swewin.c:1067:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libswe-2.10.03/swewin/swewin.c:172:13: style: Redundant assignment of 'cmdline' to itself. [selfAssignment] libswe-2.10.03/swewin/swewin.c:173:15: style: Redundant assignment of 'prev_inst' to itself. [selfAssignment] libswe-2.10.03/swewin/swewin.c:285:12: style: Redundant assignment of 'lparam' to itself. [selfAssignment] libswe-2.10.03/swewin/swewin.c:286:19: style: Redundant assignment of 'window_handle' to itself. [selfAssignment] libswe-2.10.03/swewin/swewin.c:320:12: style: Redundant assignment of 'lparam' to itself. [selfAssignment] libswe-2.10.03/swewin/swewin.c:1190:44: style:inconclusive: Function 'atoulng' argument 2 names different: declaration 'ulng' definition 'lng'. [funcArgNamesDifferent] libswe-2.10.03/swewin/swewin.c:144:44: note: Function 'atoulng' argument 2 names different: declaration 'ulng' definition 'lng'. libswe-2.10.03/swewin/swewin.c:1190:44: note: Function 'atoulng' argument 2 names different: declaration 'ulng' definition 'lng'. libswe-2.10.03/swewin/swewin.c:1203:35: style:inconclusive: Function 'atoslng' argument 2 names different: declaration 'slng' definition 'lng'. [funcArgNamesDifferent] libswe-2.10.03/swewin/swewin.c:145:35: note: Function 'atoslng' argument 2 names different: declaration 'slng' definition 'lng'. libswe-2.10.03/swewin/swewin.c:1203:35: note: Function 'atoslng' argument 2 names different: declaration 'slng' definition 'lng'. libswe-2.10.03/swewin/swewin.c:587:9: style: Variable 'spnam' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swewin/swewin.c:587:17: style: Variable 'spnam2' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swewin/swewin.c:589:9: style: Variable 'plsel' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swewin/swewin.c:619:9: style: Variable 'jul' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swewin/swewin.c:1224:50: style: Parameter 'argv0' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swewin/swewin.c:1227:9: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swewin/swewin.c:1228:9: style: Variable 'dirglue' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swewin/swewin.c:1305:39: style: Parameter 'cutlist' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swewin/swewin.c:1288:24: warning: Uninitialized variable: pathlen [uninitvar] libswe-2.10.03/swewin/swewin.c:1237:10: note: Assuming condition is false libswe-2.10.03/swewin/swewin.c:1288:24: note: Uninitialized variable: pathlen libswe-2.10.03/swewin/swewin.c:172:13: style: Variable 'cmdline' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swewin/swewin.c:238:21: style: Variable 'inst_handle' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swewin/swewin64.c:180:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_HREDRAW [valueFlowBailoutIncompleteVar] libswe-2.10.03/swewin/swewin64.c:238:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWLP_HINSTANCE [valueFlowBailoutIncompleteVar] libswe-2.10.03/swewin/swewin64.c:290:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDOK [valueFlowBailoutIncompleteVar] libswe-2.10.03/swewin/swewin64.c:317:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CB_ADDSTRING [valueFlowBailoutIncompleteVar] libswe-2.10.03/swewin/swewin64.c:545:12: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] libswe-2.10.03/swewin/swewin64.c:1055:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libswe-2.10.03/swewin/swewin64.c:1055:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libswe-2.10.03/swewin/swewin64.c:1055:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libswe-2.10.03/swewin/swewin64.c:1058:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libswe-2.10.03/swewin/swewin64.c:1058:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libswe-2.10.03/swewin/swewin64.c:1058:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libswe-2.10.03/swewin/swewin64.c:172:13: style: Redundant assignment of 'cmdline' to itself. [selfAssignment] libswe-2.10.03/swewin/swewin64.c:173:15: style: Redundant assignment of 'prev_inst' to itself. [selfAssignment] libswe-2.10.03/swewin/swewin64.c:280:12: style: Redundant assignment of 'lparam' to itself. [selfAssignment] libswe-2.10.03/swewin/swewin64.c:281:19: style: Redundant assignment of 'window_handle' to itself. [selfAssignment] libswe-2.10.03/swewin/swewin64.c:311:12: style: Redundant assignment of 'lparam' to itself. [selfAssignment] libswe-2.10.03/swewin/swewin64.c:1181:44: style:inconclusive: Function 'atoulng' argument 2 names different: declaration 'ulng' definition 'lng'. [funcArgNamesDifferent] libswe-2.10.03/swewin/swewin64.c:144:44: note: Function 'atoulng' argument 2 names different: declaration 'ulng' definition 'lng'. libswe-2.10.03/swewin/swewin64.c:1181:44: note: Function 'atoulng' argument 2 names different: declaration 'ulng' definition 'lng'. libswe-2.10.03/swewin/swewin64.c:1194:36: style:inconclusive: Function 'atoslng' argument 2 names different: declaration 'slng' definition 'lng'. [funcArgNamesDifferent] libswe-2.10.03/swewin/swewin64.c:145:36: note: Function 'atoslng' argument 2 names different: declaration 'slng' definition 'lng'. libswe-2.10.03/swewin/swewin64.c:1194:36: note: Function 'atoslng' argument 2 names different: declaration 'slng' definition 'lng'. libswe-2.10.03/swewin/swewin64.c:578:9: style: Variable 'spnam' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swewin/swewin64.c:578:17: style: Variable 'spnam2' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swewin/swewin64.c:580:9: style: Variable 'plsel' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swewin/swewin64.c:610:9: style: Variable 'jul' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swewin/swewin64.c:1215:51: style: Parameter 'argv0' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swewin/swewin64.c:1218:9: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swewin/swewin64.c:1219:9: style: Variable 'dirglue' can be declared as pointer to const [constVariablePointer] libswe-2.10.03/swewin/swewin64.c:1296:39: style: Parameter 'cutlist' can be declared as pointer to const [constParameterPointer] libswe-2.10.03/swewin/swewin64.c:1279:24: warning: Uninitialized variable: pathlen [uninitvar] libswe-2.10.03/swewin/swewin64.c:1228:10: note: Assuming condition is false libswe-2.10.03/swewin/swewin64.c:1279:24: note: Uninitialized variable: pathlen libswe-2.10.03/swewin/swewin64.c:172:13: style: Variable 'cmdline' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swewin/swewin64.c:238:21: style: Variable 'inst_handle' is assigned a value that is never used. [unreadVariable] libswe-2.10.03/swehel.c:560:4: warning: Null pointer dereference: serr [ctunullpointer] libswe-2.10.03/swehel.c:1485:14: note: Assuming that condition 'serr!=NULL' is not redundant libswe-2.10.03/swehel.c:1479:16: note: Calling function SunRA, 3rd argument is null libswe-2.10.03/swehel.c:560:4: note: Dereferencing argument serr that is null libswe-2.10.03/swewin/swewin.c:1162:8: warning: Null pointer dereference: target [ctunullpointer] libswe-2.10.03/swewin/swewin.c:386:33: note: Assuming allocation function fails libswe-2.10.03/swewin/swewin.c:386:19: note: Assignment 'buf=(char*)calloc(8000,sizeof(char))', assigned value is 0 libswe-2.10.03/swewin/swewin.c:387:21: note: Calling function swisseph, 1st argument is null libswe-2.10.03/swewin/swewin.c:666:3: note: Calling function do_print, 1st argument is null libswe-2.10.03/swewin/swewin.c:1162:8: note: Dereferencing argument target that is null libswe-2.10.03/swewin/swewin64.c:1153:8: warning: Null pointer dereference: target [ctunullpointer] libswe-2.10.03/swewin/swewin64.c:377:33: note: Assuming allocation function fails libswe-2.10.03/swewin/swewin64.c:377:19: note: Assignment 'buf=(char*)calloc(8000,sizeof(char))', assigned value is 0 libswe-2.10.03/swewin/swewin64.c:378:21: note: Calling function swisseph, 1st argument is null libswe-2.10.03/swewin/swewin64.c:657:3: note: Calling function do_print, 1st argument is null libswe-2.10.03/swewin/swewin64.c:1153:8: note: Dereferencing argument target that is null diff: head libswe-2.10.03/sweasp.c:1520:31: style: Variable 'type' is assigned a value that is never used. [unreadVariable] head libswe-2.10.03/sweasp.c:1629:8: style: Variable 'method' is assigned a value that is never used. [unreadVariable] DONE