Kaynağa Gözat

CachedExamples: unused variables

Sven Sickert 11 yıl önce
ebeveyn
işleme
aee9d03819
1 değiştirilmiş dosya ile 5 ekleme ve 5 silme
  1. 5 5
      cbaselib/CachedExample.cpp

+ 5 - 5
cbaselib/CachedExample.cpp

@@ -269,14 +269,14 @@ bool CachedExample::colorInformationAvailable() const
   else {
     if ( imgfn.size() == 0 ) return false;
 
-    int tmp_xsize, tmp_ysize, tmp_maxval, tmp_nr;
+//     int tmp_xsize, tmp_ysize, tmp_maxval, tmp_nr;
     // refactor: InfImgFile ( imgfn, tmp_xsize, tmp_ysize, tmp_maxval, tmp_nr );
     ImageFile imgf ( imgfn );
     const ImageFile::Header & imgfheader = imgf.getHeader();
-    tmp_xsize = imgfheader.width;
-    tmp_ysize = imgfheader.height;
-    tmp_maxval = 255;
-    tmp_nr = imgfheader.channel;
+//     tmp_xsize = imgfheader.width;
+//     tmp_ysize = imgfheader.height;
+//     tmp_maxval = 255;
+    int tmp_nr = imgfheader.channel;
 
     if ( tmp_nr > 1 ) return true;
     else return false;