eliminate compiler warnings

This commit is contained in:
Alexander Alekhin
2016-10-07 18:49:52 +03:00
committed by Alexander Alekhin
parent 6cfe4a85f7
commit 5da8d65371
18 changed files with 38 additions and 30 deletions
+2
View File
@@ -97,8 +97,10 @@ static String Legende(MSERParams &pAct)
}
#ifdef HAVE_OPENGL
const int win_width = 800;
const int win_height = 640;
#endif
bool rotateEnable=true;
bool keyPressed=false;
+4
View File
@@ -224,6 +224,8 @@ public:
kbest->setOutlierRejector(outlierRejector);
return kbest;
}
#else
CV_Assert(gpu == false && "CUDA modules are not available");
#endif
Ptr<KeypointBasedMotionEstimator> kbest = makePtr<KeypointBasedMotionEstimator>(est);
@@ -265,6 +267,8 @@ public:
kbest->setOutlierRejector(outlierRejector);
return kbest;
}
#else
CV_Assert(gpu == false && "CUDA modules are not available");
#endif
Ptr<KeypointBasedMotionEstimator> kbest = makePtr<KeypointBasedMotionEstimator>(est);