Remove all warnings except for one (which is caused by debug code)