diff --git a/modules/tracking/src/tldModel.cpp b/modules/tracking/src/tldModel.cpp index 442b2fc5d..427aaca29 100644 --- a/modules/tracking/src/tldModel.cpp +++ b/modules/tracking/src/tldModel.cpp @@ -260,7 +260,6 @@ namespace cv Mat_ stdPatches(numOfPatches, 225); double *resultSr = new double[numOfPatches]; double *resultSc = new double[numOfPatches]; - uchar *patchesData = stdPatches.data; for (int i = 0; i < numOfPatches; i++) {