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

@@ -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;