The attached patch turns on more extensive warnings in gcc (-W) and then fixes a bunch of unused-arg warnings and one signed/unsigned comparison warning. Non-gcc compilers should be unaffected. This should help to find problems in the future, and will allow other packages (such as rsync) to compile the popt code with -W w/o compiler warnings showing up. ..wayne..