fixed many warnings from GCC 4.6.1
[profile/ivi/opencv.git] / modules / highgui / test / test_video_io.cpp
index 08cf2aa..029361e 100644 (file)
@@ -230,7 +230,6 @@ void CV_HighGuiTest::VideoTest(const string& dir, int fourcc)
 
     CvVideoWriter* writer = 0;
 
-    int counter = 0;
     for(;;)
     {
         IplImage * img = cvQueryFrame( cap );
@@ -267,7 +266,6 @@ void CV_HighGuiTest::VideoTest(const string& dir, int fourcc)
 
     const double thresDbell = 20;
 
-    counter = 0;
     for(;;)
     {
         IplImage* ipl  = cvQueryFrame( cap );