fix warning.

This commit is contained in:
perping
2013-11-11 15:06:58 +08:00
parent 50579d2524
commit 73b34e3f85
2 changed files with 4 additions and 5 deletions

View File

@@ -792,7 +792,6 @@ namespace cv
return;
}
int depth = src.depth();
if( sdepth <= 0 )
sdepth = CV_32S;
sdepth = CV_MAT_DEPTH(sdepth);