TSAGE: Remove useless variables in sound code