2025-11-16 23:13 ftp://ftp.de.debian.org/debian/pool/main/s/stellarsolver/stellarsolver_2.7.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --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 -j4 platform: Linux-6.12.48+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 2ad4620 (2025-11-14 19:45:56 +0100) count: 1326 1314 elapsed-time: 6.7 7.2 head-timing-info: old-timing-info: head results: stellarsolver-2.7/demos/demofitsplatesolve.cpp:25:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/demos/demoextractsolve.cpp:27:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] stellarsolver-2.7/demos/demofitsextractsolve.cpp:39:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] stellarsolver-2.7/demos/demoextractsolve.cpp:61:9: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] stellarsolver-2.7/demos/demoextractsolve.cpp:59:15: style: Variable 'ra' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/demos/demoextractsolve.cpp:60:15: style: Variable 'dec' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/demos/demofitsextractsolve.cpp:73:9: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] stellarsolver-2.7/demos/demofitsextractsolve.cpp:71:15: style: Variable 'ra' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/demos/demofitsextractsolve.cpp:72:15: style: Variable 'dec' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/demos/demomultiplesolves.cpp:27:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] stellarsolver-2.7/demos/demofitsstarextract.cpp:25:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXTRACTOR_INTERNAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/demos/demoplatesolve.cpp:26:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] stellarsolver-2.7/demos/demofitsstarextract.cpp:40:9: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] stellarsolver-2.7/cli/main.cpp:93:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CaseInsensitive [valueFlowBailoutIncompleteVar] stellarsolver-2.7/cli/main.cpp:118:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ParseAsLongOptions [valueFlowBailoutIncompleteVar] stellarsolver-2.7/cli/main.cpp:497:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] stellarsolver-2.7/demos/demostarextract.cpp:26:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALL_STARS [valueFlowBailoutIncompleteVar] stellarsolver-2.7/demos/demosignalsslots.cpp:26:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXTRACTOR_INTERNAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/demos/demosignalsslots.cpp:62:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] stellarsolver-2.7/demos/demostarextract.cpp:39:9: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] stellarsolver-2.7/demos/demosignalsslots.cpp:66:42: performance: Function parameter 'text' should be passed by const reference. However it seems that 'logOutput' is a callback function. [passedByValueCallback] stellarsolver-2.7/demos/demosignalsslots.cpp:46:80: note: Function pointer used here. stellarsolver-2.7/demos/demosignalsslots.cpp:66:42: note: Function parameter 'text' should be passed by const reference. However it seems that 'logOutput' is a callback function. stellarsolver-2.7/cli/main.cpp:87:70: performance: Function parameter 'line' should be passed by const reference. [passedByValue] stellarsolver-2.7/ssolverutils/dms.cpp:71:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] stellarsolver-2.7/ssolverutils/imagelabel.h:13:5: style: Class 'ImageLabel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] stellarsolver-2.7/ssolverutils/fileio.cpp:66:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READONLY [valueFlowBailoutIncompleteVar] stellarsolver-2.7/ssolverutils/fileio.cpp:207:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Format_RGB32 [valueFlowBailoutIncompleteVar] stellarsolver-2.7/ssolverutils/fileio.cpp:259:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEP_TBYTE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/ssolverutils/fileio.cpp:481:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READONLY [valueFlowBailoutIncompleteVar] stellarsolver-2.7/ssolverutils/fileio.cpp:654:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stellarsolver-2.7/ssolverutils/fileio.cpp:748:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stellarsolver-2.7/ssolverutils/fileio.cpp:962:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Format_Indexed8 [valueFlowBailoutIncompleteVar] stellarsolver-2.7/ssolverutils/dms.h:248:18: style: Virtual function 'setFromString' is called from constructor 'dms(const QString&s,bool isDeg=true)' at line 122. Dynamic binding is not used. [virtualCallInConstructor] stellarsolver-2.7/ssolverutils/dms.h:122:9: note: Calling setFromString stellarsolver-2.7/ssolverutils/dms.h:248:18: note: setFromString is a virtual function stellarsolver-2.7/ssolverutils/dms.cpp:56:40: style:inconclusive: Function 'setFromString' argument 1 names different: declaration 's' definition 'str'. [funcArgNamesDifferent] stellarsolver-2.7/ssolverutils/dms.h:248:47: note: Function 'setFromString' argument 1 names different: declaration 's' definition 'str'. stellarsolver-2.7/ssolverutils/dms.cpp:56:40: note: Function 'setFromString' argument 1 names different: declaration 's' definition 'str'. stellarsolver-2.7/ssolverutils/dms.cpp:405:36: style:inconclusive: Function 'fromString' argument 1 names different: declaration 's' definition 'st'. [funcArgNamesDifferent] stellarsolver-2.7/ssolverutils/dms.h:409:42: note: Function 'fromString' argument 1 names different: declaration 's' definition 'st'. stellarsolver-2.7/ssolverutils/dms.cpp:405:36: note: Function 'fromString' argument 1 names different: declaration 's' definition 'st'. stellarsolver-2.7/ssolverutils/dms.cpp:171:16: style: Local variable 'D' shadows outer variable [shadowVariable] stellarsolver-2.7/ssolverutils/dms.h:421:12: note: Shadowed declaration stellarsolver-2.7/ssolverutils/dms.cpp:171:16: note: Shadow variable stellarsolver-2.7/ssolverutils/stretch.cpp:374:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TDOUBLE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarbatchsolver/stellarbatchsolver.cpp:200:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SmoothTransformation [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarbatchsolver/stellarbatchsolver.cpp:301:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarbatchsolver/stellarbatchsolver.cpp:345:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable darkGreen [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarbatchsolver/stellarbatchsolver.cpp:374:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXTRACT_WITH_HFR [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarbatchsolver/stellarbatchsolver.cpp:456:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] stellarsolver-2.7/ssolverutils/fileio.cpp:7:9: warning: Member variable 'fileio::ra' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/ssolverutils/fileio.cpp:7:9: warning: Member variable 'fileio::dec' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/ssolverutils/fileio.cpp:7:9: warning: Member variable 'fileio::scale_low' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/ssolverutils/fileio.cpp:7:9: warning: Member variable 'fileio::scale_high' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/ssolverutils/stretch.h:70:23: style:inconclusive: Technically the member function 'Stretch::getParams' can be const. [functionConst] stellarsolver-2.7/ssolverutils/fileio.h:66:26: style:inconclusive: Either there is a missing 'override', or the member function 'fileio::getStats' can be const. [functionConst] stellarsolver-2.7/ssolverutils/fileio.h:80:12: style:inconclusive: Either there is a missing 'override', or the member function 'fileio::getRawQImage' can be const. [functionConst] stellarsolver-2.7/ssolverutils/stretch.h:70:23: performance: Function 'getParams()' should return member 'params' by const reference. [returnByReference] stellarsolver-2.7/ssolverutils/fileio.cpp:737:10: style: The scope of the variable 'error_status' can be reduced. [variableScope] stellarsolver-2.7/ssolverutils/fileio.cpp:715:86: style:inconclusive: Function 'saveAsFITS' argument 3 names different: declaration 'm_ImageBuffer' definition 'imageBuffer'. [funcArgNamesDifferent] stellarsolver-2.7/ssolverutils/fileio.h:46:82: note: Function 'saveAsFITS' argument 3 names different: declaration 'm_ImageBuffer' definition 'imageBuffer'. stellarsolver-2.7/ssolverutils/fileio.cpp:715:86: note: Function 'saveAsFITS' argument 3 names different: declaration 'm_ImageBuffer' definition 'imageBuffer'. stellarsolver-2.7/ssolverutils/fileio.cpp:984:31: style:inconclusive: Function 'logIssue' argument 1 names different: declaration 'messsage' definition 'message'. [funcArgNamesDifferent] stellarsolver-2.7/ssolverutils/fileio.h:97:27: note: Function 'logIssue' argument 1 names different: declaration 'messsage' definition 'message'. stellarsolver-2.7/ssolverutils/fileio.cpp:984:31: note: Function 'logIssue' argument 1 names different: declaration 'messsage' definition 'message'. stellarsolver-2.7/ssolverutils/fileio.cpp:472:15: style: Local variable 'fptr' shadows outer variable [shadowVariable] stellarsolver-2.7/ssolverutils/fileio.h:87:15: note: Shadowed declaration stellarsolver-2.7/ssolverutils/fileio.cpp:472:15: note: Shadow variable stellarsolver-2.7/ssolverutils/fileio.cpp:780:15: style: Local variable 'fptr' shadows outer variable [shadowVariable] stellarsolver-2.7/ssolverutils/fileio.h:87:15: note: Shadowed declaration stellarsolver-2.7/ssolverutils/fileio.cpp:780:15: note: Shadow variable stellarsolver-2.7/ssolverutils/fileio.cpp:978:19: style: Local variable 'stretchParams' shadows outer variable [shadowVariable] stellarsolver-2.7/ssolverutils/fileio.h:95:19: note: Shadowed declaration stellarsolver-2.7/ssolverutils/fileio.cpp:978:19: note: Shadow variable stellarsolver-2.7/ssolverutils/stretch.h:65:38: performance: Function parameter 'input_params' should be passed by const reference. [passedByValue] stellarsolver-2.7/ssolverutils/fileio.cpp:58:31: performance: Function parameter 'fileName' should be passed by const reference. [passedByValue] stellarsolver-2.7/ssolverutils/fileio.cpp:188:38: performance: Function parameter 'fileName' should be passed by const reference. [passedByValue] stellarsolver-2.7/ssolverutils/fileio.cpp:984:31: performance: Function parameter 'message' should be passed by const reference. [passedByValue] stellarsolver-2.7/ssolverutils/fileio.h:75:36: style: Parameter 'records' can be declared as reference to const [constParameterReference] stellarsolver-2.7/ssolverutils/fileio.cpp:229:12: style: Variable 'original_bayered_buffer' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/ssolverutils/stretch.cpp:353:29: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/ssolverutils/stretch.cpp:361:29: portability: Casting between unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/ssolverutils/stretch.cpp:378:25: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/ssolverutils/stretch.cpp:380:25: portability: Casting between unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/ssolverutils/stretch.cpp:425:27: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/ssolverutils/stretch.cpp:439:27: portability: Casting between unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/ssolverutils/stretch.cpp:328:43: style:inconclusive: Function 'run' argument 2 names different: declaration 'output_image' definition 'outputImage'. [funcArgNamesDifferent] stellarsolver-2.7/ssolverutils/stretch.h:87:42: note: Function 'run' argument 2 names different: declaration 'output_image' definition 'outputImage'. stellarsolver-2.7/ssolverutils/stretch.cpp:328:43: note: Function 'run' argument 2 names different: declaration 'output_image' definition 'outputImage'. stellarsolver-2.7/ssolverutils/stretch.cpp:391:28: style: Local variable 'params' shadows outer variable [shadowVariable] stellarsolver-2.7/ssolverutils/stretch.h:101:23: note: Shadowed declaration stellarsolver-2.7/ssolverutils/stretch.cpp:391:28: note: Shadow variable stellarsolver-2.7/stellarbatchsolver/stellarbatchsolver.cpp:423:13: style: Local variable 'outputDirectory' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarbatchsolver/stellarbatchsolver.h:93:13: note: Shadowed declaration stellarsolver-2.7/stellarbatchsolver/stellarbatchsolver.cpp:423:13: note: Shadow variable stellarsolver-2.7/stellarbatchsolver/stellarbatchsolver.cpp:444:13: style: Local variable 'outputDirectory' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarbatchsolver/stellarbatchsolver.h:93:13: note: Shadowed declaration stellarsolver-2.7/stellarbatchsolver/stellarbatchsolver.cpp:444:13: note: Shadow variable stellarsolver-2.7/stellarbatchsolver/stellarbatchsolver.cpp:129:12: style: Variable 'image' can be declared as reference to const [constVariableReference] stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:98:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:427:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable engine_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/matchobj.c:23:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable THETA_DISTRACTOR [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/matchobj.c:65:12: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/matchobj.c:64:23: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/matchobj.c:64:23: note: Assignment 'buf=malloc(120+n)', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/matchobj.c:65:12: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/matchobj.c:66:66: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/matchobj.c:64:23: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/matchobj.c:64:23: note: Assignment 'buf=malloc(120+n)', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/matchobj.c:66:66: note: Null pointer addition stellarsolver-2.7/stellarsolver/astrometry/blind/matchobj.c:13:49: style: Parameter 'testperm' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/blind/blind.c:96:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/blind.c:315:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/blind.c:391:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/blind.c:541:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blind_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/blind.c:866:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/blind.c:1001:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MatchObj [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:207:18: style: Condition 'add_index(engine,ind)' is always false [knownConditionTrueFalse] stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:207:18: note: Calling function 'add_index' returns 0 stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:207:18: note: Condition 'add_index(engine,ind)' is always false stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:924:5: warning: If memory allocation fails, then there is a possible null pointer dereference: engine [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assignment 'engine=calloc(1,sizeof(engine_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:924:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:925:5: warning: If memory allocation fails, then there is a possible null pointer dereference: engine [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assignment 'engine=calloc(1,sizeof(engine_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:925:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:926:5: warning: If memory allocation fails, then there is a possible null pointer dereference: engine [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assignment 'engine=calloc(1,sizeof(engine_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:926:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:928:5: warning: If memory allocation fails, then there is a possible null pointer dereference: engine [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assignment 'engine=calloc(1,sizeof(engine_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:928:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:929:5: warning: If memory allocation fails, then there is a possible null pointer dereference: engine [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assignment 'engine=calloc(1,sizeof(engine_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:929:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:930:5: warning: If memory allocation fails, then there is a possible null pointer dereference: engine [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assignment 'engine=calloc(1,sizeof(engine_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:930:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:931:5: warning: If memory allocation fails, then there is a possible null pointer dereference: engine [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assignment 'engine=calloc(1,sizeof(engine_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:931:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:932:5: warning: If memory allocation fails, then there is a possible null pointer dereference: engine [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assignment 'engine=calloc(1,sizeof(engine_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:932:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:935:5: warning: If memory allocation fails, then there is a possible null pointer dereference: engine [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assignment 'engine=calloc(1,sizeof(engine_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:935:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:936:5: warning: If memory allocation fails, then there is a possible null pointer dereference: engine [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assignment 'engine=calloc(1,sizeof(engine_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:936:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:937:5: warning: If memory allocation fails, then there is a possible null pointer dereference: engine [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:923:30: note: Assignment 'engine=calloc(1,sizeof(engine_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:937:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:131:19: style: Local variable 'path' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:82:15: note: Shadowed declaration stellarsolver-2.7/stellarsolver/astrometry/blind/engine.c:131:19: note: Shadow variable stellarsolver-2.7/stellarsolver/astrometry/blind/tweak2.c:247:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sip_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/blind.c:190:14: style: Variable 'index' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/blind/blind.c:447:23: style: Variable 'mo' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/blind/blind.c:563:54: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/blind/blind.c:1245:19: style: Variable 'mo' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:72:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARITY_NORMAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:176:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sip_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:242:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARITY_NORMAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:355:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MatchObj [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:371:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:392:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:398:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:462:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tan_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:495:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MatchObj [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:565:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:600:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:633:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:739:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DQMAX [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1035:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DCMAX [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1086:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DQMAX [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1133:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KD_OPTIONS_SMALL_RADIUS [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1275:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1374:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1434:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable solver_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1610:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable solver_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1638:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/tweak2.c:579:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] stellarsolver-2.7/stellarsolver/astrometry/blind/tweak2.c:401:24: style: Local variable 'ra' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarsolver/astrometry/blind/tweak2.c:270:20: note: Shadowed declaration stellarsolver-2.7/stellarsolver/astrometry/blind/tweak2.c:401:24: note: Shadow variable stellarsolver-2.7/stellarsolver/astrometry/blind/tweak2.c:401:27: style: Local variable 'dec' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarsolver/astrometry/blind/tweak2.c:270:24: note: Shadowed declaration stellarsolver-2.7/stellarsolver/astrometry/blind/tweak2.c:401:27: note: Shadow variable stellarsolver-2.7/stellarsolver/astrometry/blind/tweak2.c:264:22: style: Variable 'gamma' is assigned a value that is never used. [unreadVariable] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:74:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable verify_field_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:222:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:308:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:487:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:874:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KD_OPTIONS_NO_RESIZE_RESULTS [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1035:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MatchObj [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1065:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1105:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable THETA_BAILEDOUT [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1220:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable THETA_DISTRACTOR [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1273:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_VERB [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1763:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1477:13: warning: If memory allocation fails, then there is a possible null pointer dereference: matchxy [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1465:25: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1465:25: note: Assignment 'matchxy=malloc(N*2*sizeof(double))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1472:30: note: Assuming condition is false stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1477:13: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1478:13: warning: If memory allocation fails, then there is a possible null pointer dereference: matchxy [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1465:25: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1465:25: note: Assignment 'matchxy=malloc(N*2*sizeof(double))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1472:30: note: Assuming condition is false stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1478:13: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1481:13: warning: If memory allocation fails, then there is a possible null pointer dereference: weights [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1467:25: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1467:25: note: Assignment 'weights=malloc(N*sizeof(double))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1472:30: note: Assuming condition is false stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1481:13: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1610:12: warning: If memory allocation fails, then there is a possible null pointer dereference: solver [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assignment 'solver=calloc(1,sizeof(solver_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1605:31: note: Calling function 'solver_set_default_values', 1st argument 'solver' value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1610:12: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1611:5: warning: If memory allocation fails, then there is a possible null pointer dereference: solver [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assignment 'solver=calloc(1,sizeof(solver_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1605:31: note: Calling function 'solver_set_default_values', 1st argument 'solver' value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1611:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1612:5: warning: If memory allocation fails, then there is a possible null pointer dereference: solver [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assignment 'solver=calloc(1,sizeof(solver_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1605:31: note: Calling function 'solver_set_default_values', 1st argument 'solver' value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1612:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1613:5: warning: If memory allocation fails, then there is a possible null pointer dereference: solver [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assignment 'solver=calloc(1,sizeof(solver_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1605:31: note: Calling function 'solver_set_default_values', 1st argument 'solver' value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1613:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1614:5: warning: If memory allocation fails, then there is a possible null pointer dereference: solver [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assignment 'solver=calloc(1,sizeof(solver_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1605:31: note: Calling function 'solver_set_default_values', 1st argument 'solver' value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1614:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1615:5: warning: If memory allocation fails, then there is a possible null pointer dereference: solver [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assignment 'solver=calloc(1,sizeof(solver_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1605:31: note: Calling function 'solver_set_default_values', 1st argument 'solver' value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1615:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1616:5: warning: If memory allocation fails, then there is a possible null pointer dereference: solver [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assignment 'solver=calloc(1,sizeof(solver_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1605:31: note: Calling function 'solver_set_default_values', 1st argument 'solver' value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1616:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1617:5: warning: If memory allocation fails, then there is a possible null pointer dereference: solver [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assignment 'solver=calloc(1,sizeof(solver_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1605:31: note: Calling function 'solver_set_default_values', 1st argument 'solver' value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1617:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1618:5: warning: If memory allocation fails, then there is a possible null pointer dereference: solver [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assignment 'solver=calloc(1,sizeof(solver_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1605:31: note: Calling function 'solver_set_default_values', 1st argument 'solver' value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1618:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1619:5: warning: If memory allocation fails, then there is a possible null pointer dereference: solver [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assignment 'solver=calloc(1,sizeof(solver_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1605:31: note: Calling function 'solver_set_default_values', 1st argument 'solver' value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1619:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1620:5: warning: If memory allocation fails, then there is a possible null pointer dereference: solver [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assignment 'solver=calloc(1,sizeof(solver_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1605:31: note: Calling function 'solver_set_default_values', 1st argument 'solver' value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1620:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1621:5: warning: If memory allocation fails, then there is a possible null pointer dereference: solver [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assignment 'solver=calloc(1,sizeof(solver_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1605:31: note: Calling function 'solver_set_default_values', 1st argument 'solver' value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1621:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1622:5: warning: If memory allocation fails, then there is a possible null pointer dereference: solver [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assignment 'solver=calloc(1,sizeof(solver_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1605:31: note: Calling function 'solver_set_default_values', 1st argument 'solver' value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1622:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1623:5: warning: If memory allocation fails, then there is a possible null pointer dereference: solver [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assignment 'solver=calloc(1,sizeof(solver_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1605:31: note: Calling function 'solver_set_default_values', 1st argument 'solver' value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1623:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1624:5: warning: If memory allocation fails, then there is a possible null pointer dereference: solver [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1604:30: note: Assignment 'solver=calloc(1,sizeof(solver_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1605:31: note: Calling function 'solver_set_default_values', 1st argument 'solver' value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1624:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:902:36: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:816:24: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:816:24: note: Assignment 'pquads=calloc(numxy*numxy,sizeof(struct pquad))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:902:36: note: Null pointer addition stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1248:40: style:inconclusive: Function 'resolve_matches' argument 3 names different: declaration 'fstars' definition 'fieldstars'. [funcArgNamesDifferent] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:553:40: note: Function 'resolve_matches' argument 3 names different: declaration 'fstars' definition 'fieldstars'. stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1248:40: note: Function 'resolve_matches' argument 3 names different: declaration 'fstars' definition 'fieldstars'. stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1496:19: style: Local variable 'sip' shadows outer argument [shadowArgument] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1377:65: note: Shadowed declaration stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1496:19: note: Shadow variable stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:353:45: style: Parameter 'solver' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:360:40: style: Parameter 's' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:365:43: style: Parameter 's' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:619:32: style: Parameter 'pq' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:664:38: style: Parameter 'solver' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:781:22: style: Variable 'index' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:934:28: style: Variable 'pq' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1237:43: warning: Uninitialized variable: pixvals [uninitvar] stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1233:28: note: Assuming condition is false stellarsolver-2.7/stellarsolver/astrometry/blind/solver.c:1237:43: note: Uninitialized variable: pixvals stellarsolver-2.7/ssolverutils/bayer.c:1805:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pix [valueFlowBailoutIncompleteVar] stellarsolver-2.7/ssolverutils/bayer.c:1953:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pix [valueFlowBailoutIncompleteVar] stellarsolver-2.7/ssolverutils/bayer.c:2155:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rix [valueFlowBailoutIncompleteVar] stellarsolver-2.7/ssolverutils/bayer.c:2347:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rix [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal_dists.c:32:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal_dists.c:68:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal_dists.c:101:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal_dists.c:27:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal_dists.c:61:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal_dists.c:96:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:250:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:302:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:327:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:378:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:463:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:486:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:513:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:550:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDT_INFTY_DOUBLE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:558:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VarUnused [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:580:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:785:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDT_INFTY_DOUBLE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:905:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1052:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1454:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VarUnused [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1866:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VarUnused [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2042:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDT_INFTY_DOUBLE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2062:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDT_INFTY_DOUBLE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2088:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDT_INFTY_DOUBLE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2146:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDT_INFTY_DOUBLE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2218:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KD_BUILD_SPLIT [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2603:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2630:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2659:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2689:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2721:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2757:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2796:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2837:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2872:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2885:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2947:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDT_INFTY_DOUBLE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2984:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal_fits.c:31:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KD_STR_LR [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:849:9: error: Common realloc mistake: 'starid' nulled but not freed upon failure [memleakOnRealloc] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:351:17: warning: If memory allocation fails, then there is a possible null pointer dereference: goodbins [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:347:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:347:30: note: Assignment 'goodbins=malloc(uni_nw*uni_nh*sizeof(anbool))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:351:17: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:352:21: warning: If memory allocation fails, then there is a possible null pointer dereference: goodbins [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:347:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:347:30: note: Assignment 'goodbins=malloc(uni_nw*uni_nh*sizeof(anbool))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:352:21: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:359:21: warning: If memory allocation fails, then there is a possible null pointer dereference: goodbins [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:347:30: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:347:30: note: Assignment 'goodbins=malloc(uni_nw*uni_nh*sizeof(anbool))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:359:21: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:508:9: warning: If memory allocation fails, then there is a possible null pointer dereference: rmatches [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:506:22: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:506:22: note: Assignment 'rmatches=malloc(v->NR*sizeof(int))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:508:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:512:9: warning: If memory allocation fails, then there is a possible null pointer dereference: rprobs [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:510:20: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:510:20: note: Assignment 'rprobs=malloc(v->NR*sizeof(double))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:512:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:838:9: warning: If memory allocation fails, then there is a possible null pointer dereference: sweep [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:836:19: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:836:19: note: Assignment 'sweep=malloc(NI*sizeof(int))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:838:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:880:9: warning: If memory allocation fails, then there is a possible null pointer dereference: keepers [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:877:21: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:877:21: note: Assignment 'keepers=calloc(v->NTall,sizeof(anbool))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:880:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:885:14: warning: If memory allocation fails, then there is a possible null pointer dereference: keepers [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:877:21: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:877:21: note: Assignment 'keepers=calloc(v->NTall,sizeof(anbool))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:885:14: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:955:9: warning: If memory allocation fails, then there is a possible null pointer dereference: lists [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:953:19: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:953:19: note: Assignment 'lists=malloc(nw*nh*sizeof(il*))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:955:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:965:19: warning: If memory allocation fails, then there is a possible null pointer dereference: lists [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:953:19: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:953:19: note: Assignment 'lists=malloc(nw*nh*sizeof(il*))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:965:19: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:973:13: warning: If memory allocation fails, then there is a possible null pointer dereference: bincounts [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:971:27: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:971:27: note: Assignment 'bincounts=malloc(nw*nh*sizeof(int))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:973:13: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:973:36: warning: If memory allocation fails, then there is a possible null pointer dereference: lists [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:953:19: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:953:19: note: Assignment 'lists=malloc(nw*nh*sizeof(il*))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:973:36: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1010:13: warning: If memory allocation fails, then there is a possible null pointer dereference: bxy [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1007:25: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1007:25: note: Assignment 'bxy=malloc(nw*nh*2*sizeof(double))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1010:13: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1011:13: warning: If memory allocation fails, then there is a possible null pointer dereference: bxy [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1007:25: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1007:25: note: Assignment 'bxy=malloc(nw*nh*2*sizeof(double))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1011:13: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1074:9: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1070:25: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1070:25: note: Assignment 'counts=calloc(N,sizeof(int))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1074:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1077:16: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1070:25: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1070:25: note: Assignment 'counts=calloc(N,sizeof(int))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1077:16: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1153:9: warning: If memory allocation fails, then there is a possible null pointer dereference: invrperm [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1146:22: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1146:22: note: Assignment 'invrperm=malloc(v->NRall*sizeof(int))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1153:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1343:9: warning: If memory allocation fails, then there is a possible null pointer dereference: sweep [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1341:19: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1341:19: note: Assignment 'sweep=malloc(v->NRall*sizeof(int))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1343:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:551:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:819:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:180:39: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1082:45: style: Parameter 'allodds' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:1213:29: style: Parameter 'theta' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:156:42: warning: Uninitialized variable: qc [uninitvar] stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:152:9: note: Assuming condition is false stellarsolver-2.7/stellarsolver/astrometry/blind/verify.c:156:42: note: Uninitialized variable: qc stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:439:34: style: Array index 'L' is used before limits check. [arrayIndexThenCheck] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2241:34: style: Condition 'needs_data_conversion()' is always false [knownConditionTrueFalse] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2241:34: note: Calling function 'needs_data_conversion' returns 0 stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2241:34: note: Condition 'needs_data_conversion()' is always false stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2264:30: style: Condition 'needs_data_conversion()' is always false [knownConditionTrueFalse] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2264:30: note: Calling function 'needs_data_conversion' returns 0 stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2264:30: note: Condition 'needs_data_conversion()' is always false stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1832:13: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1830:39: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1830:39: note: Assignment 'counts=calloc(kd->ndata,1)', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1832:13: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1834:20: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1830:39: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1830:39: note: Assignment 'counts=calloc(kd->ndata,1)', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1834:20: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1836:17: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1830:39: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1830:39: note: Assignment 'counts=calloc(kd->ndata,1)', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1836:17: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:669:20: style: Local variable 'dist2' shadows outer function [shadowFunction] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:256:22: note: Shadowed declaration stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:669:20: note: Shadow variable stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1603:13: style: Local variable 'i' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1584:9: note: Shadowed declaration stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1603:13: note: Shadow variable stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2249:21: style: Local variable 'i' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2175:9: note: Shadowed declaration stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2249:21: note: Shadow variable stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2329:15: style: Local variable 'maxrange' shadows outer function [shadowFunction] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2025:15: note: Shadowed declaration stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2329:15: note: Shadow variable stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2530:20: style: Local variable 'lo' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2181:22: note: Shadowed declaration stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2530:20: note: Shadow variable stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2531:20: style: Local variable 'hi' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2181:15: note: Shadowed declaration stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2531:20: note: Shadow variable stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2537:24: style: Local variable 'data' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2186:12: note: Shadowed declaration stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2537:24: note: Shadow variable stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:359:55: style: Parameter 'lo' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:359:66: style: Parameter 'hi' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:360:55: style: Parameter 'query' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:462:42: style: Parameter 'res' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:645:20: style: Variable 'data' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:776:12: style: Variable 'data' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:777:12: style: Variable 'dquery' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:975:20: style: Variable 'data' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1214:20: style: Variable 'data' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1864:24: style: Variable 'dat' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1876:16: style: Variable 'bb' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1877:16: style: Variable 'plo' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1877:22: style: Variable 'phi' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1892:20: style: Variable 'dat' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1945:24: style: Variable 'bb1' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1946:24: style: Variable 'bb2' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2025:32: style: Parameter 'lo' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2025:44: style: Parameter 'hi' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2037:36: style: Parameter 'ddata' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2057:40: style: Parameter 'edata' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2174:105: style: Parameter 'minval' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2174:121: style: Parameter 'maxval' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2530:20: style: Variable 'lo' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2531:20: style: Variable 'hi' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2537:24: style: Variable 'data' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1320:47: warning: Uninitialized variable: bblo [uninitvar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1316:28: note: Assuming condition is false stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1320:47: note: Uninitialized variable: bblo stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1320:53: warning: Uninitialized variable: bbhi [uninitvar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1316:28: note: Assuming condition is false stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1320:53: note: Uninitialized variable: bbhi stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2964:32: warning: Uninitialized variable: qlo [uninitvar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2944:16: note: Assuming condition is false stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2964:32: note: Uninitialized variable: qlo stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2964:37: warning: Uninitialized variable: qhi [uninitvar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2944:16: note: Assuming condition is false stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2964:37: note: Uninitialized variable: qhi stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1843:9: style: Variable 'sum' is assigned a value that is never used. [unreadVariable] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:1846:17: style: Variable 'sum' is assigned a value that is never used. [unreadVariable] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2097:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:550:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDT_INFTY_FLOAT [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:785:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDT_INFTY_FLOAT [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2042:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDT_INFTY_FLOAT [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2062:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDT_INFTY_FLOAT [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2088:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDT_INFTY_FLOAT [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2146:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDT_INFTY_FLOAT [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2947:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDT_INFTY_FLOAT [valueFlowBailoutIncompleteVar] stellarsolver-2.7/ssolverutils/bayer.c:1846:24: style: Condition 'row<0' is always false [knownConditionTrueFalse] stellarsolver-2.7/ssolverutils/bayer.c:1995:24: style: Condition 'row<0' is always false [knownConditionTrueFalse] stellarsolver-2.7/ssolverutils/bayer.c:2527:87: style:inconclusive: Function 'dc1394_bayer_decoding_8bit' argument 3 names different: declaration 'width' definition 'sx'. [funcArgNamesDifferent] stellarsolver-2.7/ssolverutils/bayer.h:269:87: note: Function 'dc1394_bayer_decoding_8bit' argument 3 names different: declaration 'width' definition 'sx'. stellarsolver-2.7/ssolverutils/bayer.c:2527:87: note: Function 'dc1394_bayer_decoding_8bit' argument 3 names different: declaration 'width' definition 'sx'. stellarsolver-2.7/ssolverutils/bayer.c:2527:100: style:inconclusive: Function 'dc1394_bayer_decoding_8bit' argument 4 names different: declaration 'height' definition 'sy'. [funcArgNamesDifferent] stellarsolver-2.7/ssolverutils/bayer.h:269:103: note: Function 'dc1394_bayer_decoding_8bit' argument 4 names different: declaration 'height' definition 'sy'. stellarsolver-2.7/ssolverutils/bayer.c:2527:100: note: Function 'dc1394_bayer_decoding_8bit' argument 4 names different: declaration 'height' definition 'sy'. stellarsolver-2.7/ssolverutils/bayer.c:2553:90: style:inconclusive: Function 'dc1394_bayer_decoding_16bit' argument 3 names different: declaration 'width' definition 'sx'. [funcArgNamesDifferent] stellarsolver-2.7/ssolverutils/bayer.h:275:90: note: Function 'dc1394_bayer_decoding_16bit' argument 3 names different: declaration 'width' definition 'sx'. stellarsolver-2.7/ssolverutils/bayer.c:2553:90: note: Function 'dc1394_bayer_decoding_16bit' argument 3 names different: declaration 'width' definition 'sx'. stellarsolver-2.7/ssolverutils/bayer.c:2554:52: style:inconclusive: Function 'dc1394_bayer_decoding_16bit' argument 4 names different: declaration 'height' definition 'sy'. [funcArgNamesDifferent] stellarsolver-2.7/ssolverutils/bayer.h:275:106: note: Function 'dc1394_bayer_decoding_16bit' argument 4 names different: declaration 'height' definition 'sy'. stellarsolver-2.7/ssolverutils/bayer.c:2554:52: note: Function 'dc1394_bayer_decoding_16bit' argument 4 names different: declaration 'height' definition 'sy'. stellarsolver-2.7/ssolverutils/bayer.c:2208:13: style: Local variable 'row' shadows outer variable [shadowVariable] stellarsolver-2.7/ssolverutils/bayer.c:2153:26: note: Shadowed declaration stellarsolver-2.7/ssolverutils/bayer.c:2208:13: note: Shadow variable stellarsolver-2.7/ssolverutils/bayer.c:2208:18: style: Local variable 'col' shadows outer variable [shadowVariable] stellarsolver-2.7/ssolverutils/bayer.c:2153:31: note: Shadowed declaration stellarsolver-2.7/ssolverutils/bayer.c:2208:18: note: Shadow variable stellarsolver-2.7/ssolverutils/bayer.c:2208:23: style: Local variable 'y' shadows outer variable [shadowVariable] stellarsolver-2.7/ssolverutils/bayer.c:2167:12: note: Shadowed declaration stellarsolver-2.7/ssolverutils/bayer.c:2208:23: note: Shadow variable stellarsolver-2.7/ssolverutils/bayer.c:2208:26: style: Local variable 'x' shadows outer variable [shadowVariable] stellarsolver-2.7/ssolverutils/bayer.c:2167:9: note: Shadowed declaration stellarsolver-2.7/ssolverutils/bayer.c:2208:26: note: Shadow variable stellarsolver-2.7/ssolverutils/bayer.c:2209:21: style: Local variable 'c' shadows outer variable [shadowVariable] stellarsolver-2.7/ssolverutils/bayer.c:2153:48: note: Shadowed declaration stellarsolver-2.7/ssolverutils/bayer.c:2209:21: note: Shadow variable stellarsolver-2.7/ssolverutils/bayer.c:2399:13: style: Local variable 'row' shadows outer variable [shadowVariable] stellarsolver-2.7/ssolverutils/bayer.c:2345:26: note: Shadowed declaration stellarsolver-2.7/ssolverutils/bayer.c:2399:13: note: Shadow variable stellarsolver-2.7/ssolverutils/bayer.c:2399:18: style: Local variable 'col' shadows outer variable [shadowVariable] stellarsolver-2.7/ssolverutils/bayer.c:2345:31: note: Shadowed declaration stellarsolver-2.7/ssolverutils/bayer.c:2399:18: note: Shadow variable stellarsolver-2.7/ssolverutils/bayer.c:2399:23: style: Local variable 'y' shadows outer variable [shadowVariable] stellarsolver-2.7/ssolverutils/bayer.c:2358:12: note: Shadowed declaration stellarsolver-2.7/ssolverutils/bayer.c:2399:23: note: Shadow variable stellarsolver-2.7/ssolverutils/bayer.c:2399:26: style: Local variable 'x' shadows outer variable [shadowVariable] stellarsolver-2.7/ssolverutils/bayer.c:2358:9: note: Shadowed declaration stellarsolver-2.7/ssolverutils/bayer.c:2399:26: note: Shadow variable stellarsolver-2.7/ssolverutils/bayer.c:2400:21: style: Local variable 'c' shadows outer variable [shadowVariable] stellarsolver-2.7/ssolverutils/bayer.c:2345:48: note: Shadowed declaration stellarsolver-2.7/ssolverutils/bayer.c:2400:21: note: Shadow variable stellarsolver-2.7/ssolverutils/bayer.c:2109:36: style: Parameter 'cam' can be declared as const array [constParameter] stellarsolver-2.7/ssolverutils/bayer.c:1889:24: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] stellarsolver-2.7/ssolverutils/bayer.c:2038:24: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] stellarsolver-2.7/ssolverutils/bayer.c:2304:43: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] stellarsolver-2.7/ssolverutils/bayer.c:2488:43: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2241:34: style: Condition 'needs_data_conversion()' is always true [knownConditionTrueFalse] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2241:34: note: Calling function 'needs_data_conversion' returns 1 stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2241:34: note: Condition 'needs_data_conversion()' is always true stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2264:30: style: Condition 'needs_data_conversion()' is always true [knownConditionTrueFalse] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2264:30: note: Calling function 'needs_data_conversion' returns 1 stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:2264:30: note: Condition 'needs_data_conversion()' is always true stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:77:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:81:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDT_TREE_MASK [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:94:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDT_DATA_MASK [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:112:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u32 [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:124:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u8 [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:153:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u32 [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:300:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KD_BUILD_BBOX [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:330:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDT_DATA_NULL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:344:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDT_TREE_NULL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:358:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDT_EXT_NULL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:376:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kdtree_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:550:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:575:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:584:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:594:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:604:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:612:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:620:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:629:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:638:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:378:5: warning: If memory allocation fails, then there is a possible null pointer dereference: kd [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:376:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:376:16: note: Assignment 'kd=calloc(1,sizeof(kdtree_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:378:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:379:5: warning: If memory allocation fails, then there is a possible null pointer dereference: kd [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:376:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:376:16: note: Assignment 'kd=calloc(1,sizeof(kdtree_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:379:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:380:5: warning: If memory allocation fails, then there is a possible null pointer dereference: kd [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:376:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:376:16: note: Assignment 'kd=calloc(1,sizeof(kdtree_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:380:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:381:5: warning: If memory allocation fails, then there is a possible null pointer dereference: kd [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:376:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:376:16: note: Assignment 'kd=calloc(1,sizeof(kdtree_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:381:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:382:5: warning: If memory allocation fails, then there is a possible null pointer dereference: kd [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:376:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:376:16: note: Assignment 'kd=calloc(1,sizeof(kdtree_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:382:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:383:5: warning: If memory allocation fails, then there is a possible null pointer dereference: kd [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:376:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:376:16: note: Assignment 'kd=calloc(1,sizeof(kdtree_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:383:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:383:21: warning: If memory allocation fails, then there is a possible null pointer dereference: kd [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:376:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:376:16: note: Assignment 'kd=calloc(1,sizeof(kdtree_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:383:21: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:384:12: warning: If memory allocation fails, then there is a possible null pointer dereference: kd [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:376:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:376:16: note: Assignment 'kd=calloc(1,sizeof(kdtree_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:384:12: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:384:26: warning: If memory allocation fails, then there is a possible null pointer dereference: kd [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:376:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:376:16: note: Assignment 'kd=calloc(1,sizeof(kdtree_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:384:26: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:384:43: warning: If memory allocation fails, then there is a possible null pointer dereference: kd [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:376:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:376:16: note: Assignment 'kd=calloc(1,sizeof(kdtree_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:384:43: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:28:29: style: Parameter 'kd' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:131:37: style: Parameter 'kd' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:139:11: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:388:46: style: Parameter 'low' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree.c:388:59: style: Parameter 'high' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_dim.c:20:11: error: There is an unknown macro here somewhere. Configuration is required. If KDFUNC is a macro then please configure it. [unknownMacro] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_fits_io.c:26:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KD_STR_HEADER [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_fits_io.c:39:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_LINESZ [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_fits_io.c:262:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kdtree_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal.c:549:39: error: syntax error [syntaxError] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal_dists.c:8:15: error: There is an unknown macro here somewhere. Configuration is required. If DIST_FUNC_MANGLE is a macro then please configure it. [unknownMacro] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal_dualtree.c:163:5: error: There is an unknown macro here somewhere. Configuration is required. If MANGLE is a macro then please configure it. [unknownMacro] stellarsolver-2.7/stellarsolver/astrometry/libkd/kdtree_internal_fits.c:25:5: error: There is an unknown macro here somewhere. Configuration is required. If MANGLE is a macro then please configure it. [unknownMacro] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:97:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:368:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QFITS_ASCIITABLE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:389:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hdr_start [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:399:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hdr_size [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:409:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data_start [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:419:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data_size [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:516:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable header [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:585:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable table [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:608:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable anqfits_image_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:614:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable image [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:711:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_LINESZ [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:787:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_BLOCK_SIZE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:1044:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable header [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:1057:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable anqfits_image_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:1069:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFITS_BIN_TYPE_B [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:1169:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/md5.c:68:33: style:inconclusive: Function 'MD5Init' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/md5.h:15:33: note: Function 'MD5Init' argument 1 names different: declaration 'context' definition 'ctx'. stellarsolver-2.7/stellarsolver/astrometry/qfits-an/md5.c:68:33: note: Function 'MD5Init' argument 1 names different: declaration 'context' definition 'ctx'. stellarsolver-2.7/stellarsolver/astrometry/qfits-an/md5.c:83:35: style:inconclusive: Function 'MD5Update' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/md5.h:16:35: note: Function 'MD5Update' argument 1 names different: declaration 'context' definition 'ctx'. stellarsolver-2.7/stellarsolver/astrometry/qfits-an/md5.c:83:35: note: Function 'MD5Update' argument 1 names different: declaration 'context' definition 'ctx'. stellarsolver-2.7/stellarsolver/astrometry/qfits-an/md5.c:131:60: style:inconclusive: Function 'MD5Final' argument 2 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/md5.h:18:60: note: Function 'MD5Final' argument 2 names different: declaration 'context' definition 'ctx'. stellarsolver-2.7/stellarsolver/astrometry/qfits-an/md5.c:131:60: note: Function 'MD5Final' argument 2 names different: declaration 'context' definition 'ctx'. stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_card.c:517:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QFITS_THREAD_UNSAFE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_card.c:242:16: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_card.c:485:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_card.c:489:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_card.c:531:51: style:inconclusive: Function 'expkey_strupc' argument 2 names different: declaration 'buf' definition 'l'. [funcArgNamesDifferent] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_card.c:60:48: note: Function 'expkey_strupc' argument 2 names different: declaration 'buf' definition 'l'. stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_card.c:531:51: note: Function 'expkey_strupc' argument 2 names different: declaration 'buf' definition 'l'. stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_card.c:473:18: style: Variable 'token' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_float.c:109:7: style: Opposite expression on both sides of '|='. [oppositeExpression] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_float.c:138:8: style: Opposite expression on both sides of '|='. [oppositeExpression] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_float.c:110:16: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_float.c:139:17: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_image.c:200:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_image.c:169:16: style: Condition 'buf_out==NULL' is always true [knownConditionTrueFalse] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_image.c:152:15: note: Assignment 'buf_out=NULL', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_image.c:169:16: note: Condition 'buf_out==NULL' is always true stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:333:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_LINESZ [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:409:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_LINESZ [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:452:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_LINESZ [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:617:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_LINESZ [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:648:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:801:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_LINESZ [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:1032:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_LINESZ [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_memory.c:325:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_memory.c:469:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_memory.c:506:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_memory.c:605:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_memory.c:1246:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_memory.c:1355:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_rw.c:90:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_LINESZ [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_rw.c:193:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_BLOCK_SIZE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_rw.c:225:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_rw.c:232:3: error: Resource leak: fp [resourceLeak] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_rw.c:109:15: style: Variable 'val' is assigned a value that is never used. [unreadVariable] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:851:31: style: Condition 'parse_header_block(buf,hdr,&found_it)' is always false [knownConditionTrueFalse] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:851:31: note: Calling function 'parse_header_block' returns 0 stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:851:31: note: Condition 'parse_header_block(buf,hdr,&found_it)' is always false stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:961:39: style: Condition 'parse_header_block(buf,hdr,&found_it)' is always false [knownConditionTrueFalse] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:961:39: note: Calling function 'parse_header_block' returns 0 stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:961:39: note: Condition 'parse_header_block(buf,hdr,&found_it)' is always false stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:564:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:554:18: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:554:18: note: Assignment 'data=malloc(N+1)', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:564:16: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:570:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:554:18: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:554:18: note: Assignment 'data=malloc(N+1)', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:566:12: note: Assuming condition is false stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:570:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:863:5: warning: If memory allocation fails, then there is a possible null pointer dereference: qf [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assignment 'qf=calloc(1,sizeof(anqfits_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:863:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:864:5: warning: If memory allocation fails, then there is a possible null pointer dereference: qf [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assignment 'qf=calloc(1,sizeof(anqfits_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:864:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:865:12: warning: If memory allocation fails, then there is a possible null pointer dereference: qf [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assignment 'qf=calloc(1,sizeof(anqfits_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:865:12: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:866:10: warning: If memory allocation fails, then there is a possible null pointer dereference: qf [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assignment 'qf=calloc(1,sizeof(anqfits_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:866:10: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:870:5: warning: If memory allocation fails, then there is a possible null pointer dereference: qf [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assignment 'qf=calloc(1,sizeof(anqfits_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:870:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:871:5: warning: If memory allocation fails, then there is a possible null pointer dereference: qf [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assignment 'qf=calloc(1,sizeof(anqfits_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:871:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:872:5: warning: If memory allocation fails, then there is a possible null pointer dereference: qf [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assignment 'qf=calloc(1,sizeof(anqfits_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:872:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:874:5: warning: If memory allocation fails, then there is a possible null pointer dereference: qf [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assignment 'qf=calloc(1,sizeof(anqfits_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:874:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:1192:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:1182:15: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:1182:15: note: Assignment 'map=mmap(0,mapsize,mode,flags,fileno(f),mapstart)', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:1192:21: note: Null pointer addition stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:122:26: portability: Casting between const char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:126:26: portability: Casting between const char * and double * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:162:19: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:165:19: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_time.c:207:23: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_time.c:241:23: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_time.c:235:16: style: Variable 'time_struct' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:100:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qfits_table [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:113:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_LINESZ [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:160:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_LINESZ [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:323:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qfits_table [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:427:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_LINESZ [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:757:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QFITS_BINTABLE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:851:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QFITS_BINTABLE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:956:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QFITS_BINTABLE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1778:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QFITS_ASCIITABLE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1819:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QFITS_ASCIITABLE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1930:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QFITS_BINTABLE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:2253:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QFITS_BINTABLE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:2470:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QFITS_ASCIITABLE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_tools.c:62:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_BLOCK_SIZE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_tools.c:287:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QFITS_VERSION [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/bl-nl-sort.c:5:12: error: There is an unknown macro here somewhere. Configuration is required. If NLF is a macro then please configure it. [unknownMacro] stellarsolver-2.7/stellarsolver/astrometry/util/bl-nl.c:30:9: error: There is an unknown macro here somewhere. Configuration is required. If NLF is a macro then please configure it. [unknownMacro] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_memory.c:1161:18: error: Returning pointer to local variable 't' that will be invalid when returning. [returnDanglingLifetime] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_memory.c:1161:19: note: Passed to 'strcpy'. stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_memory.c:1149:17: note: Variable created here. stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_memory.c:1161:18: note: Returning pointer to local variable 't' that will be invalid when returning. stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_memory.c:260:17: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_memory.c:463:25: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_memory.c:774:13: style: Variable 'swapname' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_memory.c:924:13: style: Variable 'swapname' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/codekd.c:16:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable codetree_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/codekd.c:52:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CODETREE_NAME [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/codekd.c:144:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AN_FILETYPE_CODETREE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/codekd.c:40:43: style: Parameter 's' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/datalog.c:23:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/datalog.c:57:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATALOG_MASK_ALL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/datalog.c:73:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/datalog.c:71:17: style: Variable 'log' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:259:22: style: Variable 'first' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:561:25: style: Variable 'k' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:616:21: style: Variable 'k' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:707:21: style: Variable 'k' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:738:50: style: Parameter 'lin' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:800:21: style: Variable 'k' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:833:17: style: Variable 'c' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:862:18: style: Variable 'c' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:905:18: style: Variable 'c' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:1157:12: style: Variable 'k' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:1236:18: style: Variable 'k' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/errors.c:46:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/errors.c:62:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/errors.c:80:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/errors.c:93:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/errors.c:149:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/errors.c:153:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable err_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/errors.c:202:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/errors.c:154:5: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/errors.c:153:22: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/errors.c:153:22: note: Assignment 'e=calloc(1,sizeof(err_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/errors.c:154:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/errors.c:21:33: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/errors.c:28:21: style: Variable 'ee' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/errors.c:170:17: style: Variable 'ee' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/errors.c:200:31: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/errors.c:216:29: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitsbin.c:78:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fitsbin_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsbin.c:108:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fitsbin_chunk_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsbin.c:237:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QFITS_BINTABLE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsbin.c:440:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsbin.c:626:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsbin.c:415:32: style: Condition 'fitsbin_get_datinfo(fb,i,pstart,psize)' is always false [knownConditionTrueFalse] stellarsolver-2.7/stellarsolver/astrometry/util/fitsbin.c:415:32: note: Calling function 'fitsbin_get_datinfo' returns 0 stellarsolver-2.7/stellarsolver/astrometry/util/fitsbin.c:415:32: note: Condition 'fitsbin_get_datinfo(fb,i,pstart,psize)' is always false stellarsolver-2.7/stellarsolver/astrometry/util/fitsbin.c:55:34: style: Parameter 'fb' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitsbin.c:90:36: style: Parameter 'fb' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitsbin.c:135:41: style: Parameter 'fb' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitsbin.c:135:62: style: Parameter 'chunk' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/fit-wcs.c:35:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tan_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fit-wcs.c:105:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tan_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fit-wcs.c:455:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tan_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fit-wcs.c:709:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tan_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:78:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qfits_table [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:132:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:215:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:304:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable off_beg [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:356:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_LINESZ [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:372:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_LINESZ [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:383:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_LINESZ [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:423:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_LINESZ [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:537:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:546:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:581:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_LINESZ [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:648:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_LINESZ [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:707:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:811:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_LINESZ [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:831:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:835:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:844:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_BLOCK_SIZE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:883:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFITS_BIN_TYPE_X [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:898:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QFITS_ASCIITABLE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:916:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:931:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:939:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:965:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:979:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:992:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:1007:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:1067:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_BLOCK_SIZE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:1072:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_BLOCK_SIZE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:1080:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENDIAN_DETECTOR [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:1104:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENDIAN_DETECTOR [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:1113:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENDIAN_DETECTOR [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:1239:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FITS_LINESZ [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:106:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:125:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFITS_BIN_TYPE_I [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:140:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFITS_BIN_TYPE_D [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:144:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFITS_BIN_TYPE_E [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:148:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFITS_BIN_TYPE_A [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:152:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFITS_BIN_TYPE_B [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:155:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFITS_BIN_TYPE_I [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:158:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFITS_BIN_TYPE_J [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:161:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFITS_BIN_TYPE_K [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:164:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFITS_BIN_TYPE_L [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:168:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFITS_BIN_TYPE_B [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:172:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFITS_BIN_TYPE_X [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:177:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tfits_type [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:375:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tlabel [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:381:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable atom_type [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:387:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable atom_nb [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:423:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:435:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:465:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFITS_BIN_TYPE_UNKNOWN [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:484:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFITS_BIN_TYPE_UNKNOWN [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:501:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:520:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:575:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:809:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:1029:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:1036:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:1043:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:1050:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:1056:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:1068:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:1073:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:1079:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:1119:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fitstable_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:1136:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:1639:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QFITS_BINTABLE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:79:12: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:78:17: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:78:17: note: Assignment 'out=calloc(1,sizeof(qfits_table))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:79:12: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:80:5: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:78:17: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:78:17: note: Assignment 'out=calloc(1,sizeof(qfits_table))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:80:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:81:12: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:78:17: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:78:17: note: Assignment 'out=calloc(1,sizeof(qfits_table))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:81:12: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:1028:43: portability: Casting between const char * and double * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:1032:43: portability: Casting between const char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:76:43: style: Parameter 'tbl' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:808:80: style: Parameter 'targetkey' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:861:30: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:1062:38: style: Parameter 'pvalue' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:1081:24: style: Variable 'cptr' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:154:14: portability: 'vbuf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:312:14: style: Variable 'dval' is assigned a value that is never used. [unreadVariable] stellarsolver-2.7/stellarsolver/astrometry/util/fitsioutils.c:557:13: style: Variable 'end' is assigned a value that is never used. [unreadVariable] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1170:21: portability: Casting between unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1181:21: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1382:21: portability: Casting between unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1394:21: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1551:21: portability: Casting between unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1566:21: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:105:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VarUnused [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:159:25: style: Variable 'curr_col' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:162:25: style: Variable 'date' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1051:25: style: Variable 'col' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1267:25: style: Variable 'col' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1485:25: style: Variable 'col' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1769:21: style: Variable 'curr_col' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1807:29: style: Variable 'col' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1808:29: style: Variable 'ccol' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1809:29: style: Variable 'icol' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1810:29: style: Variable 'fcol' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1811:29: style: Variable 'dcol' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1913:29: style: Variable 'col' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1914:29: style: Variable 'uccol' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1915:29: style: Variable 'ccol' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1916:29: style: Variable 'icol' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1917:29: style: Variable 'kcol' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1918:29: style: Variable 'scol' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1919:29: style: Variable 'fcol' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_table.c:1920:29: style: Variable 'dcol' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:75:9: warning: If memory allocation fails, then there is a possible null pointer dereference: B [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:64:29: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:64:29: note: Assignment 'B=malloc(NB*sizeof(gsl_vector*))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:75:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:76:9: warning: If memory allocation fails, then there is a possible null pointer dereference: X [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:66:29: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:66:29: note: Assignment 'X=malloc(NB*sizeof(gsl_vector**))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:76:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:77:9: warning: If memory allocation fails, then there is a possible null pointer dereference: R [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:67:29: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:67:29: note: Assignment 'R=malloc(NB*sizeof(gsl_vector**))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:77:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:83:13: warning: If memory allocation fails, then there is a possible null pointer dereference: X [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:66:29: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:66:29: note: Assignment 'X=malloc(NB*sizeof(gsl_vector**))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:83:13: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:87:13: warning: If memory allocation fails, then there is a possible null pointer dereference: R [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:67:29: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:67:29: note: Assignment 'R=malloc(NB*sizeof(gsl_vector**))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:87:13: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:112:16: warning: If memory allocation fails, then there is a possible null pointer dereference: B [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:64:29: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:64:29: note: Assignment 'B=malloc(NB*sizeof(gsl_vector*))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:81:42: note: Calling function 'gslutils_solve_leastsquares', 2nd argument 'B' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:112:16: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:113:16: warning: If memory allocation fails, then there is a possible null pointer dereference: B [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:64:29: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:64:29: note: Assignment 'B=malloc(NB*sizeof(gsl_vector*))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:81:42: note: Calling function 'gslutils_solve_leastsquares', 2nd argument 'B' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:113:16: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:128:9: warning: If memory allocation fails, then there is a possible null pointer dereference: X [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:69:31: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:69:31: note: Assignment 'Xtmp=malloc(NB*sizeof(gsl_vector*))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:81:45: note: Calling function 'gslutils_solve_leastsquares', 3rd argument 'Xtmp' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:128:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:129:16: warning: If memory allocation fails, then there is a possible null pointer dereference: X [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:69:31: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:69:31: note: Assignment 'Xtmp=malloc(NB*sizeof(gsl_vector*))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:81:45: note: Calling function 'gslutils_solve_leastsquares', 3rd argument 'Xtmp' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:129:16: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:130:45: warning: If memory allocation fails, then there is a possible null pointer dereference: B [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:64:29: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:64:29: note: Assignment 'B=malloc(NB*sizeof(gsl_vector*))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:81:42: note: Calling function 'gslutils_solve_leastsquares', 2nd argument 'B' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:130:45: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:130:51: warning: If memory allocation fails, then there is a possible null pointer dereference: X [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:69:31: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:69:31: note: Assignment 'Xtmp=malloc(NB*sizeof(gsl_vector*))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:81:45: note: Calling function 'gslutils_solve_leastsquares', 3rd argument 'Xtmp' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/gslutils.c:130:51: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:1228:26: warning: Either the condition 'fn!=NULL' is redundant or there is possible null pointer dereference: fn. [nullPointerRedundantCheck] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:1230:20: note: Assuming that condition 'fn!=NULL' is not redundant stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:1228:26: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:84:36: style: Parameter 'col' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:289:57: style: Parameter 'rows' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:342:16: style: Variable 'col' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:595:43: style: Parameter 'tab' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:599:20: style: Variable 'col' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:1393:16: style: Variable 'qcol' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:1403:16: style: Variable 'qcol' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:1419:20: style: Variable 'theext' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:1477:20: style: Variable 'qcol' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:1521:20: style: Variable 'col' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:1609:43: style: Parameter 'tab' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:1620:50: style: Parameter 'tab' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/fitstable.c:711:36: portability: 'struc' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:30:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:70:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:137:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:188:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INDEX_ONLY_LOAD_METADATA [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:270:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_INDEX_JITTER [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:319:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable index_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:341:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INDEX_ONLY_LOAD_METADATA [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:270:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:283:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:322:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:333:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:712:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:830:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:945:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:973:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:988:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:997:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1006:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1111:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1139:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1177:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1195:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1205:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1214:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1223:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1233:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1252:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1263:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1273:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1282:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1291:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bread_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:60:9: warning: If memory allocation fails, then there is a possible null pointer dereference: basename [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:59:26: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:59:26: note: Assignment 'basename=strdup(indexname)', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:60:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:268:5: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:312:20: note: Calling function 'get_cut_params', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:268:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:268:47: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:312:20: note: Calling function 'get_cut_params', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:268:47: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:269:9: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:312:20: note: Calling function 'get_cut_params', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:269:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:272:5: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:312:20: note: Calling function 'get_cut_params', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:272:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:272:46: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:312:20: note: Calling function 'get_cut_params', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:272:46: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:273:5: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:312:20: note: Calling function 'get_cut_params', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:273:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:273:49: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:312:20: note: Calling function 'get_cut_params', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:273:49: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:274:5: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:312:20: note: Calling function 'get_cut_params', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:274:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:274:46: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:312:20: note: Calling function 'get_cut_params', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:274:46: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:275:5: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:312:20: note: Calling function 'get_cut_params', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:275:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:275:56: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:312:20: note: Calling function 'get_cut_params', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:275:56: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:276:5: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:312:20: note: Calling function 'get_cut_params', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:276:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:276:48: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:312:20: note: Calling function 'get_cut_params', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:276:48: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:284:13: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:312:20: note: Calling function 'get_cut_params', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:284:13: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:286:13: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:312:20: note: Calling function 'get_cut_params', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:286:13: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:288:13: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:312:20: note: Calling function 'get_cut_params', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:288:13: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:301:5: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:301:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:301:70: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:301:70: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:302:5: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:302:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:302:70: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:302:70: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:303:5: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:303:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:303:22: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:303:22: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:304:5: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:304:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:304:22: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:304:22: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:305:5: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:305:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:305:22: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:305:22: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:306:5: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:306:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:306:23: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:306:23: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:307:5: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:307:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:307:21: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:307:21: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:308:5: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:308:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:308:21: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:308:21: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:315:5: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:315:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:315:45: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:315:45: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:319:5: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:319:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:319:54: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:319:54: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:321:5: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:321:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:321:59: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:333:14: note: Calling function 'set_meta', 1st argument 'index' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:321:59: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:330:5: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:330:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:331:5: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:331:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:332:5: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/index.c:329:28: note: Assignment 'index=calloc(1,sizeof(index_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/index.c:332:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/index.c:188:14: style: Variable 'ind' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:203:11: style: Variable 'band' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:208:13: style: Variable 'cut100hp' can be declared as const array [constVariable] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:209:13: style: Variable 'cut100n' can be declared as const array [constVariable] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:210:16: style: Variable 'cut100dd' can be declared as const array [constVariable] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:222:13: style: Variable 'cut300hp' can be declared as const array [constVariable] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:238:13: style: Variable 'cut400hp' can be declared as const array [constVariable] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:239:13: style: Variable 'cut400n' can be declared as const array [constVariable] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:324:29: style: Parameter 'indx' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/index.c:200:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] stellarsolver-2.7/stellarsolver/astrometry/util/log.c:79:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/log.c:91:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/log.c:95:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timestamp [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/log.c:99:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/log.c:136:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable astroLogger [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/log.c:142:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERROR [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/log.c:148:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_MSG [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/log.c:154:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_VERB [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/log.c:160:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ALL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/log.c:166:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ALL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/log.c:190:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable astroLogger [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/log.c:199:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/log.c:203:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/log.c:189:9: warning: Return value of function vasprintf() is not used. [ignoredReturnValue] stellarsolver-2.7/stellarsolver/astrometry/util/fit-wcs.c:37:20: style: Condition 'fit_tan_wcs(starxyz,fieldxy,M,&wcs,NULL)' is always false [knownConditionTrueFalse] stellarsolver-2.7/stellarsolver/astrometry/util/fit-wcs.c:899:29: note: Calling function 'fit_tan_wcs_solve' returns 0 stellarsolver-2.7/stellarsolver/astrometry/util/fit-wcs.c:37:20: note: Calling function 'fit_tan_wcs' returns 0 stellarsolver-2.7/stellarsolver/astrometry/util/fit-wcs.c:37:20: note: Condition 'fit_tan_wcs(starxyz,fieldxy,M,&wcs,NULL)' is always false stellarsolver-2.7/stellarsolver/astrometry/util/fit-wcs.c:730:9: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/fit-wcs.c:716:15: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/fit-wcs.c:716:15: note: Assignment 'f=malloc(N*2*sizeof(double))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/fit-wcs.c:730:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/fit-wcs.c:731:9: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/fit-wcs.c:716:15: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/fit-wcs.c:716:15: note: Assignment 'f=malloc(N*2*sizeof(double))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/fit-wcs.c:731:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/fit-wcs.c:31:27: style: Parameter 'crpix' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/fit-wcs.c:690:14: style: Variable 'w' is assigned a value that is never used. [unreadVariable] stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:270:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:88:9: error: Resource leak: fout [resourceLeak] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:92:9: error: Resource leak: fin [resourceLeak] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:92:9: error: Resource leak: fout [resourceLeak] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:97:9: error: Resource leak: fin [resourceLeak] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:189:9: error: Resource leak: fid [resourceLeak] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:836:9: error: Resource leak: fid [resourceLeak] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:841:9: error: Resource leak: fid [resourceLeak] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:126:20: warning:inconclusive: Either the condition 's' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:149:20: note: Assuming that condition 's' is not redundant stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:126:20: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1292:5: warning: If memory allocation fails, then there is a possible null pointer dereference: br [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1291:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1291:16: note: Assignment 'br=calloc(1,sizeof(bread_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1292:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1293:5: warning: If memory allocation fails, then there is a possible null pointer dereference: br [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1291:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1291:16: note: Assignment 'br=calloc(1,sizeof(bread_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1293:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1294:5: warning: If memory allocation fails, then there is a possible null pointer dereference: br [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1291:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1291:16: note: Assignment 'br=calloc(1,sizeof(bread_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1294:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1295:5: warning: If memory allocation fails, then there is a possible null pointer dereference: br [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1291:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1291:16: note: Assignment 'br=calloc(1,sizeof(bread_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1295:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1296:5: warning: If memory allocation fails, then there is a possible null pointer dereference: br [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1291:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1291:16: note: Assignment 'br=calloc(1,sizeof(bread_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1296:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/healpix.c:781:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VarUnused [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/healpix.c:1004:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/healpix.c:1347:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable compare_doubles_asc [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/healpix.c:1435:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1024:12: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1026:7: note: Found duplicate branches for 'if' and 'else'. stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1024:12: note: Found duplicate branches for 'if' and 'else'. stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:116:11: style: Variable 'added' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:172:15: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:665:11: style: Variable 'escape' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:673:15: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:679:15: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1114:95: style: Parameter 'maxstep' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1174:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1183:49: style: Parameter 's' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1238:51: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/ioutils.c:1278:43: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:386:9: warning: If memory allocation fails, then there is a possible null pointer dereference: F [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:383:15: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:383:15: note: Assignment 'F=malloc(3*N*sizeof(double))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:386:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:388:9: warning: If memory allocation fails, then there is a possible null pointer dereference: F [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:383:15: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:383:15: note: Assignment 'F=malloc(3*N*sizeof(double))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:388:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:390:9: warning: If memory allocation fails, then there is a possible null pointer dereference: F [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:383:15: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:383:15: note: Assignment 'F=malloc(3*N*sizeof(double))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:390:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:402:24: warning: If memory allocation fails, then there is a possible null pointer dereference: F [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:383:15: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:383:15: note: Assignment 'F=malloc(3*N*sizeof(double))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:402:24: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:402:37: warning: If memory allocation fails, then there is a possible null pointer dereference: F [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:383:15: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:383:15: note: Assignment 'F=malloc(3*N*sizeof(double))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:402:37: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:430:13: warning: If memory allocation fails, then there is a possible null pointer dereference: R [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:418:15: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:418:15: note: Assignment 'R=malloc(N*3*sizeof(double))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:430:13: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:206:32: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:210:40: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:214:30: style: Parameter 'va' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:214:42: style: Parameter 'vb' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:218:30: style: Parameter 'ma' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:218:42: style: Parameter 'mb' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:232:30: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:232:41: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:375:28: style: Parameter 'star' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/mathutil.c:375:42: style: Parameter 'field' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/permutedsort.c:87:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable compare_permuted [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/permutedsort.c:148:37: style: Parameter 'thunk' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/md5.c:52:43: style: Parameter 'data' can be declared as const array [constParameter] stellarsolver-2.7/stellarsolver/astrometry/util/quadfile.c:56:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quadfile_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/quadfile.c:95:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DQMAX [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/quadfile.c:131:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/quadfile.c:129:22: style: Variable 'chunk' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:31:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sip_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:49:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sip_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:64:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sip_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:129:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VarUnused [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:242:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:258:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:306:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:324:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:346:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIP_MAXORDER [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:403:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIP_MAXORDER [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/sip-utils.c:28:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tan_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/sip-utils.c:192:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_VERB [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/sip-utils.c:256:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/sip-utils.c:263:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/sip-utils.c:273:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/sip-utils.c:501:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sip_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/sip-utils.c:509:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tan_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/sip-utils.c:522:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tan_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/sip-utils.c:537:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sip_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/starkd.c:30:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable startree_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/starkd.c:61:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TFITS_BIN_TYPE_UNKNOWN [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/starkd.c:140:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KD_OPTIONS_SMALL_RADIUS [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/starkd.c:204:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fitsbin_chunk_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/starkd.c:230:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STARTREE_NAME [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/starkd.c:372:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AN_FILETYPE_TAGALONG [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/starkd.c:391:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/starkd.c:531:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AN_FILETYPE_STARTREE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:51:5: warning: If memory allocation fails, then there is a possible null pointer dereference: sip [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:49:24: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:49:24: note: Assignment 'sip=calloc(1,sizeof(sip_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:51:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:52:5: warning: If memory allocation fails, then there is a possible null pointer dereference: sip [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:49:24: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:49:24: note: Assignment 'sip=calloc(1,sizeof(sip_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:52:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:53:5: warning: If memory allocation fails, then there is a possible null pointer dereference: sip [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:49:24: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:49:24: note: Assignment 'sip=calloc(1,sizeof(sip_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:53:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:54:5: warning: If memory allocation fails, then there is a possible null pointer dereference: sip [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:49:24: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:49:24: note: Assignment 'sip=calloc(1,sizeof(sip_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/sip.c:54:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/starkd.c:520:12: warning: Identical condition and return expression 'rtn', return value is always 0 [identicalConditionAfterEarlyExit] stellarsolver-2.7/stellarsolver/astrometry/util/starkd.c:517:9: note: If condition 'rtn' is true, the function will return/exit stellarsolver-2.7/stellarsolver/astrometry/util/starkd.c:520:12: note: Returning identical expression 'rtn' stellarsolver-2.7/stellarsolver/astrometry/util/starkd.c:412:9: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/starkd.c:408:20: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/starkd.c:408:20: note: Assignment 'counts=calloc(Ndata(s),sizeof(uint8_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/starkd.c:412:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/starkd.c:415:16: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/starkd.c:408:20: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/starkd.c:408:20: note: Assignment 'counts=calloc(Ndata(s),sizeof(uint8_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/starkd.c:415:16: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/starkd.c:206:15: style: Variable 'kd' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:24:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:38:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:191:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable starxy_t [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:141:12: warning: If memory allocation fails, then there is a possible null pointer dereference: res [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:140:25: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:140:25: note: Assignment 'res=malloc(sizeof(double)*starxy_n(xy))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:141:12: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:147:12: warning: If memory allocation fails, then there is a possible null pointer dereference: res [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:146:25: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:146:25: note: Assignment 'res=malloc(sizeof(double)*starxy_n(xy))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:147:12: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:157:9: warning: If memory allocation fails, then there is a possible null pointer dereference: res [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:155:17: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:155:17: note: Assignment 'res=malloc(sizeof(double)*2*N)', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:157:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:158:9: warning: If memory allocation fails, then there is a possible null pointer dereference: res [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:155:17: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:155:17: note: Assignment 'res=malloc(sizeof(double)*2*N)', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:158:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:197:5: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:191:26: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:191:26: note: Assignment 'xy=calloc(1,sizeof(starxy_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:192:23: note: Calling function 'starxy_alloc_data', 1st argument 'xy' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:197:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:198:5: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:191:26: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:191:26: note: Assignment 'xy=calloc(1,sizeof(starxy_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:192:23: note: Calling function 'starxy_alloc_data', 1st argument 'xy' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:198:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:204:9: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:191:26: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:191:26: note: Assignment 'xy=calloc(1,sizeof(starxy_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:192:23: note: Calling function 'starxy_alloc_data', 1st argument 'xy' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:204:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:206:9: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:191:26: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:191:26: note: Assignment 'xy=calloc(1,sizeof(starxy_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:192:23: note: Calling function 'starxy_alloc_data', 1st argument 'xy' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:206:9: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:207:5: warning: If memory allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:191:26: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:191:26: note: Assignment 'xy=calloc(1,sizeof(starxy_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:192:23: note: Calling function 'starxy_alloc_data', 1st argument 'xy' value is 0 stellarsolver-2.7/stellarsolver/astrometry/util/starxy.c:207:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/astrometry/util/tic.c:80:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/astrometry/util/sip-utils.c:331:9: error: Common realloc mistake: 'xy' nulled but not freed upon failure [memleakOnRealloc] stellarsolver-2.7/stellarsolver/astrometry/util/sip-utils.c:431:16: style: Variable 'offsetx' can be declared as const array [constVariable] stellarsolver-2.7/stellarsolver/astrometry/util/sip-utils.c:432:16: style: Variable 'offsety' can be declared as const array [constVariable] stellarsolver-2.7/stellarsolver/astrometry/util/sip-utils.c:433:16: style: Variable 'stepx' can be declared as const array [constVariable] stellarsolver-2.7/stellarsolver/astrometry/util/sip-utils.c:434:16: style: Variable 'stepy' can be declared as const array [constVariable] stellarsolver-2.7/stellarsolver/astrometry/util/sip-utils.c:435:13: style: Variable 'Nsteps' can be declared as const array [constVariable] stellarsolver-2.7/stellarsolver/astrometry/util/tic.c:61:39: style: Parameter 'tv1' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/tic.c:61:60: style: Parameter 'tv2' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/extractorsolver.h:156:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_Background [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/extractorsolver.cpp:19:18: warning: Member variable 'ExtractorSolver::scaleunit' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/stellarsolver/extractorsolver.cpp:19:18: warning: Member variable 'ExtractorSolver::m_Background' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/stellarsolver/extractorsolver.cpp:19:18: warning: Member variable 'ExtractorSolver::m_Solution' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/stellarsolver/extractorsolver.h:113:24: style:inconclusive: Either there is a missing 'override', or the member function 'ExtractorSolver::getScaleUnitString' can be const. [functionConst] stellarsolver-2.7/stellarsolver/extractorsolver.h:156:20: debug: CheckClass::isMemberVar found used member variable 'm_Background' with varid 0 [varid0] stellarsolver-2.7/stellarsolver/extractorsolver.h:181:29: style:inconclusive: Either there is a missing 'override', or the member function 'ExtractorSolver::getSolution' can be const. [functionConst] stellarsolver-2.7/stellarsolver/extractorsolver.h:196:15: style:inconclusive: Either there is a missing 'override', or the member function 'ExtractorSolver::getSolutionIndexNumber' can be const. [functionConst] stellarsolver-2.7/stellarsolver/extractorsolver.h:205:15: style:inconclusive: Either there is a missing 'override', or the member function 'ExtractorSolver::getSolutionHealpix' can be const. [functionConst] stellarsolver-2.7/stellarsolver/extractorsolver.h:214:14: style:inconclusive: Either there is a missing 'override', or the member function 'ExtractorSolver::hasWCSData' can be const. [functionConst] stellarsolver-2.7/stellarsolver/extractorsolver.h:223:14: style:inconclusive: Either there is a missing 'override', or the member function 'ExtractorSolver::solvingDone' can be const. [functionConst] stellarsolver-2.7/stellarsolver/extractorsolver.h:232:14: style:inconclusive: Either there is a missing 'override', or the member function 'ExtractorSolver::extractionDone' can be const. [functionConst] stellarsolver-2.7/stellarsolver/extractorsolver.h:241:14: style:inconclusive: Either there is a missing 'override', or the member function 'ExtractorSolver::isCalculatingHFR' can be const. [functionConst] stellarsolver-2.7/stellarsolver/extractorsolver.h:181:29: performance: Function 'getSolution()' should return member 'm_Solution' by const reference. [returnByReference] stellarsolver-2.7/stellarsolver/extractorsolver.cpp:19:46: style:inconclusive: Function 'ExtractorSolver' argument 1 names different: declaration 'type' definition 'pType'. [funcArgNamesDifferent] stellarsolver-2.7/stellarsolver/extractorsolver.h:27:37: note: Function 'ExtractorSolver' argument 1 names different: declaration 'type' definition 'pType'. stellarsolver-2.7/stellarsolver/extractorsolver.cpp:19:46: note: Function 'ExtractorSolver' argument 1 names different: declaration 'type' definition 'pType'. stellarsolver-2.7/stellarsolver/extractorsolver.cpp:19:67: style:inconclusive: Function 'ExtractorSolver' argument 2 names different: declaration 'exType' definition 'eType'. [funcArgNamesDifferent] stellarsolver-2.7/stellarsolver/extractorsolver.h:27:57: note: Function 'ExtractorSolver' argument 2 names different: declaration 'exType' definition 'eType'. stellarsolver-2.7/stellarsolver/extractorsolver.cpp:19:67: note: Function 'ExtractorSolver' argument 2 names different: declaration 'exType' definition 'eType'. stellarsolver-2.7/stellarsolver/extractorsolver.cpp:19:85: style:inconclusive: Function 'ExtractorSolver' argument 3 names different: declaration 'solType' definition 'sType'. [funcArgNamesDifferent] stellarsolver-2.7/stellarsolver/extractorsolver.h:27:76: note: Function 'ExtractorSolver' argument 3 names different: declaration 'solType' definition 'sType'. stellarsolver-2.7/stellarsolver/extractorsolver.cpp:19:85: note: Function 'ExtractorSolver' argument 3 names different: declaration 'solType' definition 'sType'. stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:180:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOther [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:362:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:406:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOther [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:448:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:637:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MergedChannels [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:731:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MergedChannels [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:885:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MergedChannels [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1062:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1105:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Append [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1133:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Append [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1167:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANY_HDU [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1403:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1524:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1623:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1724:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1837:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READONLY [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/onlinesolver.cpp:185:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ContentTypeHeader [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/onlinesolver.cpp:218:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/onlinesolver.cpp:387:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoError [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:82:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:640:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:812:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TSHORT [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1056:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1162:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/internalextractorsolver.h:85:14: warning: The class 'InternalExtractorSolver' defines member variable with name 'usingDownsampledImage' also defined in its parent class 'ExtractorSolver'. [duplInheritedMember] stellarsolver-2.7/stellarsolver/extractorsolver.h:270:14: note: Parent variable 'ExtractorSolver::usingDownsampledImage' stellarsolver-2.7/stellarsolver/internalextractorsolver.h:85:14: note: Derived variable 'InternalExtractorSolver::usingDownsampledImage' stellarsolver-2.7/stellarsolver/internalextractorsolver.h:94:13: warning: The class 'InternalExtractorSolver' defines member function with name 'runSEPExtractor' also defined in its parent class 'ExtractorSolver'. [duplInheritedMember] stellarsolver-2.7/stellarsolver/extractorsolver.h:290:14: note: Parent function 'ExtractorSolver::runSEPExtractor' stellarsolver-2.7/stellarsolver/internalextractorsolver.h:94:13: note: Derived function 'InternalExtractorSolver::runSEPExtractor' stellarsolver-2.7/stellarsolver/onlinesolver.h:40:17: warning: The class 'OnlineSolver' defines member variable with name 'fileToProcess' also defined in its parent class 'ExternalExtractorSolver'. [duplInheritedMember] stellarsolver-2.7/stellarsolver/externalextractorsolver.h:34:17: note: Parent variable 'ExternalExtractorSolver::fileToProcess' stellarsolver-2.7/stellarsolver/onlinesolver.h:40:17: note: Derived variable 'OnlineSolver::fileToProcess' stellarsolver-2.7/stellarsolver/onlinesolver.cpp:147:8: style: Condition '!m_WasAborted' is always true [knownConditionTrueFalse] stellarsolver-2.7/stellarsolver/onlinesolver.cpp:130:8: note: Assuming that condition 'm_WasAborted' is not redundant stellarsolver-2.7/stellarsolver/onlinesolver.cpp:133:8: note: Assuming condition is false stellarsolver-2.7/stellarsolver/onlinesolver.cpp:147:8: note: Condition '!m_WasAborted' is always true stellarsolver-2.7/stellarsolver/onlinesolver.cpp:393:13: style: The scope of the variable 'json' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/onlinesolver.cpp:357:14: style: Local variable 'getJobID' shadows outer function [shadowFunction] stellarsolver-2.7/stellarsolver/onlinesolver.h:119:14: note: Shadowed declaration stellarsolver-2.7/stellarsolver/onlinesolver.cpp:357:14: note: Shadow variable stellarsolver-2.7/stellarsolver/externalextractorsolver.h:95:56: performance: Function parameter 'paths' should be passed by const reference. [passedByValue] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:49:14: style:inconclusive: Technically the member function 'SEP::Analyze::analysemthresh' can be const. [functionConst] stellarsolver-2.7/stellarsolver/sep/analyse.h:35:9: note: Technically the member function 'SEP::Analyze::analysemthresh' can be const. stellarsolver-2.7/stellarsolver/sep/analyse.cpp:49:14: note: Technically the member function 'SEP::Analyze::analysemthresh' can be const. stellarsolver-2.7/stellarsolver/sep/analyse.cpp:119:16: style:inconclusive: Technically the member function 'SEP::Analyze::preanalyse' can be const. [functionConst] stellarsolver-2.7/stellarsolver/sep/analyse.h:36:11: note: Technically the member function 'SEP::Analyze::preanalyse' can be const. stellarsolver-2.7/stellarsolver/sep/analyse.cpp:119:16: note: Technically the member function 'SEP::Analyze::preanalyse' can be const. stellarsolver-2.7/stellarsolver/sep/analyse.h:32:5: style: Class 'Analyze' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:72:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:76:70: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:79:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:80:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:137:70: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:139:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:140:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:141:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:142:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:216:70: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:218:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:219:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:220:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:221:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:261:70: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:263:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:264:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:266:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:269:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:79:16: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:80:43: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:141:15: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:142:16: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:220:16: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:221:22: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:266:34: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:269:20: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:123:26: style: The scope of the variable 'val' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:123:31: style: The scope of the variable 'cval' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:125:10: style: The scope of the variable 'x' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:125:13: style: The scope of the variable 'y' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:192:19: style: The scope of the variable 'val' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/analyse.cpp:197:34: style: The scope of the variable 'cvar' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:148:13: style: The scope of the variable 'fail' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1162:10: style: The scope of the variable 'error_status' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1436:12: style: The scope of the variable 'fieldw' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1436:24: style: The scope of the variable 'fieldh' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1437:10: style: The scope of the variable 'rastr' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1437:21: style: The scope of the variable 'decstr' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1713:10: style: The scope of the variable 'error_status' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:308:30: style: Local variable 'solver' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarsolver/externalextractorsolver.h:150:28: note: Shadowed declaration stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:308:30: note: Shadow variable stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1424:25: style: Local variable 'ini' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1412:17: note: Shadowed declaration stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1424:25: note: Shadow variable stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1448:21: style: Local variable 'ini' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1412:17: note: Shadowed declaration stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1448:21: note: Shadow variable stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1077:9: performance: Range variable 'folder' should be declared as const reference. [iterateByValue] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1081:9: performance: Range variable 'file' should be declared as const reference. [iterateByValue] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1331:16: style: Variable 'key' can be declared as reference to const [constVariableReference] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:148:18: style: Variable 'fail' is assigned a value that is never used. [unreadVariable] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1436:19: style: Variable 'fieldw' is assigned a value that is never used. [unreadVariable] stellarsolver-2.7/stellarsolver/externalextractorsolver.cpp:1436:31: style: Variable 'fieldh' is assigned a value that is never used. [unreadVariable] stellarsolver-2.7/stellarsolver/astrometry/util/healpix.c:188:13: style: Local variable 'bighp' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarsolver/astrometry/util/healpix.c:166:9: note: Shadowed declaration stellarsolver-2.7/stellarsolver/astrometry/util/healpix.c:188:13: note: Shadow variable stellarsolver-2.7/stellarsolver/astrometry/util/healpix.c:189:13: style: Local variable 'x' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarsolver/astrometry/util/healpix.c:166:16: note: Shadowed declaration stellarsolver-2.7/stellarsolver/astrometry/util/healpix.c:189:13: note: Shadow variable stellarsolver-2.7/stellarsolver/astrometry/util/healpix.c:189:16: style: Local variable 'y' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarsolver/astrometry/util/healpix.c:166:19: note: Shadowed declaration stellarsolver-2.7/stellarsolver/astrometry/util/healpix.c:189:16: note: Shadow variable stellarsolver-2.7/stellarsolver/astrometry/util/healpix.c:852:16: style: Local variable 'sector' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarsolver/astrometry/util/healpix.c:775:12: note: Shadowed declaration stellarsolver-2.7/stellarsolver/astrometry/util/healpix.c:852:16: note: Shadow variable stellarsolver-2.7/stellarsolver/astrometry/util/healpix.c:853:13: style: Local variable 'offset' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarsolver/astrometry/util/healpix.c:776:9: note: Shadowed declaration stellarsolver-2.7/stellarsolver/astrometry/util/healpix.c:853:13: note: Shadow variable stellarsolver-2.7/stellarsolver/astrometry/util/healpix.c:48:32: style: Parameter 'hp' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/astrometry/util/healpix.c:1246:36: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/sep/convolve.cpp:41:24: style: The scope of the variable 'cx' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/convolve.cpp:41:28: style: The scope of the variable 'cy' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/convolve.cpp:41:35: style: The scope of the variable 'dcx' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/convolve.cpp:127:24: style: The scope of the variable 'cx' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/convolve.cpp:127:28: style: The scope of the variable 'cy' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/convolve.cpp:127:35: style: The scope of the variable 'dcx' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/convolve.cpp:39:27: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/sep/convolve.cpp:44:14: style: Variable 'src' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/sep/convolve.cpp:44:26: style: Variable 'dstend' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/sep/convolve.cpp:123:33: style: Parameter 'imbuf' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/sep/convolve.cpp:123:53: style: Parameter 'nbuf' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/sep/convolve.cpp:131:14: style: Variable 'src_im' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/sep/convolve.cpp:131:53: style: Variable 'dst_num_end' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:97:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thresh [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/sep/extract.h:65:16: style:inconclusive: Technically the member function 'SEP::Extract::sep_get_extract_pixstack' can be const. [functionConst] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:263:30: warning: The class 'InternalExtractorSolver' defines member function with name 'runSEPExtractor' also defined in its parent class 'ExtractorSolver'. [duplInheritedMember] stellarsolver-2.7/stellarsolver/extractorsolver.h:290:14: note: Parent function 'ExtractorSolver::runSEPExtractor' stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:263:30: note: Derived function 'InternalExtractorSolver::runSEPExtractor' stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:399:20: style: Condition 'data' is always true [knownConditionTrueFalse] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:443:12: style: Condition 'data' is always true [knownConditionTrueFalse] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1242:5: warning: If memory allocation fails, then there is a possible null pointer dereference: fieldToSolve [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1241:47: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1241:30: note: Assignment 'fieldToSolve=(starxy_t*)calloc(1,sizeof(starxy_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1242:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1243:5: warning: If memory allocation fails, then there is a possible null pointer dereference: fieldToSolve [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1241:47: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1241:30: note: Assignment 'fieldToSolve=(starxy_t*)calloc(1,sizeof(starxy_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1243:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1244:5: warning: If memory allocation fails, then there is a possible null pointer dereference: fieldToSolve [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1241:47: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1241:30: note: Assignment 'fieldToSolve=(starxy_t*)calloc(1,sizeof(starxy_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1244:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1245:5: warning: If memory allocation fails, then there is a possible null pointer dereference: fieldToSolve [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1241:47: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1241:30: note: Assignment 'fieldToSolve=(starxy_t*)calloc(1,sizeof(starxy_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1245:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1246:5: warning: If memory allocation fails, then there is a possible null pointer dereference: fieldToSolve [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1241:47: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1241:30: note: Assignment 'fieldToSolve=(starxy_t*)calloc(1,sizeof(starxy_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1246:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:583:14: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1241:30: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1412:24: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1022:21: portability: Casting between const unsigned char * and const float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1023:19: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1022:21: portability: Casting between const unsigned char * and const double * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1023:19: portability: Casting between unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:928:27: portability: Casting between const unsigned char * and const float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:929:32: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:928:27: portability: Casting between const unsigned char * and const double * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:929:32: portability: Casting between unsigned char * and double * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:864:24: portability: Casting between const unsigned char * and const float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:864:24: portability: Casting between const unsigned char * and const double * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:912:9: style: The scope of the variable 'newBufferSize' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1259:21: style: Local variable 'i' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1233:9: note: Shadowed declaration stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1259:21: note: Shadow variable stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1410:17: style: Local variable 'i' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1233:9: note: Shadowed declaration stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:1410:17: note: Shadow variable stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:763:99: style: Parameter 'oneStar' can be declared as reference to const [constParameterReference] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:772:99: style: Parameter 'oneStar' can be declared as reference to const [constParameterReference] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:803:99: style: Parameter 'oneStar' can be declared as reference to const [constParameterReference] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:827:103: style: Parameter 'oneStar' can be declared as reference to const [constParameterReference] stellarsolver-2.7/stellarsolver/internalextractorsolver.cpp:433:33: style: Iterating over container 'dataBuffers' that is always empty. [knownEmptyContainer] stellarsolver-2.7/stellarsolver/sep/sep.h:25:1: error: Code 'namespaceSEP{' is invalid C code. [syntaxError] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:77:5: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:41:10: warning: Member variable 'Deblend::debobjlist' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:41:10: warning: Member variable 'Deblend::debobjlist2' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:383:14: performance:inconclusive: Technically the member function 'SEP::Deblend::belong' can be static (but you may consider moving to unnamed namespace). [functionStatic] stellarsolver-2.7/stellarsolver/sep/deblend.h:46:13: note: Technically the member function 'SEP::Deblend::belong' can be static (but you may consider moving to unnamed namespace). stellarsolver-2.7/stellarsolver/sep/deblend.cpp:383:14: note: Technically the member function 'SEP::Deblend::belong' can be static (but you may consider moving to unnamed namespace). stellarsolver-2.7/stellarsolver/sep/deblend.cpp:404:15: performance:inconclusive: Technically the member function 'SEP::Deblend::createsubmap' can be static (but you may consider moving to unnamed namespace). [functionStatic] stellarsolver-2.7/stellarsolver/sep/deblend.h:47:14: note: Technically the member function 'SEP::Deblend::createsubmap' can be static (but you may consider moving to unnamed namespace). stellarsolver-2.7/stellarsolver/sep/deblend.cpp:404:15: note: Technically the member function 'SEP::Deblend::createsubmap' can be static (but you may consider moving to unnamed namespace). stellarsolver-2.7/stellarsolver/sep/deblend.cpp:142:31: error: Common realloc mistake: 'son' nulled but not freed upon failure [memleakOnRealloc] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:282:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:275:36: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/sep/deblend.cpp:275:29: note: Assignment 'p=static_cast(malloc(nobj*sizeof(float)))', assigned value is 0 stellarsolver-2.7/stellarsolver/sep/deblend.cpp:282:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/sep/deblend.cpp:142:37: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:226:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:227:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:228:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:285:17: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:317:22: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:364:31: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:420:26: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:299:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:300:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:300:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:328:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:330:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:331:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:336:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:359:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:390:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:390:59: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:392:65: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:393:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:393:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:426:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:429:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:429:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:386:18: style: Variable 'cobj' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:387:19: style: Variable 'sobj' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/sep/deblend.cpp:407:16: style: Variable 'obj' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/sep/background.cpp:817:22: style: Condition 'nby<2' is always false [knownConditionTrueFalse] stellarsolver-2.7/stellarsolver/sep/background.cpp:806:13: note: Assuming that condition 'nby>1' is not redundant stellarsolver-2.7/stellarsolver/sep/background.cpp:817:22: note: Condition 'nby<2' is always false stellarsolver-2.7/stellarsolver/sep/background.cpp:106:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bkgout [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/sep/background.cpp:104:42: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/sep/background.cpp:104:35: note: Assignment 'bkgout=static_cast(malloc(sizeof(sep_bkg)))', assigned value is 0 stellarsolver-2.7/stellarsolver/sep/background.cpp:106:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/sep/background.cpp:107:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bkgout [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/sep/background.cpp:104:42: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/sep/background.cpp:104:35: note: Assignment 'bkgout=static_cast(malloc(sizeof(sep_bkg)))', assigned value is 0 stellarsolver-2.7/stellarsolver/sep/background.cpp:107:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/sep/background.cpp:108:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bkgout [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/sep/background.cpp:104:42: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/sep/background.cpp:104:35: note: Assignment 'bkgout=static_cast(malloc(sizeof(sep_bkg)))', assigned value is 0 stellarsolver-2.7/stellarsolver/sep/background.cpp:108:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/sep/background.cpp:109:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bkgout [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/sep/background.cpp:104:42: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/sep/background.cpp:104:35: note: Assignment 'bkgout=static_cast(malloc(sizeof(sep_bkg)))', assigned value is 0 stellarsolver-2.7/stellarsolver/sep/background.cpp:109:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/sep/background.cpp:110:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bkgout [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/sep/background.cpp:104:42: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/sep/background.cpp:104:35: note: Assignment 'bkgout=static_cast(malloc(sizeof(sep_bkg)))', assigned value is 0 stellarsolver-2.7/stellarsolver/sep/background.cpp:110:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/sep/background.cpp:111:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bkgout [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/sep/background.cpp:104:42: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/sep/background.cpp:104:35: note: Assignment 'bkgout=static_cast(malloc(sizeof(sep_bkg)))', assigned value is 0 stellarsolver-2.7/stellarsolver/sep/background.cpp:111:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/sep/background.cpp:112:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bkgout [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/sep/background.cpp:104:42: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/sep/background.cpp:104:35: note: Assignment 'bkgout=static_cast(malloc(sizeof(sep_bkg)))', assigned value is 0 stellarsolver-2.7/stellarsolver/sep/background.cpp:112:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/sep/background.cpp:113:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bkgout [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/sep/background.cpp:104:42: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/sep/background.cpp:104:35: note: Assignment 'bkgout=static_cast(malloc(sizeof(sep_bkg)))', assigned value is 0 stellarsolver-2.7/stellarsolver/sep/background.cpp:113:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/sep/background.cpp:114:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bkgout [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/sep/background.cpp:104:42: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/sep/background.cpp:104:35: note: Assignment 'bkgout=static_cast(malloc(sizeof(sep_bkg)))', assigned value is 0 stellarsolver-2.7/stellarsolver/sep/background.cpp:114:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/sep/background.cpp:115:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bkgout [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/sep/background.cpp:104:42: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/sep/background.cpp:104:35: note: Assignment 'bkgout=static_cast(malloc(sizeof(sep_bkg)))', assigned value is 0 stellarsolver-2.7/stellarsolver/sep/background.cpp:115:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/sep/background.cpp:116:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bkgout [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/sep/background.cpp:104:42: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/sep/background.cpp:104:35: note: Assignment 'bkgout=static_cast(malloc(sizeof(sep_bkg)))', assigned value is 0 stellarsolver-2.7/stellarsolver/sep/background.cpp:116:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/sep/background.cpp:117:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bkgout [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/sep/background.cpp:104:42: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/sep/background.cpp:104:35: note: Assignment 'bkgout=static_cast(malloc(sizeof(sep_bkg)))', assigned value is 0 stellarsolver-2.7/stellarsolver/sep/background.cpp:117:5: note: Null pointer dereference stellarsolver-2.7/stellarsolver/sep/background.cpp:406:13: warning: Either the condition '!bm' is redundant or there is possible null pointer dereference: bm. [nullPointerRedundantCheck] stellarsolver-2.7/stellarsolver/sep/background.cpp:413:12: note: Assuming that condition '!bm' is not redundant stellarsolver-2.7/stellarsolver/sep/background.cpp:406:13: note: Null pointer dereference stellarsolver-2.7/stellarsolver/sep/background.cpp:117:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:118:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:119:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:120:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:123:11: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:124:13: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:141:9: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:148:9: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:190:17: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:548:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:549:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:550:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:551:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:682:13: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:829:9: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:840:9: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:844:13: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:946:41: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:954:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:974:44: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:982:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:1008:19: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:1018:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:1020:12: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:1046:19: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:1056:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:1058:12: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:1080:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:1107:12: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:1109:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:171:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:178:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:171:20: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:178:25: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/sep/background.cpp:98:14: style: Variable 'backmesh' is reassigned a value before the old one has been used. [redundantAssignment] stellarsolver-2.7/stellarsolver/sep/background.cpp:85:14: note: backmesh is assigned stellarsolver-2.7/stellarsolver/sep/background.cpp:98:14: note: backmesh is overwritten stellarsolver-2.7/stellarsolver/sep/background.cpp:267:22: style: The scope of the variable 'mean' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/background.cpp:267:28: style: The scope of the variable 'sigma' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/background.cpp:268:14: style: The scope of the variable 'buft' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/background.cpp:270:22: style: The scope of the variable 'npix' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/background.cpp:270:36: style: The scope of the variable 'lastbite' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/background.cpp:392:31: style: The scope of the variable 'lastbite' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/background.cpp:456:37: style: The scope of the variable 'histot' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/background.cpp:457:19: style: The scope of the variable 'lowsum' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/background.cpp:457:27: style: The scope of the variable 'highsum' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/background.cpp:457:36: style: The scope of the variable 'sum' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/background.cpp:458:12: style: The scope of the variable 'ftemp' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/background.cpp:456:37: style: Variable 'histot' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/sep/background.cpp:666:29: style: Parameter 'bkg' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/sep/background.cpp:715:31: style: Parameter 'bkg' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/sep/background.cpp:720:34: style: Parameter 'bkg' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/sep/background.cpp:784:36: style: Parameter 'bkg' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/sep/background.cpp:795:41: style: Variable 'bhi' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/sep/background.cpp:795:54: style: Variable 'dbhi' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/sep/background.cpp:253:12: style: Variable 'bkgout' is assigned a value that is never used. [unreadVariable] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:361:5: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:37:7: warning: Member variable 'Lutz::curpixinfo' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:37:7: warning: Member variable 'Lutz::initinfo' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:39:5: performance: Variable 'plist_values' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:378:12: performance:inconclusive: Technically the member function 'SEP::Lutz::update' can be static (but you may consider moving to unnamed namespace). [functionStatic] stellarsolver-2.7/stellarsolver/sep/lutz.h:42:15: note: Technically the member function 'SEP::Lutz::update' can be static (but you may consider moving to unnamed namespace). stellarsolver-2.7/stellarsolver/sep/lutz.cpp:378:12: note: Technically the member function 'SEP::Lutz::update' can be static (but you may consider moving to unnamed namespace). stellarsolver-2.7/stellarsolver/sep/util.cpp:37:13: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:42:13: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:47:13: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:52:13: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:92:21: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:100:22: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:108:19: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:116:20: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:161:17: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:169:14: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:203:17: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:211:16: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:219:14: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:327:19: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:328:19: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:364:20: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:367:20: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:376:18: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:378:18: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:386:54: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:389:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:392:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:64:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:65:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:66:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:67:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:68:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:69:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:70:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/util.cpp:229:10: style: The scope of the variable 'errtext' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:152:32: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:164:15: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:278:64: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:330:21: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:341:32: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:199:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:206:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:389:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:199:27: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:114:27: style: Parameter 'objparent' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:357:33: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/sep/lutz.cpp:378:53: style: Parameter 'infoptr2' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/sep/util.cpp:337:14: style: Variable 'dqcmp' is assigned a value that is never used. [unreadVariable] stellarsolver-2.7/stellarsolver/wcsdata.cpp:71:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/wcsdata.cpp:99:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/wcsdata.cpp:13:10: warning: Member variable 'WCSData::m_wcs' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/stellarsolver/wcsdata.cpp:18:10: warning: Member variable 'WCSData::m_wcs' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/stellarsolver/wcsdata.cpp:22:5: performance: Variable 'wcs' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] stellarsolver-2.7/tester/mainwindow.h:66:45: performance: Function parameter 'starList' should be passed by const reference. [passedByValue] stellarsolver-2.7/stellarsolver/stellarsolver.h:185:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StellarSolver_VERSION [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/stellarsolver.h:194:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StellarSolver_VERSION [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/stellarsolver.h:417:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable background [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/stellarsolver.h:426:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable solution [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/stellarsolver.cpp:80:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/stellarsolver.cpp:219:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quit [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/stellarsolver.cpp:232:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quit [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/stellarsolver.cpp:893:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IniFormat [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/stellarsolver.cpp:1052:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MEMORYSTATUSEX [valueFlowBailoutIncompleteVar] stellarsolver-2.7/tester/mainwindow.cpp:68:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZoomIn [valueFlowBailoutIncompleteVar] stellarsolver-2.7/tester/mainwindow.cpp:562:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ItemIsEditable [valueFlowBailoutIncompleteVar] stellarsolver-2.7/tester/mainwindow.cpp:587:133: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable No [valueFlowBailoutIncompleteVar] stellarsolver-2.7/tester/mainwindow.cpp:672:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZoomIn [valueFlowBailoutIncompleteVar] stellarsolver-2.7/tester/mainwindow.cpp:740:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/tester/mainwindow.cpp:836:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXTRACT [valueFlowBailoutIncompleteVar] stellarsolver-2.7/tester/mainwindow.cpp:863:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/tester/mainwindow.cpp:1075:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable currentIndexChanged [valueFlowBailoutIncompleteVar] stellarsolver-2.7/tester/mainwindow.cpp:1560:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SmoothTransformation [valueFlowBailoutIncompleteVar] stellarsolver-2.7/tester/mainwindow.cpp:2148:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable No [valueFlowBailoutIncompleteVar] stellarsolver-2.7/tester/mainwindow.cpp:2218:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable No [valueFlowBailoutIncompleteVar] stellarsolver-2.7/tester/mainwindow.cpp:2273:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IniFormat [valueFlowBailoutIncompleteVar] stellarsolver-2.7/stellarsolver/stellarsolver.cpp:27:16: warning: Member variable 'StellarSolver::background' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/stellarsolver/stellarsolver.cpp:27:16: warning: Member variable 'StellarSolver::solution' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/stellarsolver/stellarsolver.h:174:33: style:inconclusive: Either there is a missing 'override', or the member function 'StellarSolver::getColorChannel' can be const. [functionConst] stellarsolver-2.7/stellarsolver/stellarsolver.h:417:20: debug: CheckClass::isMemberVar found used member variable 'background' with varid 0 [varid0] stellarsolver-2.7/stellarsolver/stellarsolver.h:426:20: debug: CheckClass::isMemberVar found used member variable 'solution' with varid 0 [varid0] stellarsolver-2.7/stellarsolver/stellarsolver.h:433:15: style:inconclusive: Either there is a missing 'override', or the member function 'StellarSolver::getSolutionIndexNumber' can be const. [functionConst] stellarsolver-2.7/stellarsolver/stellarsolver.h:442:15: style:inconclusive: Either there is a missing 'override', or the member function 'StellarSolver::getSolutionHealpix' can be const. [functionConst] stellarsolver-2.7/stellarsolver/stellarsolver.h:486:17: style:inconclusive: Either there is a missing 'override', or the member function 'StellarSolver::getWCSData' can be const. [functionConst] stellarsolver-2.7/stellarsolver/stellarsolver.h:505:27: style:inconclusive: Either there is a missing 'override', or the member function 'StellarSolver::getCurrentParameters' can be const. [functionConst] stellarsolver-2.7/stellarsolver/stellarsolver.h:514:14: style:inconclusive: Either there is a missing 'override', or the member function 'StellarSolver::isCalculatingHFR' can be const. [functionConst] stellarsolver-2.7/stellarsolver/stellarsolver.h:486:17: performance: Function 'getWCSData()' should return member 'wcsData' by const reference. [returnByReference] stellarsolver-2.7/stellarsolver/stellarsolver.cpp:173:21: style: The scope of the variable 'dirIndexFiles' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/stellarsolver.cpp:1093:12: style: The scope of the variable 'bytesInGB' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/stellarsolver.cpp:201:21: style: Local variable 'i' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarsolver/stellarsolver.cpp:169:13: note: Shadowed declaration stellarsolver-2.7/stellarsolver/stellarsolver.cpp:201:21: note: Shadow variable stellarsolver-2.7/stellarsolver/stellarsolver.h:268:44: performance: Function parameter 'indexFilePaths' should be passed by const reference. [passedByValue] stellarsolver-2.7/stellarsolver/stellarsolver.cpp:50:15: style: Variable 'solver' can be declared as pointer to const [constVariableReference] stellarsolver-2.7/stellarsolver/stellarsolver.cpp:586:22: style: Variable 'solver' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/stellarsolver.cpp:510:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] stellarsolver-2.7/stellarsolver/stellarsolver.cpp:1080:27: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] stellarsolver-2.7/stellarsolver/stellarsolver.cpp:1113:25: style: float result is assigned to const double variable. If the variable is const double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] stellarsolver-2.7/tests/testdeletesolver.cpp:12:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] stellarsolver-2.7/tests/testdeletesolver.cpp:36:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVE [valueFlowBailoutIncompleteVar] stellarsolver-2.7/tests/testdeletesolver.cpp:57:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXTRACT_WITH_HFR [valueFlowBailoutIncompleteVar] stellarsolver-2.7/tester/mainwindow.cpp:381:21: style: Expression is always false because 'else if' condition matches previous condition at line 376. [multiCondition] stellarsolver-2.7/tests/testmultiplesyncsolvers.cpp:61:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXTRACTOR_INTERNAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/tests/testmultiplesyncsolvers.cpp:91:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] stellarsolver-2.7/tester/mainwindow.cpp:1765:8: style: The statement 'if (settingSubframe) settingSubframe=false' is logically equivalent to 'settingSubframe=false'. [duplicateConditionalAssign] stellarsolver-2.7/tester/mainwindow.cpp:1766:25: note: Assignment 'settingSubframe=false' stellarsolver-2.7/tester/mainwindow.cpp:1765:8: note: Condition 'settingSubframe' is redundant stellarsolver-2.7/stellarsolver/sep/overlap.h:377:30: style: The scope of the variable 'xp' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/overlap.h:377:34: style: The scope of the variable 'yp' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/overlap.h:379:9: style: The scope of the variable 'intersect13' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/overlap.h:379:22: style: The scope of the variable 'intersect23' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/overlap.h:381:31: style: The scope of the variable 'pt5' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/overlap.h:381:36: style: The scope of the variable 'pt6' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/aperture.cpp:327:53: style: The scope of the variable 'tmp' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/aperture.cpp:329:10: style: The scope of the variable 'pos' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/aperture.cpp:621:10: style: The scope of the variable 'pos' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/aperture.cpp:740:20: style: The scope of the variable 'arrt' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/aperture.cpp:742:20: style: The scope of the variable 'dy' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/aperture.cpp:742:24: style: The scope of the variable 'dy2' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/aperture.cpp:781:58: style: The scope of the variable 'dxpos' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/aperture.cpp:781:65: style: The scope of the variable 'dypos' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/aperture.cpp:782:12: style: The scope of the variable 'maskarea' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/aperture.cpp:782:22: style: The scope of the variable 'maskweight' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/aperture.cpp:782:34: style: The scope of the variable 'maskdxpos' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/aperture.cpp:782:45: style: The scope of the variable 'maskdypos' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/aperture.cpp:783:15: style: The scope of the variable 'tv' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/aperture.cpp:783:19: style: The scope of the variable 'twv' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/aperture.cpp:783:24: style: The scope of the variable 'totarea' can be reduced. [variableScope] stellarsolver-2.7/stellarsolver/sep/aperture.cpp:553:44: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/sep/aperture.cpp:581:46: style: Parameter 'fluxfrac' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/tester/mainwindow.cpp:1743:47: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/tester/mainwindow.cpp:1751:47: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/sep/aperture.cpp:910:36: style: Variable 'varpix' is assigned a value that is never used. [unreadVariable] stellarsolver-2.7/tests/testmultiplesyncsolvers.cpp:40:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] stellarsolver-2.7/tests/testmultiplesyncsolvers.cpp:101:13: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] stellarsolver-2.7/tester/mainwindow.cpp:1608:20: style: Local variable 'w' shadows outer variable [shadowVariable] stellarsolver-2.7/tester/mainwindow.cpp:1555:9: note: Shadowed declaration stellarsolver-2.7/tester/mainwindow.cpp:1608:20: note: Shadow variable stellarsolver-2.7/tester/mainwindow.cpp:1609:20: style: Local variable 'h' shadows outer variable [shadowVariable] stellarsolver-2.7/tester/mainwindow.cpp:1556:9: note: Shadowed declaration stellarsolver-2.7/tester/mainwindow.cpp:1609:20: note: Shadow variable stellarsolver-2.7/tests/testmultiplesyncsolvers.cpp:115:49: performance: Function parameter 'text' should be passed by const reference. [passedByValue] stellarsolver-2.7/tester/mainwindow.cpp:1832:51: performance: Function parameter 'colName' should be passed by const reference. [passedByValue] stellarsolver-2.7/tester/mainwindow.cpp:1843:51: performance: Function parameter 'colName' should be passed by const reference. [passedByValue] stellarsolver-2.7/tests/testtwostellarsolvers.cpp:35:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXTRACTOR_INTERNAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/tests/testtwostellarsolvers.cpp:72:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXTRACTOR_INTERNAL [valueFlowBailoutIncompleteVar] stellarsolver-2.7/tests/testtwostellarsolvers.cpp:96:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] stellarsolver-2.7/tests/testtwostellarsolvers.cpp:111:9: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] stellarsolver-2.7/tests/testtwostellarsolvers.cpp:118:47: performance: Function parameter 'text' should be passed by const reference. However it seems that 'logOutput' is a callback function. [passedByValueCallback] stellarsolver-2.7/tests/testtwostellarsolvers.cpp:79:85: note: Function pointer used here. stellarsolver-2.7/tests/testtwostellarsolvers.cpp:118:47: note: Function parameter 'text' should be passed by const reference. However it seems that 'logOutput' is a callback function. stellarsolver-2.7/stellarsolver/sep/extract.cpp:803:5: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] stellarsolver-2.7/stellarsolver/sep/extract.cpp:34:10: warning: Member variable 'Extract::plistexist_cdvalue' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/stellarsolver/sep/extract.cpp:34:10: warning: Member variable 'Extract::plistexist_thresh' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/stellarsolver/sep/extract.cpp:34:10: warning: Member variable 'Extract::plistexist_var' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/stellarsolver/sep/extract.cpp:34:10: warning: Member variable 'Extract::plistoff_value' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/stellarsolver/sep/extract.cpp:34:10: warning: Member variable 'Extract::plistoff_cdvalue' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/stellarsolver/sep/extract.cpp:34:10: warning: Member variable 'Extract::plistoff_thresh' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/stellarsolver/sep/extract.cpp:34:10: warning: Member variable 'Extract::plistoff_var' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/stellarsolver/sep/extract.cpp:34:10: warning: Member variable 'Extract::plistsize' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/stellarsolver/sep/extract.cpp:34:10: warning: Member variable 'Extract::plist_values' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/stellarsolver/sep/extract.cpp:34:10: warning: Member variable 'Extract::obj' is not initialized in the constructor. [uninitMemberVar] stellarsolver-2.7/stellarsolver/sep/extract.cpp:900:15: performance:inconclusive: Technically the member function 'SEP::Extract::clean' can be static (but you may consider moving to unnamed namespace). [functionStatic] stellarsolver-2.7/stellarsolver/sep/extract.h:71:14: note: Technically the member function 'SEP::Extract::clean' can be static (but you may consider moving to unnamed namespace). stellarsolver-2.7/stellarsolver/sep/extract.cpp:900:15: note: Technically the member function 'SEP::Extract::clean' can be static (but you may consider moving to unnamed namespace). stellarsolver-2.7/stellarsolver/sep/extract.cpp:90:15: performance:inconclusive: Technically the member function 'SEP::Extract::arraybuffer_readline' can be static (but you may consider moving to unnamed namespace). [functionStatic] stellarsolver-2.7/stellarsolver/sep/extract.h:76:14: note: Technically the member function 'SEP::Extract::arraybuffer_readline' can be static (but you may consider moving to unnamed namespace). stellarsolver-2.7/stellarsolver/sep/extract.cpp:90:15: note: Technically the member function 'SEP::Extract::arraybuffer_readline' can be static (but you may consider moving to unnamed namespace). stellarsolver-2.7/stellarsolver/sep/extract.cpp:114:15: performance:inconclusive: Technically the member function 'SEP::Extract::arraybuffer_free' can be static (but you may consider moving to unnamed namespace). [functionStatic] stellarsolver-2.7/stellarsolver/sep/extract.h:77:14: note: Technically the member function 'SEP::Extract::arraybuffer_free' can be static (but you may consider moving to unnamed namespace). stellarsolver-2.7/stellarsolver/sep/extract.cpp:114:15: note: Technically the member function 'SEP::Extract::arraybuffer_free' can be static (but you may consider moving to unnamed namespace). stellarsolver-2.7/stellarsolver/sep/extract.cpp:140:15: performance:inconclusive: Technically the member function 'SEP::Extract::apply_mask_line' can be static (but you may consider moving to unnamed namespace). [functionStatic] stellarsolver-2.7/stellarsolver/sep/extract.h:86:14: note: Technically the member function 'SEP::Extract::apply_mask_line' can be static (but you may consider moving to unnamed namespace). stellarsolver-2.7/stellarsolver/sep/extract.cpp:140:15: note: Technically the member function 'SEP::Extract::apply_mask_line' can be static (but you may consider moving to unnamed namespace). stellarsolver-2.7/stellarsolver/sep/extract.cpp:62:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:272:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:273:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:274:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:275:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:276:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:277:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:278:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:330:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:338:35: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:360:9: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:363:13: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:364:13: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:369:9: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:547:29: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:707:13: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:712:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1045:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1046:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1047:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1048:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1049:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1050:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1051:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1052:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1053:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1054:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1055:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1056:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1057:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1058:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1059:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1060:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1061:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1062:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1063:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1064:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1065:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1066:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1067:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1068:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1069:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1070:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1071:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1072:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1073:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1074:5: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1130:9: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1133:9: style: C-style pointer casting [cstyleCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:349:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:350:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:505:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:509:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:510:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:511:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:512:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:514:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:516:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:518:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:557:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:561:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:562:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:653:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:859:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:859:46: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1150:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1152:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1152:63: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:514:21: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:516:21: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:518:21: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:859:22: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] stellarsolver-2.7/stellarsolver/sep/extract.cpp:544:21: style:inconclusive: Statements following 'goto' will never be executed. [unreachableCode] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1025:16: style: Local variable 'obj' shadows outer variable [shadowVariable] stellarsolver-2.7/stellarsolver/sep/extract.h:93:19: note: Shadowed declaration stellarsolver-2.7/stellarsolver/sep/extract.cpp:1025:16: note: Shadow variable stellarsolver-2.7/stellarsolver/sep/extract.cpp:140:44: style: Parameter 'mbuf' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/sep/extract.cpp:788:33: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1019:62: style: Parameter 'survives' can be declared as pointer to const [constParameterPointer] stellarsolver-2.7/stellarsolver/sep/extract.cpp:1025:16: style: Variable 'obj' can be declared as pointer to const [constVariablePointer] stellarsolver-2.7/stellarsolver/sep/extract.cpp:726:22: style: Variable 'finalobjlist' is assigned a value that is never used. [unreadVariable] stellarsolver-2.7/stellarsolver/sep/extract.cpp:751:18: style: Variable 'convnorm' is assigned a value that is never used. [unreadVariable] stellarsolver-2.7/stellarsolver/sep/extract.cpp:756:17: style: Variable 'sigscan' is assigned a value that is never used. [unreadVariable] stellarsolver-2.7/stellarsolver/sep/extract.cpp:758:18: style: Variable 'workscan' is assigned a value that is never used. [unreadVariable] stellarsolver-2.7/stellarsolver/sep/extract.cpp:765:16: style: Variable 'cdscan' is assigned a value that is never used. [unreadVariable] diff: head stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:870:5: warning: If memory allocation fails, then there is a possible null pointer dereference: qf [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assignment 'qf=calloc(1,sizeof(anqfits_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:870:5: note: Null pointer dereference head stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:871:5: warning: If memory allocation fails, then there is a possible null pointer dereference: qf [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assignment 'qf=calloc(1,sizeof(anqfits_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:871:5: note: Null pointer dereference head stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:872:5: warning: If memory allocation fails, then there is a possible null pointer dereference: qf [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assignment 'qf=calloc(1,sizeof(anqfits_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:872:5: note: Null pointer dereference head stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:874:5: warning: If memory allocation fails, then there is a possible null pointer dereference: qf [nullPointerOutOfMemory] stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assuming allocation function fails stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:862:16: note: Assignment 'qf=calloc(1,sizeof(anqfits_t))', assigned value is 0 stellarsolver-2.7/stellarsolver/astrometry/qfits-an/anqfits.c:874:5: note: Null pointer dereference head stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:1157:12: style: Variable 'k' can be declared as pointer to const [constVariablePointer] head stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:1236:18: style: Variable 'k' can be declared as pointer to const [constVariablePointer] head stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:561:25: style: Variable 'k' can be declared as pointer to const [constVariablePointer] head stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:616:21: style: Variable 'k' can be declared as pointer to const [constVariablePointer] head stellarsolver-2.7/stellarsolver/astrometry/qfits-an/qfits_header.c:800:21: style: Variable 'k' can be declared as pointer to const [constVariablePointer] head stellarsolver-2.7/stellarsolver/astrometry/util/permutedsort.c:148:37: style: Parameter 'thunk' can be declared as pointer to const [constParameterPointer] head stellarsolver-2.7/stellarsolver/sep/overlap.h:381:31: style: The scope of the variable 'pt5' can be reduced. [variableScope] head stellarsolver-2.7/stellarsolver/sep/overlap.h:381:36: style: The scope of the variable 'pt6' can be reduced. [variableScope] DONE