diff --git a/src/parse.cpp b/src/parse.cpp index b0a1c5197..b5adb8388 100644 --- a/src/parse.cpp +++ b/src/parse.cpp @@ -342,18 +342,6 @@ static bool validCommand (std::string& input) return true; } -//////////////////////////////////////////////////////////////////////////////// -static bool validBuiltinCommand (std::string& input) -{ - std::string copy = input; - guess ("command", commands, copy); - if (copy == "") - return false; - - input = copy; - return true; -} - //////////////////////////////////////////////////////////////////////////////// static bool validSubstitution ( std::string& input, @@ -509,7 +497,7 @@ void loadCustomReports (Config& conf) if (i->substr (0, 7) == "report.") { std::string report = i->substr (7, std::string::npos); - unsigned int columns = report.find (".columns"); + size_t columns = report.find (".columns"); if (columns != std::string::npos) { report = report.substr (0, columns);