Warn about unused static data
Use correct node
Print warnings in a consistent format