fixed some warnings under linux

This commit is contained in:
Vladislav Vinogradov
2010-12-22 07:30:21 +00:00
parent 0cd587ee34
commit 8190837dd4
4 changed files with 8 additions and 11 deletions

View File

@@ -577,7 +577,7 @@ void cv::gpu::matchTemplate(const GpuMat& image, const GpuMat& templ, GpuMat& re
static const Caller callers32F[] = { ::matchTemplate_SQDIFF_32F, 0,
::matchTemplate_CCORR_32F, 0, 0, 0 };
const Caller* callers;
const Caller* callers = 0;
switch (image.depth())
{
case CV_8U: callers = callers8U; break;