diff --git a/src/shared/format-table.c b/src/shared/format-table.c index 1c28fa73fa..b298019d7c 100644 --- a/src/shared/format-table.c +++ b/src/shared/format-table.c @@ -1763,7 +1763,7 @@ static const char *table_data_format(Table *t, TableData *d, bool avoid_uppercas } case TABLE_MODE: { - _cleanup_free_ char *p; + _cleanup_free_ char *p = NULL; if (d->mode == MODE_INVALID) return "n/a";