Commit 728b8253 authored by Beat Küng's avatar Beat Küng

seeds sample: fix compiler warnings

the exact warnings are:
/builds/precommit-contrib_macosx/opencv_contrib/modules/ximgproc/samples/seeds.cpp:32:6: warning: no previous prototype for function 'trackbarChanged' [-Wmissing-prototypes]
/builds/precommit-contrib_macosx/opencv_contrib/modules/ximgproc/samples/seeds.cpp:32:26: warning: unused parameter 'pos' [-Wunused-parameter]
/builds/precommit-contrib_macosx/opencv_contrib/modules/ximgproc/samples/seeds.cpp:32:37: warning: unused parameter 'data' [-Wunused-parameter]
parent 84ae22c7
......@@ -13,6 +13,8 @@ using namespace cv;
using namespace cv::ximgproc;
using namespace std;
void trackbarChanged(int pos, void* data);
static void help()
{
cout << "\nThis program demonstrates SEEDS superpixels using OpenCV class SuperpixelSEEDS\n"
......@@ -29,7 +31,7 @@ static const char* window_name = "SEEDS Superpixels";
static bool init = false;
void trackbarChanged(int pos, void* data)
void trackbarChanged(int, void*)
{
init = false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment