Skip to content
Snippets Groups Projects
Commit a343603e authored by Fernando Herrero's avatar Fernando Herrero
Browse files

Fix warnings: unused variables

parent d55b658e
No related branches found
No related tags found
No related merge requests found
......@@ -24,8 +24,8 @@ int main(int argc, char *argv[])
char *image=NULL;
std::string new_frame,filename;
std::stringstream text;
uint64_t guid=0x0000b09d01006b6fb5;
// uint64_t guid=0x00B09D01007D6D85LL;
//uint64_t guid=0x0000b09d01006b6fb5;
//uint64_t guid=0x00B09D01007D6D85LL;
std::list<std::string> events;
try
......
......@@ -1615,7 +1615,7 @@ void CFirewireCamera::get_image(cv::Mat &image)
}
char *image_raw=NULL;
this->get_image(&image_raw);
cv::Mat image2 = cv::Mat(this->height,this->width,CV_8UC3,image_raw);
cv::Mat image2 = cv::Mat(this->height,this->width,type,image_raw);
//this can be avoided returning the Mat with the user allocated image data
//but then user is responsible to free both structures with
//delete[] image->data;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment