refactoring: hlint and -Wall