diff --git a/include/functions b/include/functions index 39e63826..dac54cc2 100644 --- a/include/functions +++ b/include/functions @@ -1239,6 +1239,7 @@ # Log suggestions to report file ReportSuggestion() { + TOTAL_SUGGESTIONS=`expr ${TOTAL_SUGGESTIONS} + 1` # 2 parameters # report "suggestion[]=$1|$2|" @@ -1248,6 +1249,7 @@ # Log warning to report file ReportWarning() { + TOTAL_WARNINGS=`expr ${TOTAL_WARNINGS} + 1` # 3 parameters # if [ "$2" = "L" -o "$2" = "M" -o "$2" = "H" ]; then