From 0db8eca467b7f70dbe3c23d48e6741ec44d39049 Mon Sep 17 00:00:00 2001 From: mboelen Date: Thu, 10 Sep 2015 09:18:20 +0200 Subject: [PATCH] Count total amount of suggestions and warnings --- include/functions | 2 ++ 1 file changed, 2 insertions(+) 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