cppcheck

reduce the scope of  wav_intname