From: Yu Watanabe Date: Mon, 29 Jul 2019 14:30:32 +0000 (+0900) Subject: table: add missing NULL initialization X-Git-Tag: v243-rc1~12^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=57894dc98977dbe33734d5b7319bd7a89ce809d1;p=thirdparty%2Fsystemd.git table: add missing NULL initialization --- diff --git a/src/shared/format-table.c b/src/shared/format-table.c index 9813f4ba886..44937e1c913 100644 --- a/src/shared/format-table.c +++ b/src/shared/format-table.c @@ -1339,7 +1339,7 @@ static const char *table_data_format(TableData *d) { } case TABLE_IFINDEX: { - _cleanup_free_ char *p; + _cleanup_free_ char *p = NULL; char name[IF_NAMESIZE + 1]; if (format_ifname(d->ifindex, name)) {