diff --git a/codes/trmm/trmm.c b/codes/trmm/trmm.c
index c1d287f013508884ce2d39038e358087e2e3b782..cd846548ffdc1e2723e3b7594dc7297fd5036bb2 100644
--- a/codes/trmm/trmm.c
+++ b/codes/trmm/trmm.c
@@ -71,7 +71,7 @@ void calc_error(int m, int n,
 		 DATA_TYPE POLYBENCH_2D(B,M,N,m,n))
 {
     int i;
-    int n = m*n;
+    n = m*n; /* already passed as parameter */
     double err = 0;
     double *accurate = &_binary_data_bin_start;
     double *test = &(B[0][0]);