Explorar el Código

added missing variable initialization

Sven Sickert hace 8 años
padre
commit
dde54ede0f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      progs/testSemSegObliqueTrees.cpp

+ 1 - 1
progs/testSemSegObliqueTrees.cpp

@@ -70,7 +70,7 @@ int main ( int argc, char **argv )
     std::vector<int> zsizeVec;
     bool run3Dseg = semseg->isMode3D();
     SemSegTools::getDepthVector ( testFiles, zsizeVec, run3Dseg );
-    int depthCount, idx = 0;
+    int depthCount = 0, idx = 0;
     std::vector<std::string> filelist;
     NICE::MultiChannelImageT<int> segresult, gt;