From 697438d79300cf93964bcb4a9d7ff5357a7128e0 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Wed, 5 Jun 2019 08:50:32 +0000 Subject: Initialize pointer to nullptr --- searchlib/src/vespa/searchlib/features/attributefeature.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'searchlib') diff --git a/searchlib/src/vespa/searchlib/features/attributefeature.cpp b/searchlib/src/vespa/searchlib/features/attributefeature.cpp index baebf6a8877..394bff7d622 100644 --- a/searchlib/src/vespa/searchlib/features/attributefeature.cpp +++ b/searchlib/src/vespa/searchlib/features/attributefeature.cpp @@ -269,7 +269,8 @@ AttributeBlueprint::AttributeBlueprint() : fef::Blueprint("attribute"), _attrName(), _extra(), - _tensorType(ValueType::double_type()) + _tensorType(ValueType::double_type()), + _attribute(nullptr) { } -- cgit v1.2.3