diff --git a/src/Platform/BestResultsExcel.cc b/src/Platform/BestResultsExcel.cc index 45751ad..ae487a6 100644 --- a/src/Platform/BestResultsExcel.cc +++ b/src/Platform/BestResultsExcel.cc @@ -21,11 +21,10 @@ namespace platform { string getColumnName(int colNum) { string columnName = ""; - int modulo; if (colNum == 0) return "A"; while (colNum > 0) { - modulo = colNum % 26; + int modulo = colNum % 26; columnName = char(65 + modulo) + columnName; colNum = (int)((colNum - modulo) / 26); }