Skip to content

Commit bd215fb

Browse files
committed
suppress warning on Jetson TK1
1 parent 9fa90c8 commit bd215fb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/cudaarithm/src/cuda/absdiff_scalar.cu

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,9 @@ void absDiffScalar(const GpuMat& src, cv::Scalar val, bool, GpuMat& dst, const G
119119
};
120120

121121
const int sdepth = src.depth();
122-
const int ddepth = dst.depth();
123122
const int cn = src.channels();
124123

125-
CV_DbgAssert( sdepth <= CV_64F && ddepth <= CV_64F && cn <= 4 && src.type() == dst.type());
124+
CV_DbgAssert( sdepth <= CV_64F && cn <= 4 && src.type() == dst.type());
126125

127126
const func_t func = funcs[sdepth][cn - 1];
128127
if (!func)

0 commit comments

Comments
 (0)