From a19cc6cb64234ea22fc587480a47b903a53c993c Mon Sep 17 00:00:00 2001 From: Piotr Miecielica Date: Fri, 22 Nov 2013 13:33:33 +0100 Subject: [PATCH] Added pointer initialization --- modules/objdetect/src/lsvmparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/objdetect/src/lsvmparser.cpp b/modules/objdetect/src/lsvmparser.cpp index 34dfae1e26..52c4d825d1 100644 --- a/modules/objdetect/src/lsvmparser.cpp +++ b/modules/objdetect/src/lsvmparser.cpp @@ -790,7 +790,7 @@ int loadModel( float *scoreThreshold){ int last; int max; - int *comp; + int *comp = NULL; int count; int i; int err; -- GitLab