--- popt/popt.o ---
cc-1552 c99: WARNING File = popt/popt.c, Line = 369
The variable "rc" is set but never used.
Not a bug. rc is used in several platform specific #ifdefs in this code.
I see that rc is used in the #ifdefs.
At the end of the procedure though,
rc = execvp(argv, (char *const *)argv);
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 !