magic/calma
Darryl L. Miles 95d3e9f85d CalmaRead.c: warning: variable 'libnameptr' is used uninitialized
The local variable 'libnameptr' is used from the 'goto done;' label cleanup
but it may not be initiailzied at the time of the first use of the label.

When evaluating this I also notice the global 'calmaErrorFile' when closed
does not have the handle invalidated.

CalmaRead.c:233:9: warning: variable 'libnameptr' is used uninitialized whenever 'if' condition is true
CalmaRead.c:231:9: warning: variable 'libnameptr' is used uninitialized whenever 'if' condition is true
CalmaRead.c:225:9: warning: variable 'libnameptr' is used uninitialized whenever 'if' condition is true

clang18 -Wall warning cleanup [-Wsometimes-uninitialized]
2024-10-09 21:34:12 -04:00
..
CalmaRdcl.c CalmaRdcl.c: warning: variable 'rtype' is used uninitialized 2024-10-09 21:34:12 -04:00
CalmaRdio.c 35 x warning: suggest parentheses around assignment used as truth value 2024-10-09 21:12:55 -04:00
CalmaRdpt.c CalmaRdpt.c: warning: variable 'rtype' is used uninitialized 2024-10-09 21:34:12 -04:00
CalmaRead.c CalmaRead.c: warning: variable 'libnameptr' is used uninitialized 2024-10-09 21:34:12 -04:00
CalmaWrite.c CalmaWrite.c: warning: variable 'rtype' is used uninitialized 2024-10-09 21:34:12 -04:00
CalmaWriteZ.c CalmaWriteZ.c: warning: variable 'rtype' is used uninitialized 2024-10-09 21:34:12 -04:00
Makefile Implemented native gzip compression/decompression using zlib routines. 2022-05-10 09:19:39 -04:00
calma.h Implemented a new command option "gds magscale" to reinterpret the 2023-07-19 20:33:01 -04:00
calmaInt.h Added checks for GDS scalefactor (DBU) both when reading GDS in 2023-11-21 09:44:16 -05:00