summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@oath.com>2019-06-05 08:50:32 +0000
committerHenning Baldersheim <balder@oath.com>2019-06-05 08:50:32 +0000
commit697438d79300cf93964bcb4a9d7ff5357a7128e0 (patch)
tree494665cc434f472487202a7de4cdcfe64ae24009 /searchlib
parentaf7ac97c71e6c026f76a3b1d5e4f44af218571d5 (diff)
Initialize pointer to nullptr
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/features/attributefeature.cpp3
1 files changed, 2 insertions, 1 deletions
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)
{
}