fix possibly uninitialized variable (Thanks knopwob)
This commit is contained in:
parent
5a567057ab
commit
9ae73b7a2a
|
@ -1573,6 +1573,10 @@ char *con_get_tree_representation(Con *con) {
|
||||||
buf = sstrdup("T[");
|
buf = sstrdup("T[");
|
||||||
else if (con->layout == L_STACKED)
|
else if (con->layout == L_STACKED)
|
||||||
buf = sstrdup("S[");
|
buf = sstrdup("S[");
|
||||||
|
else {
|
||||||
|
ELOG("BUG: Code not updated to account for new layout type\n");
|
||||||
|
assert(false);
|
||||||
|
}
|
||||||
|
|
||||||
/* 2) append representation of children */
|
/* 2) append representation of children */
|
||||||
Con *child;
|
Con *child;
|
||||||
|
|
Loading…
Reference in New Issue