The compiler warning concerns the use of 'goto done;' has cleanup that accesses 'strip' before initialization. While evaluating this I also notice the other 2 variables 'rtile' and 'lkstep' are globals, but their pointers are not invalidated at the time of free. plotPNM.c:821:6: warning: variable 'strip' is used uninitialized whenever 'if' condition is true clang18 -Wall warning cleanup [-Wsometimes-uninitialized] |
||
|---|---|---|
| .. | ||
| Makefile | ||
| plot.h | ||
| plotCmd.c | ||
| plotGremln.c | ||
| plotHP.c | ||
| plotInt.h | ||
| plotMain.c | ||
| plotPNM.c | ||
| plotPS.c | ||
| plotPixels.c | ||
| plotRutils.c | ||
| plotVers.c | ||
| tclplot.c | ||