summaryrefslogtreecommitdiff
path: root/extensions/test/ole/AxTestComponents
diff options
context:
space:
mode:
authorPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-10-02 13:31:52 +0200
committerPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-10-07 15:57:42 +0200
commit5d92f55416a4f7b77841615b83514ea192b612d8 (patch)
tree785cbad8046056bbabee4ae37d6faaf1ef9145b0 /extensions/test/ole/AxTestComponents
parent10e66bac5ce908ffcb869bf33f075c428459a5e2 (diff)
cppcheck scope reduction of var in extensions/...Basic.cpp
Diffstat (limited to 'extensions/test/ole/AxTestComponents')
-rw-r--r--extensions/test/ole/AxTestComponents/Basic.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/test/ole/AxTestComponents/Basic.cpp b/extensions/test/ole/AxTestComponents/Basic.cpp
index 4fa950922801..e6e4c97b0ea9 100644
--- a/extensions/test/ole/AxTestComponents/Basic.cpp
+++ b/extensions/test/ole/AxTestComponents/Basic.cpp
@@ -784,7 +784,6 @@ void CBasic::printMulArray( SAFEARRAY* val, VARTYPE type)
long ubound3;
long length1;
long length2;
- long length3;
char buff[4096];
buff[0]=0;
@@ -843,7 +842,7 @@ void CBasic::printMulArray( SAFEARRAY* val, VARTYPE type)
hr= SafeArrayGetLBound( val, 3, &lbound3);
hr= SafeArrayGetUBound( val, 3, &ubound3);
- length3= ubound3 - lbound3 +1;
+ long length3= ubound3 - lbound3 +1;
char tmpBuf[1024];
tmpBuf[0]=0;
long index[3];