Remove unused variable

pull/2947/head
vbystricky 11 years ago
parent eb8366bb0a
commit 7fe7facfee
  1. 2
      modules/highgui/src/cap_dshow.cpp
  2. 1
      modules/highgui/src/cap_dshow.hpp

@ -3106,7 +3106,6 @@ videoInput VideoCapture_DShow::g_VI;
VideoCapture_DShow::VideoCapture_DShow(int index)
: m_index(-1)
, m_frame(0)
, m_width(-1)
, m_height(-1)
, m_fourcc(-1)
@ -3311,7 +3310,6 @@ void VideoCapture_DShow::close()
{
g_VI.stopDevice(m_index);
m_index = -1;
cvReleaseImage(&m_frame);
}
m_widthSet = m_heightSet = m_width = m_height = -1;
}

@ -39,7 +39,6 @@ protected:
int m_index, m_width, m_height, m_fourcc;
int m_widthSet, m_heightSet;
IplImage* m_frame;
static videoInput g_VI;
};

Loading…
Cancel
Save