From 8ed4bae4dd5b2f6d1f6e80d0887c44432d5cd538 Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Sat, 14 Mar 2015 12:50:42 +0300 Subject: [PATCH] Reduce variable scope, make formatting consistent with surrounding code --- modules/core/src/lapack.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/src/lapack.cpp b/modules/core/src/lapack.cpp index 6cfd5baa8..a766e5f2e 100644 --- a/modules/core/src/lapack.cpp +++ b/modules/core/src/lapack.cpp @@ -725,11 +725,11 @@ template static void MatrAXPY( int m, int n, const T1* x, int dx, const T2* a, int inca, T3* y, int dy ) { - int i, j; + int i; for( i = 0; i < m; i++, x += dx, y += dy ) { T2 s = a[i*inca]; - j=0; + int j = 0; #if CV_ENABLE_UNROLLED for(; j <= n - 4; j += 4 ) {