From: Andrey Kamaev Date: Thu, 21 Jun 2012 12:44:48 +0000 (+0000) Subject: Fixed few warnings on Linux X-Git-Tag: accepted/2.0/20130307.220821~364^2~573 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5e0160d71160b524a14939a05175aa476c3aacea;p=profile%2Fivi%2Fopencv.git Fixed few warnings on Linux --- diff --git a/modules/highgui/src/cap_gstreamer.cpp b/modules/highgui/src/cap_gstreamer.cpp index fd55435..ecce0b5 100644 --- a/modules/highgui/src/cap_gstreamer.cpp +++ b/modules/highgui/src/cap_gstreamer.cpp @@ -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) { diff --git a/modules/highgui/src/window_gtk.cpp b/modules/highgui/src/window_gtk.cpp index 5beb785..7b9169e 100644 --- a/modules/highgui/src/window_gtk.cpp +++ b/modules/highgui/src/window_gtk.cpp @@ -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;