From 6d22edc2d8accdfa1fabdd2722859453cc734990 Mon Sep 17 00:00:00 2001 From: louis Date: Thu, 2 Apr 2015 11:57:19 +0200 Subject: fixed some compiler warnings --- libtemplate/templatefunction.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libtemplate/templatefunction.c') diff --git a/libtemplate/templatefunction.c b/libtemplate/templatefunction.c index 9cd1861..6aa1ddd 100644 --- a/libtemplate/templatefunction.c +++ b/libtemplate/templatefunction.c @@ -316,6 +316,8 @@ bool cTemplateFunction::ReCalculateParameters(void) { case ptRowHeight: SetNumericParameter(type, value); break; + default: + break; } if (!paramValid) { paramsValid = false; @@ -1356,7 +1358,7 @@ int cTemplateFunction::CalculateTextBoxHeight(void) { stringstream sstrTextTall; stringstream sstrTextFull; - for (int i=0; i