mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-05-24 08:45:55 -04:00
cppcheck: verify more source files.
This commit is contained in:
@@ -105,7 +105,7 @@ int QuadraticRegression(const VectorListType *list, ParabolaType parab[3])
|
||||
memset(&s, 0, sizeof(s));
|
||||
s.N = list->length;
|
||||
for (i=0; i < list->length; ++i)
|
||||
{
|
||||
{
|
||||
double t = list->array[i].t;
|
||||
double t2 = t*t;
|
||||
s.st1 += t;
|
||||
|
||||
@@ -82,7 +82,7 @@ cd generate || Fail "Cannot change back to generate directory."
|
||||
|
||||
echo ""
|
||||
echo "Building C source code for 'generate' program."
|
||||
cppcheck -I novas -I vsop -I top2013 --error-exitcode=9 --enable=all --suppress=variableScope --suppress=unusedStructMember --suppress=missingIncludeSystem generate.c || exit 1
|
||||
cppcheck -I . -I novas -I vsop -I top2013 --error-exitcode=9 --enable=all --suppress=variableScope --suppress=unusedStructMember --suppress=missingIncludeSystem --suppress=unusedFunction generate.c earth.c astro_vector.c chebyshev.c codegen.c ephfile.c vsop/vsop.c top2013/top2013.c || exit 1
|
||||
./build || Fail "Could not build 'generate' program from source."
|
||||
|
||||
mkdir -pv output temp apsides || Fail "Error creating directories."
|
||||
|
||||
Reference in New Issue
Block a user