Strip whitespace from static warning line