--- popt/popt.o --- cc-1552 c99: WARNING File = popt/popt.c, Line = 369 The variable "rc" is set but never used. int rc; ^
Not a bug. rc is used in several platform specific #ifdefs in this code. Jeremy.
I see that rc is used in the #ifdefs. At the end of the procedure though, rc = execvp(argv[0], (char *const *)argv); return POPT_ERROR_ERRNO; Other places in the code are doing something like, if (rc) return POPT_ERROR_ERRNO; If this can be written like that, it gets rid of the compiler warning.
Created attachment 2004 [details] Change to use rc
Fixed thanks ! Jeremy.