Skip to content

Commit 7580db0

Browse files
committed
Merge pull request opencv#8922 from tomoaki0705:fixWarningJetsonTK1
2 parents 26e9b42 + bd215fb commit 7580db0

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)