Fixed few warnings on Linux

This commit is contained in:
Andrey Kamaev 2012-06-21 12:44:48 +00:00
parent 952b25f86f
commit 5e0160d711
2 changed files with 5 additions and 1 deletions

View File

@ -274,7 +274,7 @@ void CvCapture_GStreamer::removeFilter(const char *filter)
//
// connect uridecodebin dynamically created source pads to colourconverter
//
void CvCapture_GStreamer::newPad(GstElement *uridecodebin,
void CvCapture_GStreamer::newPad(GstElement * /*uridecodebin*/,
GstPad *pad,
gpointer data)
{

View File

@ -678,6 +678,8 @@ double cvGetOpenGlProp_GTK(const char* name)
result = window->useGl;
__END__;
#else
(void)name;
#endif
return result;
@ -1004,6 +1006,8 @@ static gboolean cvImageWidget_expose(GtkWidget* widget, GdkEventExpose* event, g
drawGl(window);
return TRUE;
}
#else
(void)data;
#endif
CvImageWidget *image_widget;