Cleaning warnings in wavclean.c