From 0f27f2c886f0b67335ceb7b168402ff78d224ecc Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Mon, 7 Nov 2011 12:04:34 +0100 Subject: [PATCH] removed unused variable --- openems.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/openems.cpp b/openems.cpp index ff4347e..e49bde1 100644 --- a/openems.cpp +++ b/openems.cpp @@ -309,9 +309,8 @@ bool openEMS::SetupProcessing() CSPrimitives* prim = Probes.at(i)->GetPrimitive(nb); if (prim!=NULL) { - bool acc; double bnd[6] = {0,0,0,0,0,0}; - acc = prim->GetBoundBox(bnd,true); + prim->GetBoundBox(bnd,true); start[0]= bnd[0]; start[1]=bnd[2]; start[2]=bnd[4]; @@ -390,9 +389,8 @@ bool openEMS::SetupProcessing() CSPrimitives* prim = DumpProps.at(i)->GetPrimitive(nb); if (prim!=NULL) { - bool acc; double bnd[6] = {0,0,0,0,0,0}; - acc = prim->GetBoundBox(bnd,true); + prim->GetBoundBox(bnd,true); start[0]= bnd[0]; start[1]=bnd[2]; start[2]=bnd[4];