shared/format-table: add cosmetic initialization

p is unconditionally initialized below, but our coding style says that
initialization should be added anyway.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-11-23 16:20:14 +01:00
parent 64ea42e975
commit b2d781ec86
+1 -1
View File
@@ -1640,7 +1640,7 @@ static const char *table_data_format(Table *t, TableData *d, bool avoid_uppercas
}
case TABLE_UINT64_HEX: {
_cleanup_free_ char *p;
_cleanup_free_ char *p = NULL;
p = new(char, 16 + 1);
if (!p)