mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 17:39:28 +02:00
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]