From 9b52b614516a0a7286fee08dddf574e1ec6e6188 Mon Sep 17 00:00:00 2001 From: Maks Naumov Date: Wed, 9 Apr 2014 22:56:19 +0300 Subject: [PATCH] remove unused variable in HOGDescriptor::groupRectangles() --- modules/objdetect/src/hog.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/objdetect/src/hog.cpp b/modules/objdetect/src/hog.cpp index 41744f6d5f..c140f3bf72 100644 --- a/modules/objdetect/src/hog.cpp +++ b/modules/objdetect/src/hog.cpp @@ -2651,7 +2651,6 @@ void HOGDescriptor::groupRectangles(vector& rectList, vector& vector > rrects(nclasses); vector numInClass(nclasses, 0); vector foundWeights(nclasses, DBL_MIN); - vector totalFactorsPerClass(nclasses, 1); int i, j, nlabels = (int)labels.size(); for( i = 0; i < nlabels; i++ )