removed compilation warning "not used variable test"

git-svn-id: http://find-object.googlecode.com/svn/trunk/find_object@338 620bd6b2-0a58-f614-fd9a-1bd335dccda9
This commit is contained in:
matlabbe 2014-06-19 13:45:04 +00:00
parent 8dfe9622b0
commit 580aa6c6fc

View File

@ -38,7 +38,6 @@ cv::Mat cvtQImage2CvMat(const QImage & image)
int channels = 3; int channels = 3;
cvImage = cv::Mat(image.height(), image.width(), CV_8UC3); cvImage = cv::Mat(image.height(), image.width(), CV_8UC3);
unsigned char * data = cvImage.data; unsigned char * data = cvImage.data;
const IplImage test = cvImage;
for(int y = 0; y < image.height(); ++y, data+=cvImage.cols*cvImage.elemSize()) for(int y = 0; y < image.height(); ++y, data+=cvImage.cols*cvImage.elemSize())
{ {
for(int x = 0; x < image.width(); ++x) for(int x = 0; x < image.width(); ++x)