cli: Be sure pos is initialized

This commit is contained in:
Martchus 2017-10-09 21:35:16 +02:00
parent ec695373cf
commit 30f76b8d59
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ void printProperty(const char *propName, const char *value, const char *suffix,
void printProperty(const char *propName, ElementPosition elementPosition, const char *suffix, Indentation indentation)
{
const char *pos;
const char *pos = nullptr;
switch(elementPosition) {
case ElementPosition::BeforeData:
pos = "before data";