2024-03-25 04:58 ftp://ftp.de.debian.org/debian/pool/main/p/pluto-find-orb/pluto-find-orb_0.0~git20180227.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=mfc --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.55 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 51f8b53 (2024-03-24 16:07:43 +0100) count: 420 330 elapsed-time: 15.2 54.5 head-timing-info: old-timing-info: head results: pluto-find-orb/find_orb.h:5:0: error: #error include 'stdafx.h' before including this file for PCH [preprocessorErrorDirective] pluto-find-orb/b32_eph.cpp:57:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALENDAR_JULIAN_GREGORIAN [valueFlowBailoutIncompleteVar] pluto-find-orb/b32_eph.cpp:210:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALENDAR_JULIAN_GREGORIAN [valueFlowBailoutIncompleteVar] pluto-find-orb/bc405.cpp:129:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELEMENTS [valueFlowBailoutIncompleteVar] pluto-find-orb/bc405.cpp:168:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELEMENTS [valueFlowBailoutIncompleteVar] pluto-find-orb/bias.cpp:82:19: style: C-style pointer casting [cstyleCast] pluto-find-orb/bias.cpp:55:13: style: The scope of the variable 'i' can be reduced. [variableScope] pluto-find-orb/b32_eph.cpp:153:27: style: C-style pointer casting [cstyleCast] pluto-find-orb/b32_eph.cpp:127:35: warning: Uninitialized variable: tarray [uninitvar] pluto-find-orb/b32_eph.cpp:121:27: note: Assuming condition is false pluto-find-orb/b32_eph.cpp:127:35: note: Uninitialized variable: tarray pluto-find-orb/clipfunc.cpp:43:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMEM_MOVEABLE [valueFlowBailoutIncompleteVar] pluto-find-orb/clipfunc.cpp:123:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_OEMTEXT [valueFlowBailoutIncompleteVar] pluto-find-orb/collide.cpp:54:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_METERS [valueFlowBailoutIncompleteVar] pluto-find-orb/collide.cpp:92:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_METERS [valueFlowBailoutIncompleteVar] pluto-find-orb/clipfunc.cpp:95:14: style: C-style pointer casting [cstyleCast] pluto-find-orb/clipfunc.cpp:123:21: style: C-style pointer casting [cstyleCast] pluto-find-orb/clipfunc.cpp:119:15: style: Variable 'text' can be declared as pointer to const [constVariablePointer] pluto-find-orb/collide.cpp:88:11: style: The scope of the variable 't_high' can be reduced. [variableScope] pluto-find-orb/collide.cpp:93:8: style: The scope of the variable 'iter' can be reduced. [variableScope] pluto-find-orb/bc405.cpp:168:15: style: C-style pointer casting [cstyleCast] pluto-find-orb/bc405.cpp:317:14: style: C-style pointer casting [cstyleCast] pluto-find-orb/bc405.cpp:269:8: style: The scope of the variable 'i' can be reduced. [variableScope] pluto-find-orb/bc405.cpp:448:11: style: The scope of the variable 'j' can be reduced. [variableScope] pluto-find-orb/bc405.cpp:249:33: warning: Uninitialized variable: posns [uninitvar] pluto-find-orb/bc405.cpp:245:21: note: Assuming condition is false pluto-find-orb/bc405.cpp:249:33: note: Uninitialized variable: posns pluto-find-orb/elem2tle.cpp:71:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minutes_per_day [valueFlowBailoutIncompleteVar] pluto-find-orb/elem2tle.cpp:104:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tle_t [valueFlowBailoutIncompleteVar] pluto-find-orb/details.cpp:34:35: style: C-style pointer casting [cstyleCast] pluto-find-orb/details.cpp:39:26: style: C-style pointer casting [cstyleCast] pluto-find-orb/details.cpp:88:46: style: C-style pointer casting [cstyleCast] pluto-find-orb/details.cpp:99:16: style: C-style pointer casting [cstyleCast] pluto-find-orb/details.cpp:118:43: style: C-style pointer casting [cstyleCast] pluto-find-orb/details.cpp:135:35: style: C-style pointer casting [cstyleCast] pluto-find-orb/details.cpp:158:34: style: C-style pointer casting [cstyleCast] pluto-find-orb/details.cpp:205:17: style: C-style pointer casting [cstyleCast] pluto-find-orb/details.cpp:210:36: style: C-style pointer casting [cstyleCast] pluto-find-orb/details.cpp:223:34: style: C-style pointer casting [cstyleCast] pluto-find-orb/details.cpp:72:55: style: The scope of the variable 'loc1' can be reduced. [variableScope] pluto-find-orb/cssfield.cpp:173:25: warning:inconclusive: Width 70 given in format string (no. 3) is smaller than destination buffer 'timestr[80]'. [invalidScanfFormatWidth_smaller] pluto-find-orb/cssfield.cpp:170:16: error: Common realloc mistake: 'rval' nulled but not freed upon failure [memleakOnRealloc] pluto-find-orb/cssfield.cpp:67:42: style: C-style pointer casting [cstyleCast] pluto-find-orb/cssfield.cpp:68:42: style: C-style pointer casting [cstyleCast] pluto-find-orb/cssfield.cpp:170:24: style: C-style pointer casting [cstyleCast] pluto-find-orb/cssfield.cpp:174:48: style: C-style pointer casting [cstyleCast] pluto-find-orb/cssfield.cpp:161:20: style: Local variable 'i' shadows outer variable [shadowVariable] pluto-find-orb/cssfield.cpp:130:30: note: Shadowed declaration pluto-find-orb/cssfield.cpp:161:20: note: Shadow variable pluto-find-orb/elem_ou2.cpp:134:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seconds_per_day [valueFlowBailoutIncompleteVar] pluto-find-orb/eph2tle.cpp:108:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_SAT_PARAMS [valueFlowBailoutIncompleteVar] pluto-find-orb/eph2tle.cpp:197:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minutes_per_day [valueFlowBailoutIncompleteVar] pluto-find-orb/eph2tle.cpp:389:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minutes_per_day [valueFlowBailoutIncompleteVar] pluto-find-orb/eph2tle.cpp:481:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pluto-find-orb/elem_out.cpp:169:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALENDAR_JULIAN_GREGORIAN [valueFlowBailoutIncompleteVar] pluto-find-orb/elem_out.cpp:372:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seconds_per_day [valueFlowBailoutIncompleteVar] pluto-find-orb/elem_out.cpp:403:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALENDAR_JULIAN_GREGORIAN [valueFlowBailoutIncompleteVar] pluto-find-orb/elem_out.cpp:481:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALENDAR_JULIAN_GREGORIAN [valueFlowBailoutIncompleteVar] pluto-find-orb/elem_out.cpp:927:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHOWELEM_PERIH_TIME_MASK [valueFlowBailoutIncompleteVar] pluto-find-orb/elem_out.cpp:1738:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELEMENTS [valueFlowBailoutIncompleteVar] pluto-find-orb/elem_out.cpp:1974:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jd [valueFlowBailoutIncompleteVar] pluto-find-orb/elem_out.cpp:2543:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] pluto-find-orb/elem_ou2.cpp:183:17: style: Local variable 'j' shadows outer variable [shadowVariable] pluto-find-orb/elem_ou2.cpp:53:11: note: Shadowed declaration pluto-find-orb/elem_ou2.cpp:183:17: note: Shadow variable pluto-find-orb/ephem0.cpp:119:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_METERS [valueFlowBailoutIncompleteVar] pluto-find-orb/ephem0.cpp:143:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_METERS [valueFlowBailoutIncompleteVar] pluto-find-orb/ephem0.cpp:308:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_KM [valueFlowBailoutIncompleteVar] pluto-find-orb/ephem0.cpp:384:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEED_OF_LIGHT [valueFlowBailoutIncompleteVar] pluto-find-orb/ephem0.cpp:447:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hours_per_day [valueFlowBailoutIncompleteVar] pluto-find-orb/ephem0.cpp:505:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_PER_DAY [valueFlowBailoutIncompleteVar] pluto-find-orb/ephem0.cpp:688:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seconds_per_day [valueFlowBailoutIncompleteVar] pluto-find-orb/ephem0.cpp:1037:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_KM [valueFlowBailoutIncompleteVar] pluto-find-orb/ephem0.cpp:1189:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] pluto-find-orb/ephem0.cpp:1300:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_METERS [valueFlowBailoutIncompleteVar] pluto-find-orb/ephem0.cpp:2254:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seconds_per_day [valueFlowBailoutIncompleteVar] pluto-find-orb/ephem0.cpp:2309:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seconds_per_day [valueFlowBailoutIncompleteVar] pluto-find-orb/ephem0.cpp:3288:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FULL_CTIME_YMD [valueFlowBailoutIncompleteVar] pluto-find-orb/eph2tle.cpp:397:46: style: C-style pointer casting [cstyleCast] pluto-find-orb/eph2tle.cpp:449:23: style: C-style pointer casting [cstyleCast] pluto-find-orb/eph2tle.cpp:489:21: style: C-style pointer casting [cstyleCast] pluto-find-orb/eph2tle.cpp:577:14: style: C-style pointer casting [cstyleCast] pluto-find-orb/eph2tle.cpp:482:14: style: The scope of the variable 'count' can be reduced. [variableScope] pluto-find-orb/eph2tle.cpp:716:11: style: The scope of the variable 'lsquare_rval' can be reduced. [variableScope] pluto-find-orb/eph2tle.cpp:664:22: style: Local variable 'jd_utc' shadows outer variable [shadowVariable] pluto-find-orb/eph2tle.cpp:659:20: note: Shadowed declaration pluto-find-orb/eph2tle.cpp:664:22: note: Shadow variable pluto-find-orb/eph2tle.cpp:886:25: style: Local variable 't0' shadows outer variable [shadowVariable] pluto-find-orb/eph2tle.cpp:494:17: note: Shadowed declaration pluto-find-orb/eph2tle.cpp:886:25: note: Shadow variable pluto-find-orb/eph2tle.cpp:395:38: style: Parameter 'icontext' can be declared as pointer to const. However it seems that 'simplex_scoring' is a callback function, if 'icontext' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pluto-find-orb/eph2tle.cpp:455:35: note: You might need to cast the function pointer here pluto-find-orb/eph2tle.cpp:395:38: note: Parameter 'icontext' can be declared as pointer to const pluto-find-orb/eph2tle.cpp:407:15: style: Variable 'tptr' can be declared as pointer to const [constVariablePointer] pluto-find-orb/eph2tle.cpp:498:15: style: Variable 'histo_divs' can be declared as const array [constVariable] pluto-find-orb/eph2tle.cpp:177:33: style: Variable 'delta' is assigned a value that is never used. [unreadVariable] pluto-find-orb/eph2tle.cpp:729:55: style: Variable 'rms_change' is assigned a value that is never used. [unreadVariable] pluto-find-orb/eph2tle.cpp:806:24: style: Variable 'rms_change' is assigned a value that is never used. [unreadVariable] pluto-find-orb/eph2tle.cpp:882:12: style: Variable 'count' is assigned a value that is never used. [unreadVariable] pluto-find-orb/fo.cpp:125:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seconds_per_day [valueFlowBailoutIncompleteVar] pluto-find-orb/fo.cpp:483:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FULL_CTIME_YMD [valueFlowBailoutIncompleteVar] pluto-find-orb/fo.cpp:446:24: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] pluto-find-orb/fo.cpp:668:19: warning:inconclusive: Width 9 given in format string (no. 2) is smaller than destination buffer 'ephemeris_step_size[20]'. [invalidScanfFormatWidth_smaller] pluto-find-orb/fo.cpp:670:19: warning:inconclusive: Width 9 given in format string (no. 1) is smaller than destination buffer 'mpc_code[20]'. [invalidScanfFormatWidth_smaller] pluto-find-orb/fo.cpp:259:23: style: C-style pointer casting [cstyleCast] pluto-find-orb/fo.cpp:260:23: style: C-style pointer casting [cstyleCast] pluto-find-orb/fo.cpp:589:23: style: C-style pointer casting [cstyleCast] pluto-find-orb/fo.cpp:725:38: style: C-style pointer casting [cstyleCast] pluto-find-orb/fo.cpp:290:22: style: The scope of the variable 'tptr' can be reduced. [variableScope] pluto-find-orb/fo.cpp:595:22: style: The scope of the variable 'orbit_constraints' can be reduced. [variableScope] pluto-find-orb/fo.cpp:96:40: style: Parameter 'buff' can be declared as pointer to const [constParameterPointer] pluto-find-orb/fo.cpp:775:24: style: Variable 'columns' can be declared as const array [constVariable] pluto-find-orb/fo_serve.cpp:199:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] pluto-find-orb/fo_serve.cpp:252:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pluto-find-orb/fo_serve.cpp:187:7: error: Memory leak: buff [memleak] pluto-find-orb/fo_serve.cpp:180:13: warning: Either the condition '!lock_file' is redundant or there is possible null pointer dereference: lock_file. [nullPointerRedundantCheck] pluto-find-orb/fo_serve.cpp:183:8: note: Assuming that condition '!lock_file' is not redundant pluto-find-orb/fo_serve.cpp:180:13: note: Null pointer dereference pluto-find-orb/fo_serve.cpp:74:28: style: C-style pointer casting [cstyleCast] pluto-find-orb/fo_serve.cpp:79:27: style: C-style pointer casting [cstyleCast] pluto-find-orb/fo_serve.cpp:156:17: style: C-style pointer casting [cstyleCast] pluto-find-orb/fo_serve.cpp:392:16: style: The scope of the variable 'orbit_constraints' can be reduced. [variableScope] pluto-find-orb/fo_serve.cpp:236:19: style: Local variable 'ifile' shadows outer variable [shadowVariable] pluto-find-orb/fo_serve.cpp:162:10: note: Shadowed declaration pluto-find-orb/fo_serve.cpp:236:19: note: Shadow variable pluto-find-orb/fo_serve.cpp:258:22: style: Local variable 'ifile' shadows outer variable [shadowVariable] pluto-find-orb/fo_serve.cpp:162:10: note: Shadowed declaration pluto-find-orb/fo_serve.cpp:258:22: note: Shadow variable pluto-find-orb/fo_serve.cpp:215:19: style: Variable 'tptr' can be declared as pointer to const [constVariablePointer] pluto-find-orb/findorb.cpp:242:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pluto-find-orb/findorb.cpp:285:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] pluto-find-orb/findorb.cpp:380:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] pluto-find-orb/findorb.cpp:483:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FULL_CTIME_YMD [valueFlowBailoutIncompleteVar] pluto-find-orb/findorb.cpp:558:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FULL_CTIME_DAY_OF_WEEK_FIRST [valueFlowBailoutIncompleteVar] pluto-find-orb/findorb.cpp:910:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] pluto-find-orb/findorb.cpp:1168:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] pluto-find-orb/findorb.cpp:1378:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] pluto-find-orb/findorb.cpp:1392:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] pluto-find-orb/findorb.cpp:1576:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] pluto-find-orb/findorb.cpp:1616:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] pluto-find-orb/findorb.cpp:1674:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] pluto-find-orb/findorb.cpp:1942:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BLINK [valueFlowBailoutIncompleteVar] pluto-find-orb/findorb.cpp:2108:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELEMENTS [valueFlowBailoutIncompleteVar] pluto-find-orb/findorb.cpp:2222:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] pluto-find-orb/gauss.cpp:272:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_PER_DAY [valueFlowBailoutIncompleteVar] pluto-find-orb/gauss.cpp:369:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_PER_DAY [valueFlowBailoutIncompleteVar] pluto-find-orb/ephem0.cpp:845:4: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] pluto-find-orb/ephem0.cpp:1555:10: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] pluto-find-orb/ephem0.cpp:799:26: warning:inconclusive: Width 24 given in format string (no. 1) is smaller than destination buffer 'time_buff[40]'. [invalidScanfFormatWidth_smaller] pluto-find-orb/ephem0.cpp:799:26: warning:inconclusive: Width 90 given in format string (no. 2) is smaller than destination buffer 'filename[100]'. [invalidScanfFormatWidth_smaller] pluto-find-orb/ephem0.cpp:1078:4: warning: snprintf format string requires 0 parameters but 1 is given. [wrongPrintfScanfArgNum] pluto-find-orb/ephem0.cpp:675:10: style: C-style pointer casting [cstyleCast] pluto-find-orb/ephem0.cpp:681:11: style: C-style pointer casting [cstyleCast] pluto-find-orb/ephem0.cpp:1195:8: style: C-style pointer casting [cstyleCast] pluto-find-orb/ephem0.cpp:1326:22: style: C-style pointer casting [cstyleCast] pluto-find-orb/ephem0.cpp:1328:21: style: C-style pointer casting [cstyleCast] pluto-find-orb/ephem0.cpp:1702:44: style: C-style pointer casting [cstyleCast] pluto-find-orb/ephem0.cpp:1703:41: style: C-style pointer casting [cstyleCast] pluto-find-orb/ephem0.cpp:3073:34: style: C-style pointer casting [cstyleCast] pluto-find-orb/ephem0.cpp:309:19: style: The scope of the variable 'fmt' can be reduced. [variableScope] pluto-find-orb/ephem0.cpp:1722:38: style: The scope of the variable 'earth_loc' can be reduced. [variableScope] pluto-find-orb/ephem0.cpp:2810:18: style: The scope of the variable 'new_code_found' can be reduced. [variableScope] pluto-find-orb/ephem0.cpp:2913:23: style: The scope of the variable 'len2' can be reduced. [variableScope] pluto-find-orb/ephem0.cpp:2931:32: style: The scope of the variable 'j' can be reduced. [variableScope] pluto-find-orb/ephem0.cpp:3180:11: style: The scope of the variable 'diff' can be reduced. [variableScope] pluto-find-orb/ephem0.cpp:3204:39: style: The scope of the variable 'suppressed' can be reduced. [variableScope] pluto-find-orb/ephem0.cpp:3206:13: style: The scope of the variable 'redacted_line_number' can be reduced. [variableScope] pluto-find-orb/ephem0.cpp:3271:20: style: The scope of the variable 'got_it' can be reduced. [variableScope] pluto-find-orb/ephem0.cpp:3277:40: style: The scope of the variable 'replace_str' can be reduced. [variableScope] pluto-find-orb/ephem0.cpp:3638:53: style: The scope of the variable 'line' can be reduced. [variableScope] pluto-find-orb/ephem0.cpp:3184:41: warning: Either the condition 'digit==1' is redundant or there is division by zero at line 3184. [zerodivcond] pluto-find-orb/ephem0.cpp:3186:17: note: Assuming that condition 'digit==1' is not redundant pluto-find-orb/ephem0.cpp:3182:37: note: Compound assignment '/=', assigned value is 0 pluto-find-orb/ephem0.cpp:3184:41: note: Division by zero pluto-find-orb/elem_out.cpp:1859:7: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] pluto-find-orb/ephem0.cpp:739:17: style: Local variable 'i' shadows outer variable [shadowVariable] pluto-find-orb/ephem0.cpp:691:14: note: Shadowed declaration pluto-find-orb/ephem0.cpp:739:17: note: Shadow variable pluto-find-orb/ephem0.cpp:3491:40: style: Local variable 'tptr' shadows outer variable [shadowVariable] pluto-find-orb/ephem0.cpp:3466:19: note: Shadowed declaration pluto-find-orb/ephem0.cpp:3491:40: note: Shadow variable pluto-find-orb/ephem0.cpp:1770:36: style: Variable 'dark' can be declared as const array [constVariable] pluto-find-orb/ephem0.cpp:1771:36: style: Variable 'light' can be declared as const array [constVariable] pluto-find-orb/ephem0.cpp:523:26: style: struct member 'field_location_t::tilt' is never used. [unusedStructMember] pluto-find-orb/elem_out.cpp:362:18: style: Redundant condition: The condition '*ibuff' is redundant since '*ibuff == ' '' is sufficient. [redundantCondition] pluto-find-orb/ephem0.cpp:3202:16: style: Variable 'line_no' is assigned a value that is never used. [unreadVariable] pluto-find-orb/lsquare.cpp:63:21: style: C-style pointer casting [cstyleCast] pluto-find-orb/lsquare.cpp:69:15: style: C-style pointer casting [cstyleCast] pluto-find-orb/lsquare.cpp:71:11: style: C-style pointer casting [cstyleCast] pluto-find-orb/lsquare.cpp:109:20: style: C-style pointer casting [cstyleCast] pluto-find-orb/lsquare.cpp:175:20: style: C-style pointer casting [cstyleCast] pluto-find-orb/lsquare.cpp:254:11: style: C-style pointer casting [cstyleCast] pluto-find-orb/lsquare.cpp:399:26: style: C-style pointer casting [cstyleCast] pluto-find-orb/lsquare.cpp:426:32: style: C-style pointer casting [cstyleCast] pluto-find-orb/lsquare.cpp:454:19: style: C-style pointer casting [cstyleCast] pluto-find-orb/lsquare.cpp:464:32: style: C-style pointer casting [cstyleCast] pluto-find-orb/lsquare.cpp:483:32: style: C-style pointer casting [cstyleCast] pluto-find-orb/lsquare.cpp:490:32: style: C-style pointer casting [cstyleCast] pluto-find-orb/elem_out.cpp:1160:27: style: Condition 'j>7' is always false [knownConditionTrueFalse] pluto-find-orb/elem_out.cpp:1145:27: note: Assuming that condition 'j<8' is not redundant pluto-find-orb/elem_out.cpp:1160:27: note: Condition 'j>7' is always false pluto-find-orb/miscell.cpp:105:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pluto-find-orb/elem_out.cpp:1051:12: style: C-style pointer casting [cstyleCast] pluto-find-orb/elem_out.cpp:1653:23: style: C-style pointer casting [cstyleCast] pluto-find-orb/elem_out.cpp:1654:23: style: C-style pointer casting [cstyleCast] pluto-find-orb/elem_out.cpp:1655:23: style: C-style pointer casting [cstyleCast] pluto-find-orb/elem_out.cpp:2314:14: style: C-style pointer casting [cstyleCast] pluto-find-orb/elem_out.cpp:2372:16: style: C-style pointer casting [cstyleCast] pluto-find-orb/elem_out.cpp:2508:17: style: C-style pointer casting [cstyleCast] pluto-find-orb/elem_out.cpp:2519:21: style: C-style pointer casting [cstyleCast] pluto-find-orb/miscell.cpp:41:10: style: Variable 'home_ptr' can be declared as pointer to const [constVariablePointer] pluto-find-orb/elem_out.cpp:696:31: style: The scope of the variable 'obuff' can be reduced. [variableScope] pluto-find-orb/elem_out.cpp:1133:14: style: The scope of the variable 'j' can be reduced. [variableScope] pluto-find-orb/elem_out.cpp:1417:28: style: The scope of the variable 'names' can be reduced. [variableScope] pluto-find-orb/elem_out.cpp:1694:26: style: The scope of the variable 'loc1' can be reduced. [variableScope] pluto-find-orb/elem_out.cpp:936:15: style: Local variable 'available_sigmas' shadows outer variable [shadowVariable] pluto-find-orb/elem_out.cpp:553:12: note: Shadowed declaration pluto-find-orb/elem_out.cpp:936:15: note: Shadow variable pluto-find-orb/elem_out.cpp:1242:21: style: Local variable 'tbuff' shadows outer variable [shadowVariable] pluto-find-orb/elem_out.cpp:924:17: note: Shadowed declaration pluto-find-orb/elem_out.cpp:1242:21: note: Shadow variable pluto-find-orb/elem_out.cpp:1963:15: style: Local variable 'debug_level' shadows outer variable [shadowVariable] pluto-find-orb/elem_out.cpp:117:12: note: Shadowed declaration pluto-find-orb/elem_out.cpp:1963:15: note: Shadow variable pluto-find-orb/elem_out.cpp:579:22: style: Variable 'tptr' can be declared as pointer to const [constVariablePointer] pluto-find-orb/elem_out.cpp:1079:24: style: Variable 'mass' can be declared as pointer to const [constVariablePointer] pluto-find-orb/elem_out.cpp:1655:9: style: Variable 'sort_column' can be declared as pointer to const [constVariablePointer] pluto-find-orb/elem_out.cpp:1730:16: style: Variable 'loc' can be declared as pointer to const [constVariablePointer] pluto-find-orb/moid4.cpp:323:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELEMENTS [valueFlowBailoutIncompleteVar] pluto-find-orb/elem_out.cpp:1859:18: style: Variable 'perturbers' is assigned a value that is never used. [unreadVariable] pluto-find-orb/monte0.cpp:351:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_KM [valueFlowBailoutIncompleteVar] pluto-find-orb/monte0.cpp:89:29: style: C-style pointer casting [cstyleCast] pluto-find-orb/monte0.cpp:143:20: style: C-style pointer casting [cstyleCast] pluto-find-orb/monte0.cpp:244:13: style: Variable 'tptr' can be declared as pointer to const [constVariablePointer] pluto-find-orb/monte0.cpp:326:21: style: Variable 'tptr' can be declared as pointer to const [constVariablePointer] pluto-find-orb/mt64.cpp:297:15: style: C-style pointer casting [cstyleCast] pluto-find-orb/mt64.cpp:297:14: portability: Casting between const unsigned long * and const double * which have an incompatible binary data representation. [invalidPointerCast] pluto-find-orb/mycurses.cpp:48:20: style: C-style pointer casting [cstyleCast] pluto-find-orb/mycurses.cpp:86:20: style: C-style pointer casting [cstyleCast] pluto-find-orb/mycurses.cpp:87:27: style: C-style pointer casting [cstyleCast] pluto-find-orb/mycurses.cpp:210:35: style: C-style pointer casting [cstyleCast] pluto-find-orb/mycurses.cpp:400:15: style: C-style pointer casting [cstyleCast] pluto-find-orb/mycurses.cpp:465:12: style: C-style pointer casting [cstyleCast] pluto-find-orb/mycurses.cpp:195:8: style: The scope of the variable 'y' can be reduced. [variableScope] pluto-find-orb/mycurses.cpp:225:8: style: The scope of the variable 'y' can be reduced. [variableScope] pluto-find-orb/mycurses.cpp:223:29: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] pluto-find-orb/mycurses.cpp:240:18: style: Variable 'endptr' can be declared as pointer to const [constVariablePointer] pluto-find-orb/mycurses.cpp:446:20: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] pluto-find-orb/mycurses.cpp:610:46: style: Parameter 'ignored2' can be declared as pointer to const [constParameterPointer] pluto-find-orb/orb_fun2.cpp:80:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jd [valueFlowBailoutIncompleteVar] pluto-find-orb/orb_fun2.cpp:68:34: style: C-style pointer casting [cstyleCast] pluto-find-orb/orb_fun2.cpp:236:26: style: C-style pointer casting [cstyleCast] pluto-find-orb/orb_fun2.cpp:349:12: style: C-style pointer casting [cstyleCast] pluto-find-orb/orb_fun2.cpp:705:10: style: C-style pointer casting [cstyleCast] pluto-find-orb/orb_fun2.cpp:460:33: style: The scope of the variable 'dt_2' can be reduced. [variableScope] pluto-find-orb/orb_fun2.cpp:460:39: style: The scope of the variable 't0_2' can be reduced. [variableScope] pluto-find-orb/orb_fun2.cpp:461:22: style: The scope of the variable 'r2' can be reduced. [variableScope] pluto-find-orb/orb_func.cpp:228:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_PER_DAY [valueFlowBailoutIncompleteVar] pluto-find-orb/orb_func.cpp:464:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minutes_per_day [valueFlowBailoutIncompleteVar] pluto-find-orb/orb_func.cpp:673:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_PER_DAY [valueFlowBailoutIncompleteVar] pluto-find-orb/orb_func.cpp:906:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_PER_DAY [valueFlowBailoutIncompleteVar] pluto-find-orb/orb_func.cpp:1496:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_KM [valueFlowBailoutIncompleteVar] pluto-find-orb/orb_func.cpp:1599:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] pluto-find-orb/orb_func.cpp:2177:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_KM [valueFlowBailoutIncompleteVar] pluto-find-orb/orb_func.cpp:2503:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minutes_per_day [valueFlowBailoutIncompleteVar] pluto-find-orb/orb_func.cpp:3546:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_METERS [valueFlowBailoutIncompleteVar] pluto-find-orb/orb_func.cpp:3780:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_PER_DAY [valueFlowBailoutIncompleteVar] pluto-find-orb/orb_func.cpp:3861:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] pluto-find-orb/pl_cache.cpp:82:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JPL_EPHEM_EPHEMERIS_VERSION [valueFlowBailoutIncompleteVar] pluto-find-orb/pl_cache.cpp:577:7: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] pluto-find-orb/pl_cache.cpp:515:7: error: Common realloc mistake: 'nodes' nulled but not freed upon failure [memleakOnRealloc] pluto-find-orb/pl_cache.cpp:515:16: style: C-style pointer casting [cstyleCast] pluto-find-orb/pl_cache.cpp:522:27: style: C-style pointer casting [cstyleCast] pluto-find-orb/pl_cache.cpp:568:29: style: C-style pointer casting [cstyleCast] pluto-find-orb/pl_cache.cpp:596:39: style: C-style pointer casting [cstyleCast] pluto-find-orb/roots.cpp:118:8: style: The scope of the variable 'i' can be reduced. [variableScope] pluto-find-orb/roots.cpp:303:21: style: The scope of the variable 'new_max' can be reduced. [variableScope] pluto-find-orb/roots.cpp:388:26: style: The scope of the variable 'y2' can be reduced. [variableScope] pluto-find-orb/roots.cpp:389:21: style: Local variable 'i' shadows outer variable [shadowVariable] pluto-find-orb/roots.cpp:343:8: note: Shadowed declaration pluto-find-orb/roots.cpp:389:21: note: Shadow variable pluto-find-orb/roots.cpp:394:46: warning: Uninitialized variable: slope_poly [uninitvar] pluto-find-orb/roots.cpp:392:21: note: Assuming condition is false pluto-find-orb/roots.cpp:394:46: note: Uninitialized variable: slope_poly pluto-find-orb/mpc_obs.cpp:496:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_METERS [valueFlowBailoutIncompleteVar] pluto-find-orb/mpc_obs.cpp:833:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_METERS [valueFlowBailoutIncompleteVar] pluto-find-orb/mpc_obs.cpp:915:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_KM [valueFlowBailoutIncompleteVar] pluto-find-orb/mpc_obs.cpp:954:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seconds_per_day [valueFlowBailoutIncompleteVar] pluto-find-orb/mpc_obs.cpp:1544:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seconds_per_day [valueFlowBailoutIncompleteVar] pluto-find-orb/mpc_obs.cpp:1562:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minutes_per_day [valueFlowBailoutIncompleteVar] pluto-find-orb/mpc_obs.cpp:1675:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_PER_DAY [valueFlowBailoutIncompleteVar] pluto-find-orb/mpc_obs.cpp:1719:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seconds_per_day [valueFlowBailoutIncompleteVar] pluto-find-orb/mpc_obs.cpp:2199:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minutes_per_day [valueFlowBailoutIncompleteVar] pluto-find-orb/mpc_obs.cpp:2544:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEED_OF_LIGHT [valueFlowBailoutIncompleteVar] pluto-find-orb/mpc_obs.cpp:2749:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALENDAR_JULIAN_GREGORIAN [valueFlowBailoutIncompleteVar] pluto-find-orb/mpc_obs.cpp:3217:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ra_bias [valueFlowBailoutIncompleteVar] pluto-find-orb/mpc_obs.cpp:3839:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] pluto-find-orb/mpc_obs.cpp:4037:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FULL_CTIME_YMD [valueFlowBailoutIncompleteVar] pluto-find-orb/mpc_obs.cpp:4144:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hours_per_day [valueFlowBailoutIncompleteVar] pluto-find-orb/mpc_obs.cpp:4205:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_KM [valueFlowBailoutIncompleteVar] pluto-find-orb/mpc_obs.cpp:4238:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_KM [valueFlowBailoutIncompleteVar] pluto-find-orb/mpc_obs.cpp:4298:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEED_OF_LIGHT [valueFlowBailoutIncompleteVar] pluto-find-orb/mpc_obs.cpp:4386:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_KM [valueFlowBailoutIncompleteVar] pluto-find-orb/mpc_obs.cpp:4680:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seconds_per_day [valueFlowBailoutIncompleteVar] pluto-find-orb/runge.cpp:233:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_KM [valueFlowBailoutIncompleteVar] pluto-find-orb/runge.cpp:314:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_PER_DAY [valueFlowBailoutIncompleteVar] pluto-find-orb/runge.cpp:521:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seconds_per_day [valueFlowBailoutIncompleteVar] pluto-find-orb/runge.cpp:725:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_KM [valueFlowBailoutIncompleteVar] pluto-find-orb/runge.cpp:1079:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minutes_per_day [valueFlowBailoutIncompleteVar] pluto-find-orb/runge.cpp:898:34: warning: Either the condition 'i>=11' is redundant or the array 'planet_radius[11]' is accessed at index 11, which is out of bounds. [arrayIndexOutOfBoundsCond] pluto-find-orb/runge.cpp:815:19: note: Assuming that condition 'i>=11' is not redundant pluto-find-orb/runge.cpp:898:34: note: Array index out of bounds pluto-find-orb/runge.cpp:1341:15: style: C-style pointer casting [cstyleCast] pluto-find-orb/runge.cpp:1510:18: style: C-style pointer casting [cstyleCast] pluto-find-orb/runge.cpp:715:11: style: The scope of the variable 'j' can be reduced. [variableScope] pluto-find-orb/runge.cpp:717:11: style: The scope of the variable 'lunar_loc' can be reduced. [variableScope] pluto-find-orb/runge.cpp:259:14: style: Local variable 'tval' shadows outer variable [shadowVariable] pluto-find-orb/runge.cpp:230:17: note: Shadowed declaration pluto-find-orb/runge.cpp:259:14: note: Shadow variable pluto-find-orb/runge.cpp:1014:26: style: Local variable 'planet_posn' shadows outer function [shadowFunction] pluto-find-orb/runge.cpp:77:5: note: Shadowed declaration pluto-find-orb/runge.cpp:1014:26: note: Shadow variable pluto-find-orb/runge.cpp:1595:40: style: Parameter 'ref_orbit' can be declared as pointer to const [constParameterPointer] pluto-find-orb/runge.cpp:865:16: error: Overlapping read/write in memcpy() is undefined behavior [overlappingWriteFunction] pluto-find-orb/shellsor.cpp:102:26: warning: Obsolete function 'alloca' called. [allocaCalled] pluto-find-orb/shellsor.cpp:101:17: style: C-style pointer casting [cstyleCast] pluto-find-orb/shellsor.cpp:102:18: style: C-style pointer casting [cstyleCast] pluto-find-orb/shellsor.cpp:140:16: style: C-style pointer casting [cstyleCast] pluto-find-orb/sigma.cpp:71:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALENDAR_JULIAN_GREGORIAN [valueFlowBailoutIncompleteVar] pluto-find-orb/sigma.cpp:115:27: style: C-style pointer casting [cstyleCast] pluto-find-orb/sigma.cpp:168:21: style: Variable 'w' can be declared as pointer to const [constVariablePointer] pluto-find-orb/simplex.cpp:53:21: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] pluto-find-orb/simplex.cpp:127:42: warning: Uninitialized variable: cent [uninitvar] pluto-find-orb/simplex.cpp:120:18: note: Assuming condition is false pluto-find-orb/simplex.cpp:127:42: note: Uninitialized variable: cent pluto-find-orb/stackall.cpp:36:19: style: C-style pointer casting [cstyleCast] pluto-find-orb/stackall.cpp:46:19: style: C-style pointer casting [cstyleCast] pluto-find-orb/stackall.cpp:54:21: style: C-style pointer casting [cstyleCast] pluto-find-orb/stackall.cpp:58:11: style: C-style pointer casting [cstyleCast] pluto-find-orb/stackall.cpp:76:26: style: C-style pointer casting [cstyleCast] pluto-find-orb/orb_func.cpp:1138:13: style: C-style pointer casting [cstyleCast] pluto-find-orb/orb_func.cpp:1443:47: style: C-style pointer casting [cstyleCast] pluto-find-orb/orb_func.cpp:1449:31: style: C-style pointer casting [cstyleCast] pluto-find-orb/orb_func.cpp:1460:37: style: C-style pointer casting [cstyleCast] pluto-find-orb/orb_func.cpp:1585:24: style: C-style pointer casting [cstyleCast] pluto-find-orb/orb_func.cpp:1586:24: style: C-style pointer casting [cstyleCast] pluto-find-orb/orb_func.cpp:1860:13: style: C-style pointer casting [cstyleCast] pluto-find-orb/orb_func.cpp:2290:18: style: C-style pointer casting [cstyleCast] pluto-find-orb/orb_func.cpp:2295:17: style: C-style pointer casting [cstyleCast] pluto-find-orb/orb_func.cpp:2297:30: style: C-style pointer casting [cstyleCast] pluto-find-orb/orb_func.cpp:2688:22: style: C-style pointer casting [cstyleCast] pluto-find-orb/orb_func.cpp:2783:14: style: C-style pointer casting [cstyleCast] pluto-find-orb/orb_func.cpp:2812:19: style: C-style pointer casting [cstyleCast] pluto-find-orb/orb_func.cpp:3158:29: style: C-style pointer casting [cstyleCast] pluto-find-orb/orb_func.cpp:3160:29: style: C-style pointer casting [cstyleCast] pluto-find-orb/orb_func.cpp:3583:25: style: C-style pointer casting [cstyleCast] pluto-find-orb/orb_func.cpp:1443:46: portability:inconclusive: Casting from const double * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] pluto-find-orb/orb_func.cpp:1460:36: portability:inconclusive: Casting from double * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] pluto-find-orb/orb_func.cpp:1223:9: style: Variable 'rval' is reassigned a value before the old one has been used. [redundantAssignment] pluto-find-orb/orb_func.cpp:1167:12: note: rval is assigned pluto-find-orb/orb_func.cpp:1223:9: note: rval is overwritten pluto-find-orb/orb_func.cpp:402:43: style: Same expression on both sides of '||'. [duplicateExpression] pluto-find-orb/orb_func.cpp:2409:11: style: Same expression used in consecutive assignments of 'ra_min' and 'ra_max'. [duplicateAssignExpression] pluto-find-orb/orb_func.cpp:2409:29: note: Same expression used in consecutive assignments of 'ra_min' and 'ra_max'. pluto-find-orb/orb_func.cpp:2409:11: note: Same expression used in consecutive assignments of 'ra_min' and 'ra_max'. pluto-find-orb/orb_func.cpp:2410:11: style:inconclusive: Same expression used in consecutive assignments of 'dec_min' and 'dec_max'. [duplicateAssignExpression] pluto-find-orb/orb_func.cpp:2410:31: note: Same expression used in consecutive assignments of 'dec_min' and 'dec_max'. pluto-find-orb/orb_func.cpp:2410:11: note: Same expression used in consecutive assignments of 'dec_min' and 'dec_max'. pluto-find-orb/orb_func.cpp:909:11: style: The scope of the variable 'deriv' can be reduced. [variableScope] pluto-find-orb/orb_func.cpp:1212:39: style: The scope of the variable 'tval' can be reduced. [variableScope] pluto-find-orb/orb_func.cpp:2107:13: style: The scope of the variable 'i' can be reduced. [variableScope] pluto-find-orb/orb_func.cpp:2291:11: style: The scope of the variable 'i' can be reduced. [variableScope] pluto-find-orb/orb_func.cpp:3413:31: style: The scope of the variable 'score' can be reduced. [variableScope] pluto-find-orb/orb_func.cpp:3608:17: style: The scope of the variable 'score' can be reduced. [variableScope] pluto-find-orb/orb_func.cpp:3932:23: style: The scope of the variable 'score' can be reduced. [variableScope] pluto-find-orb/orb_func.cpp:1439:45: style:inconclusive: Function 'compute_available_sigmas_hash' argument 4 names different: declaration 'perturbers' definition 'perturber_mask'. [funcArgNamesDifferent] pluto-find-orb/orb_func.cpp:158:45: note: Function 'compute_available_sigmas_hash' argument 4 names different: declaration 'perturbers' definition 'perturber_mask'. pluto-find-orb/orb_func.cpp:1439:45: note: Function 'compute_available_sigmas_hash' argument 4 names different: declaration 'perturbers' definition 'perturber_mask'. pluto-find-orb/orb_func.cpp:349:15: style: Local variable 'forced_central_body' shadows outer variable [shadowVariable] pluto-find-orb/orb_func.cpp:2440:5: note: Shadowed declaration pluto-find-orb/orb_func.cpp:349:15: note: Shadow variable pluto-find-orb/orb_func.cpp:2108:20: style: Local variable 'eigenvects' shadows outer variable [shadowVariable] pluto-find-orb/orb_func.cpp:2283:10: note: Shadowed declaration pluto-find-orb/orb_func.cpp:2108:20: note: Shadow variable pluto-find-orb/orb_func.cpp:2323:20: style: Local variable 'dt' shadows outer variable [shadowVariable] pluto-find-orb/orb_func.cpp:2316:22: note: Shadowed declaration pluto-find-orb/orb_func.cpp:2323:20: note: Shadow variable pluto-find-orb/orb_func.cpp:3851:18: style: Local variable 'forced_central_body' shadows outer variable [shadowVariable] pluto-find-orb/orb_func.cpp:2440:5: note: Shadowed declaration pluto-find-orb/orb_func.cpp:3851:18: note: Shadow variable pluto-find-orb/orb_func.cpp:4288:20: style: Local variable 'eigenvects' shadows outer variable [shadowVariable] pluto-find-orb/orb_func.cpp:2283:10: note: Shadowed declaration pluto-find-orb/orb_func.cpp:4288:20: note: Shadow variable pluto-find-orb/orb_func.cpp:2307:41: style: Parameter 'obs' can be declared as pointer to const [constParameterPointer] pluto-find-orb/orb_func.cpp:3122:27: style: Variable 'matrix_ptr' can be declared as pointer to const [constVariablePointer] pluto-find-orb/orb_func.cpp:1672:34: warning: Uninitialized variable: monte_data [uninitvar] pluto-find-orb/orb_func.cpp:1656:18: note: Assuming condition is false pluto-find-orb/orb_func.cpp:1672:34: note: Uninitialized variable: monte_data pluto-find-orb/orb_func.cpp:962:56: error: Uninitialized variable: deriv [legacyUninitvar] pluto-find-orb/orb_func.cpp:962:47: error: Uninitialized variable: deriv2 [legacyUninitvar] pluto-find-orb/orb_func.cpp:727:22: style: Variable 'rval' is assigned a value that is never used. [unreadVariable] pluto-find-orb/findorb.cpp:238:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] pluto-find-orb/findorb.cpp:2334:4: warning:inconclusive: Width 9 given in format string (no. 1) is smaller than destination buffer 'mpc_code[80]'. [invalidScanfFormatWidth_smaller] pluto-find-orb/findorb.cpp:2356:4: warning:inconclusive: Width 9 given in format string (no. 2) is smaller than destination buffer 'ephemeris_step_size[80]'. [invalidScanfFormatWidth_smaller] pluto-find-orb/findorb.cpp:2866:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pluto-find-orb/findorb.cpp:2866:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pluto-find-orb/findorb.cpp:2866:13: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pluto-find-orb/findorb.cpp:4426:4: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] pluto-find-orb/findorb.cpp:1652:10: error: Common realloc mistake: 'index' nulled but not freed upon failure [memleakOnRealloc] pluto-find-orb/findorb.cpp:388:22: style: C-style pointer casting [cstyleCast] pluto-find-orb/findorb.cpp:1256:15: style: C-style pointer casting [cstyleCast] pluto-find-orb/findorb.cpp:1652:18: style: C-style pointer casting [cstyleCast] pluto-find-orb/findorb.cpp:2057:16: style: C-style pointer casting [cstyleCast] pluto-find-orb/findorb.cpp:2565:56: style: C-style pointer casting [cstyleCast] pluto-find-orb/findorb.cpp:2862:26: style: C-style pointer casting [cstyleCast] pluto-find-orb/findorb.cpp:3620:22: style: C-style pointer casting [cstyleCast] pluto-find-orb/findorb.cpp:530:39: style: The scope of the variable 'step' can be reduced. [variableScope] pluto-find-orb/findorb.cpp:897:15: style: The scope of the variable 'choice' can be reduced. [variableScope] pluto-find-orb/findorb.cpp:897:27: style: The scope of the variable 'show_packed' can be reduced. [variableScope] pluto-find-orb/findorb.cpp:1145:23: style: The scope of the variable 'column' can be reduced. [variableScope] pluto-find-orb/findorb.cpp:1145:36: style: The scope of the variable 'n_commands' can be reduced. [variableScope] pluto-find-orb/findorb.cpp:2853:30: style: The scope of the variable 'search_ptr' can be reduced. [variableScope] pluto-find-orb/findorb.cpp:3577:27: style: The scope of the variable 'total_sigma' can be reduced. [variableScope] pluto-find-orb/findorb.cpp:1512:18: style: Local variable 'buff' shadows outer variable [shadowVariable] pluto-find-orb/findorb.cpp:1395:9: note: Shadowed declaration pluto-find-orb/findorb.cpp:1512:18: note: Shadow variable pluto-find-orb/findorb.cpp:1551:20: style: Local variable 'line_no' shadows outer variable [shadowVariable] pluto-find-orb/findorb.cpp:1391:11: note: Shadowed declaration pluto-find-orb/findorb.cpp:1551:20: note: Shadow variable pluto-find-orb/findorb.cpp:1987:20: style: Local variable 'n_bytes' shadows outer argument [shadowArgument] pluto-find-orb/findorb.cpp:1938:44: note: Shadowed declaration pluto-find-orb/findorb.cpp:1987:20: note: Shadow variable pluto-find-orb/findorb.cpp:2635:14: style: Local variable 'i' shadows outer variable [shadowVariable] pluto-find-orb/findorb.cpp:2190:8: note: Shadowed declaration pluto-find-orb/findorb.cpp:2635:14: note: Shadow variable pluto-find-orb/findorb.cpp:2655:20: style: Local variable 'i' shadows outer variable [shadowVariable] pluto-find-orb/findorb.cpp:2635:14: note: Shadowed declaration pluto-find-orb/findorb.cpp:2655:20: note: Shadow variable pluto-find-orb/findorb.cpp:1288:13: style: Variable 'tptr' can be declared as pointer to const [constVariablePointer] pluto-find-orb/findorb.cpp:2714:25: style: Variable 'tptr' can be declared as pointer to const [constVariablePointer] pluto-find-orb/findorb.cpp:2853:30: style: Variable 'search_ptr' can be declared as pointer to const [constVariablePointer] pluto-find-orb/findorb.cpp:530:44: style: Variable 'step' is assigned a value that is never used. [unreadVariable] pluto-find-orb/mpc_obs.cpp:1605:41: error: Array 'comment[5]' accessed at index 8, which is out of bounds. [arrayIndexOutOfBounds] pluto-find-orb/mpc_obs.cpp:1604:23: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] pluto-find-orb/mpc_obs.cpp:1625:35: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] pluto-find-orb/mpc_obs.cpp:1704:4: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] pluto-find-orb/mpc_obs.cpp:1858:46: style: Condition 'isdigit(desig[1])' is always true [knownConditionTrueFalse] pluto-find-orb/mpc_obs.cpp:2670:4: error: Common realloc mistake: 'stored_lines' nulled but not freed upon failure [memleakOnRealloc] pluto-find-orb/mpc_obs.cpp:598:17: style: C-style pointer casting [cstyleCast] pluto-find-orb/mpc_obs.cpp:600:18: style: C-style pointer casting [cstyleCast] pluto-find-orb/mpc_obs.cpp:1111:14: style: C-style pointer casting [cstyleCast] pluto-find-orb/mpc_obs.cpp:1113:25: style: C-style pointer casting [cstyleCast] pluto-find-orb/mpc_obs.cpp:1788:22: style: C-style pointer casting [cstyleCast] pluto-find-orb/mpc_obs.cpp:1789:22: style: C-style pointer casting [cstyleCast] pluto-find-orb/mpc_obs.cpp:1921:24: style: C-style pointer casting [cstyleCast] pluto-find-orb/mpc_obs.cpp:1945:21: style: C-style pointer casting [cstyleCast] pluto-find-orb/mpc_obs.cpp:1976:21: style: C-style pointer casting [cstyleCast] pluto-find-orb/mpc_obs.cpp:2707:33: style: C-style pointer casting [cstyleCast] pluto-find-orb/mpc_obs.cpp:2708:33: style: C-style pointer casting [cstyleCast] pluto-find-orb/mpc_obs.cpp:3186:12: style: C-style pointer casting [cstyleCast] pluto-find-orb/mpc_obs.cpp:3287:38: style: C-style pointer casting [cstyleCast] pluto-find-orb/mpc_obs.cpp:3294:38: style: C-style pointer casting [cstyleCast] pluto-find-orb/mpc_obs.cpp:3314:38: style: C-style pointer casting [cstyleCast] pluto-find-orb/mpc_obs.cpp:3666:37: style: C-style pointer casting [cstyleCast] pluto-find-orb/mpc_obs.cpp:3667:37: style: C-style pointer casting [cstyleCast] pluto-find-orb/mpc_obs.cpp:3668:29: style: C-style pointer casting [cstyleCast] pluto-find-orb/mpc_obs.cpp:3741:12: style: C-style pointer casting [cstyleCast] pluto-find-orb/mpc_obs.cpp:3818:41: style: C-style pointer casting [cstyleCast] pluto-find-orb/mpc_obs.cpp:783:27: style: The scope of the variable 'loc1' can be reduced. [variableScope] pluto-find-orb/mpc_obs.cpp:1135:9: style: The scope of the variable 'found_name' can be reduced. [variableScope] pluto-find-orb/mpc_obs.cpp:1235:14: style: The scope of the variable 'gap' can be reduced. [variableScope] pluto-find-orb/mpc_obs.cpp:1286:25: style: The scope of the variable 'roman_digits' can be reduced. [variableScope] pluto-find-orb/mpc_obs.cpp:1288:25: style: The scope of the variable 'roman_tens' can be reduced. [variableScope] pluto-find-orb/mpc_obs.cpp:1290:25: style: The scope of the variable 'roman_hundreds' can be reduced. [variableScope] pluto-find-orb/mpc_obs.cpp:1369:15: style: The scope of the variable 'tbuff' can be reduced. [variableScope] pluto-find-orb/mpc_obs.cpp:1692:9: style: The scope of the variable 'tbuff' can be reduced. [variableScope] pluto-find-orb/mpc_obs.cpp:1694:16: style: The scope of the variable 'fcct_error_message_shown' can be reduced. [variableScope] pluto-find-orb/mpc_obs.cpp:2402:21: style: The scope of the variable 'j' can be reduced. [variableScope] pluto-find-orb/mpc_obs.cpp:2596:8: style: The scope of the variable 'c1' can be reduced. [variableScope] pluto-find-orb/mpc_obs.cpp:2596:12: style: The scope of the variable 'c2' can be reduced. [variableScope] pluto-find-orb/mpc_obs.cpp:2834:8: style: The scope of the variable 'i' can be reduced. [variableScope] pluto-find-orb/mpc_obs.cpp:3921:14: style: The scope of the variable 'i1' can be reduced. [variableScope] pluto-find-orb/mpc_obs.cpp:3925:8: style: The scope of the variable 'compare' can be reduced. [variableScope] pluto-find-orb/mpc_obs.cpp:4194:37: style: The scope of the variable 'delta' can be reduced. [variableScope] pluto-find-orb/mpc_obs.cpp:4326:11: style: The scope of the variable 'i' can be reduced. [variableScope] pluto-find-orb/mpc_obs.cpp:1559:72: style:inconclusive: Function 'compute_observer_vel' argument 6 names different: declaration 'offset' definition 'vel'. [funcArgNamesDifferent] pluto-find-orb/mpc_obs.h:206:72: note: Function 'compute_observer_vel' argument 6 names different: declaration 'offset' definition 'vel'. pluto-find-orb/mpc_obs.cpp:1559:72: note: Function 'compute_observer_vel' argument 6 names different: declaration 'offset' definition 'vel'. pluto-find-orb/mpc_obs.cpp:3688:47: style:inconclusive: Function 'sort_object_info' argument 3 names different: declaration 'compare_by_last_obs_time' definition 'object_info_compare_method'. [funcArgNamesDifferent] pluto-find-orb/mpc_obs.h:144:47: note: Function 'sort_object_info' argument 3 names different: declaration 'compare_by_last_obs_time' definition 'object_info_compare_method'. pluto-find-orb/mpc_obs.cpp:3688:47: note: Function 'sort_object_info' argument 3 names different: declaration 'compare_by_last_obs_time' definition 'object_info_compare_method'. pluto-find-orb/mpc_obs.cpp:3272:23: style: Local variable 'error_code' shadows outer variable [shadowVariable] pluto-find-orb/mpc_obs.cpp:3244:20: note: Shadowed declaration pluto-find-orb/mpc_obs.cpp:3272:23: note: Shadow variable pluto-find-orb/mpc_obs.cpp:132:37: style: Parameter 'buff' can be declared as pointer to const [constParameterPointer] pluto-find-orb/mpc_obs.cpp:668:17: style: Variable 'curr_station' can be declared as pointer to const [constVariablePointer] pluto-find-orb/mpc_obs.cpp:882:13: style: Variable 'tptr' can be declared as pointer to const [constVariablePointer] pluto-find-orb/mpc_obs.cpp:1921:17: style: Variable 'tptr' can be declared as pointer to const [constVariablePointer] pluto-find-orb/mpc_obs.cpp:1943:55: style: Parameter 'ignored_context' can be declared as pointer to const. However it seems that 'qsort_strcmp' is a callback function, if 'ignored_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pluto-find-orb/mpc_obs.cpp:1992:46: note: You might need to cast the function pointer here pluto-find-orb/mpc_obs.cpp:1943:55: note: Parameter 'ignored_context' can be declared as pointer to const pluto-find-orb/mpc_obs.cpp:2012:16: style: Variable 'xlate_ptr' can be declared as pointer to const [constVariablePointer] pluto-find-orb/mpc_obs.cpp:2782:19: style: Variable 'loc1' can be declared as pointer to const [constVariablePointer] pluto-find-orb/mpc_obs.cpp:3668:9: style: Variable 'comparison_method' can be declared as pointer to const [constVariablePointer] pluto-find-orb/mpc_obs.cpp:4244:10: style: Variable 'first_line' can be declared as pointer to const [constVariablePointer] diff: head pluto-find-orb/b32_eph.cpp:127:35: warning: Uninitialized variable: tarray [uninitvar] pluto-find-orb/b32_eph.cpp:121:27: note: Assuming condition is false pluto-find-orb/b32_eph.cpp:127:35: note: Uninitialized variable: tarray head pluto-find-orb/b32_eph.cpp:210:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALENDAR_JULIAN_GREGORIAN [valueFlowBailoutIncompleteVar] head pluto-find-orb/bc405.cpp:168:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELEMENTS [valueFlowBailoutIncompleteVar] head pluto-find-orb/clipfunc.cpp:123:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_OEMTEXT [valueFlowBailoutIncompleteVar] head pluto-find-orb/collide.cpp:92:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_METERS [valueFlowBailoutIncompleteVar] head pluto-find-orb/elem2tle.cpp:104:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tle_t [valueFlowBailoutIncompleteVar] head pluto-find-orb/elem_out.cpp:1738:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELEMENTS [valueFlowBailoutIncompleteVar] head pluto-find-orb/elem_out.cpp:1974:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jd [valueFlowBailoutIncompleteVar] head pluto-find-orb/elem_out.cpp:2543:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] head pluto-find-orb/elem_out.cpp:372:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seconds_per_day [valueFlowBailoutIncompleteVar] head pluto-find-orb/elem_out.cpp:403:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALENDAR_JULIAN_GREGORIAN [valueFlowBailoutIncompleteVar] head pluto-find-orb/elem_out.cpp:481:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALENDAR_JULIAN_GREGORIAN [valueFlowBailoutIncompleteVar] head pluto-find-orb/elem_out.cpp:927:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHOWELEM_PERIH_TIME_MASK [valueFlowBailoutIncompleteVar] head pluto-find-orb/eph2tle.cpp:197:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minutes_per_day [valueFlowBailoutIncompleteVar] head pluto-find-orb/eph2tle.cpp:389:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minutes_per_day [valueFlowBailoutIncompleteVar] head pluto-find-orb/eph2tle.cpp:395:38: style: Parameter 'icontext' can be declared as pointer to const. However it seems that 'simplex_scoring' is a callback function, if 'icontext' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pluto-find-orb/eph2tle.cpp:455:35: note: You might need to cast the function pointer here pluto-find-orb/eph2tle.cpp:395:38: note: Parameter 'icontext' can be declared as pointer to const head pluto-find-orb/eph2tle.cpp:481:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head pluto-find-orb/eph2tle.cpp:498:15: style: Variable 'histo_divs' can be declared as const array [constVariable] head pluto-find-orb/ephem0.cpp:1037:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_KM [valueFlowBailoutIncompleteVar] head pluto-find-orb/ephem0.cpp:1189:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] head pluto-find-orb/ephem0.cpp:1300:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_METERS [valueFlowBailoutIncompleteVar] head pluto-find-orb/ephem0.cpp:143:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_METERS [valueFlowBailoutIncompleteVar] head pluto-find-orb/ephem0.cpp:2254:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seconds_per_day [valueFlowBailoutIncompleteVar] head pluto-find-orb/ephem0.cpp:2309:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seconds_per_day [valueFlowBailoutIncompleteVar] head pluto-find-orb/ephem0.cpp:3073:34: style: C-style pointer casting [cstyleCast] head pluto-find-orb/ephem0.cpp:308:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_KM [valueFlowBailoutIncompleteVar] head pluto-find-orb/ephem0.cpp:309:19: style: The scope of the variable 'fmt' can be reduced. [variableScope] head pluto-find-orb/ephem0.cpp:3288:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FULL_CTIME_YMD [valueFlowBailoutIncompleteVar] head pluto-find-orb/ephem0.cpp:384:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEED_OF_LIGHT [valueFlowBailoutIncompleteVar] head pluto-find-orb/ephem0.cpp:447:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hours_per_day [valueFlowBailoutIncompleteVar] head pluto-find-orb/ephem0.cpp:505:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_PER_DAY [valueFlowBailoutIncompleteVar] head pluto-find-orb/ephem0.cpp:688:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seconds_per_day [valueFlowBailoutIncompleteVar] head pluto-find-orb/findorb.cpp:1168:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] head pluto-find-orb/findorb.cpp:1378:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] head pluto-find-orb/findorb.cpp:1392:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] head pluto-find-orb/findorb.cpp:1576:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] head pluto-find-orb/findorb.cpp:1616:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] head pluto-find-orb/findorb.cpp:1674:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] head pluto-find-orb/findorb.cpp:1942:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BLINK [valueFlowBailoutIncompleteVar] head pluto-find-orb/findorb.cpp:2108:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELEMENTS [valueFlowBailoutIncompleteVar] head pluto-find-orb/findorb.cpp:2222:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] head pluto-find-orb/findorb.cpp:285:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] head pluto-find-orb/findorb.cpp:380:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] head pluto-find-orb/findorb.cpp:483:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FULL_CTIME_YMD [valueFlowBailoutIncompleteVar] head pluto-find-orb/findorb.cpp:558:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FULL_CTIME_DAY_OF_WEEK_FIRST [valueFlowBailoutIncompleteVar] head pluto-find-orb/findorb.cpp:910:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] 2.13.0 pluto-find-orb/findorb.cpp:974:14: style: Condition 'err_message' is always false [knownConditionTrueFalse] pluto-find-orb/findorb.cpp:905:43: note: Assignment 'err_message=0', assigned value is 0 pluto-find-orb/findorb.cpp:974:14: note: Condition 'err_message' is always false head pluto-find-orb/fo.cpp:483:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FULL_CTIME_YMD [valueFlowBailoutIncompleteVar] head pluto-find-orb/fo.cpp:96:40: style: Parameter 'buff' can be declared as pointer to const [constParameterPointer] head pluto-find-orb/gauss.cpp:369:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_PER_DAY [valueFlowBailoutIncompleteVar] head pluto-find-orb/mpc_obs.cpp:1544:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seconds_per_day [valueFlowBailoutIncompleteVar] head pluto-find-orb/mpc_obs.cpp:1562:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minutes_per_day [valueFlowBailoutIncompleteVar] head pluto-find-orb/mpc_obs.cpp:1675:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_PER_DAY [valueFlowBailoutIncompleteVar] head pluto-find-orb/mpc_obs.cpp:1719:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seconds_per_day [valueFlowBailoutIncompleteVar] head pluto-find-orb/mpc_obs.cpp:1788:22: style: C-style pointer casting [cstyleCast] head pluto-find-orb/mpc_obs.cpp:1789:22: style: C-style pointer casting [cstyleCast] head pluto-find-orb/mpc_obs.cpp:1921:17: style: Variable 'tptr' can be declared as pointer to const [constVariablePointer] head pluto-find-orb/mpc_obs.cpp:1943:55: style: Parameter 'ignored_context' can be declared as pointer to const. However it seems that 'qsort_strcmp' is a callback function, if 'ignored_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pluto-find-orb/mpc_obs.cpp:1992:46: note: You might need to cast the function pointer here pluto-find-orb/mpc_obs.cpp:1943:55: note: Parameter 'ignored_context' can be declared as pointer to const head pluto-find-orb/mpc_obs.cpp:2199:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minutes_per_day [valueFlowBailoutIncompleteVar] head pluto-find-orb/mpc_obs.cpp:2544:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEED_OF_LIGHT [valueFlowBailoutIncompleteVar] head pluto-find-orb/mpc_obs.cpp:2749:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALENDAR_JULIAN_GREGORIAN [valueFlowBailoutIncompleteVar] head pluto-find-orb/mpc_obs.cpp:3186:12: style: C-style pointer casting [cstyleCast] head pluto-find-orb/mpc_obs.cpp:3217:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ra_bias [valueFlowBailoutIncompleteVar] head pluto-find-orb/mpc_obs.cpp:3839:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] head pluto-find-orb/mpc_obs.cpp:4037:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FULL_CTIME_YMD [valueFlowBailoutIncompleteVar] head pluto-find-orb/mpc_obs.cpp:4144:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hours_per_day [valueFlowBailoutIncompleteVar] head pluto-find-orb/mpc_obs.cpp:4205:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_KM [valueFlowBailoutIncompleteVar] head pluto-find-orb/mpc_obs.cpp:4238:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_KM [valueFlowBailoutIncompleteVar] head pluto-find-orb/mpc_obs.cpp:4298:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEED_OF_LIGHT [valueFlowBailoutIncompleteVar] head pluto-find-orb/mpc_obs.cpp:4386:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_KM [valueFlowBailoutIncompleteVar] head pluto-find-orb/mpc_obs.cpp:4680:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seconds_per_day [valueFlowBailoutIncompleteVar] head pluto-find-orb/mpc_obs.cpp:833:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_METERS [valueFlowBailoutIncompleteVar] head pluto-find-orb/mpc_obs.cpp:915:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_KM [valueFlowBailoutIncompleteVar] head pluto-find-orb/mpc_obs.cpp:954:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seconds_per_day [valueFlowBailoutIncompleteVar] head pluto-find-orb/mycurses.cpp:610:46: style: Parameter 'ignored2' can be declared as pointer to const [constParameterPointer] head pluto-find-orb/orb_func.cpp:1496:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_KM [valueFlowBailoutIncompleteVar] head pluto-find-orb/orb_func.cpp:1599:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] head pluto-find-orb/orb_func.cpp:1672:34: warning: Uninitialized variable: monte_data [uninitvar] pluto-find-orb/orb_func.cpp:1656:18: note: Assuming condition is false pluto-find-orb/orb_func.cpp:1672:34: note: Uninitialized variable: monte_data head pluto-find-orb/orb_func.cpp:2177:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_KM [valueFlowBailoutIncompleteVar] head pluto-find-orb/orb_func.cpp:2503:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minutes_per_day [valueFlowBailoutIncompleteVar] head pluto-find-orb/orb_func.cpp:2783:14: style: C-style pointer casting [cstyleCast] head pluto-find-orb/orb_func.cpp:3546:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_METERS [valueFlowBailoutIncompleteVar] head pluto-find-orb/orb_func.cpp:3780:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_PER_DAY [valueFlowBailoutIncompleteVar] head pluto-find-orb/orb_func.cpp:3861:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] head pluto-find-orb/orb_func.cpp:464:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minutes_per_day [valueFlowBailoutIncompleteVar] head pluto-find-orb/orb_func.cpp:673:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_PER_DAY [valueFlowBailoutIncompleteVar] head pluto-find-orb/orb_func.cpp:906:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_PER_DAY [valueFlowBailoutIncompleteVar] head pluto-find-orb/roots.cpp:394:46: warning: Uninitialized variable: slope_poly [uninitvar] pluto-find-orb/roots.cpp:392:21: note: Assuming condition is false pluto-find-orb/roots.cpp:394:46: note: Uninitialized variable: slope_poly 2.13.0 pluto-find-orb/runge.cpp:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] head pluto-find-orb/runge.cpp:1079:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minutes_per_day [valueFlowBailoutIncompleteVar] head pluto-find-orb/runge.cpp:314:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_PER_DAY [valueFlowBailoutIncompleteVar] head pluto-find-orb/runge.cpp:521:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seconds_per_day [valueFlowBailoutIncompleteVar] head pluto-find-orb/runge.cpp:725:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AU_IN_KM [valueFlowBailoutIncompleteVar] head pluto-find-orb/runge.cpp:898:34: warning: Either the condition 'i>=11' is redundant or the array 'planet_radius[11]' is accessed at index 11, which is out of bounds. [arrayIndexOutOfBoundsCond] pluto-find-orb/runge.cpp:815:19: note: Assuming that condition 'i>=11' is not redundant pluto-find-orb/runge.cpp:898:34: note: Array index out of bounds 2.13.0 pluto-find-orb/runge.cpp:898:34: warning: Either the condition 'i>=15' is redundant or the array 'planet_radius[11]' is accessed at index 15, which is out of bounds. [arrayIndexOutOfBoundsCond] pluto-find-orb/runge.cpp:840:25: note: Assuming that condition 'i>=15' is not redundant pluto-find-orb/runge.cpp:898:34: note: Array index out of bounds head pluto-find-orb/simplex.cpp:127:42: warning: Uninitialized variable: cent [uninitvar] pluto-find-orb/simplex.cpp:120:18: note: Assuming condition is false pluto-find-orb/simplex.cpp:127:42: note: Uninitialized variable: cent DONE