cli: Be sure pos is initialized
This commit is contained in:
parent
ec695373cf
commit
30f76b8d59
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue