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 // connect uridecodebin dynamically created source pads to colourconverter
// //
void CvCapture_GStreamer::newPad(GstElement *uridecodebin, void CvCapture_GStreamer::newPad(GstElement * /*uridecodebin*/,
GstPad *pad, GstPad *pad,
gpointer data) gpointer data)
{ {

View File

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