From 6fd667e5c97ad8b89cabe2ad7dc6d2d8f4e77891 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 21 Feb 2017 10:59:48 -0500 Subject: [PATCH] mount-tools: silence gcc warning about uninit var --- src/mount/mount-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mount/mount-tool.c b/src/mount/mount-tool.c index 4b3cac8a220..b709166aa91 100644 --- a/src/mount/mount-tool.c +++ b/src/mount/mount-tool.c @@ -1025,7 +1025,7 @@ static int list_devices(void) { j = items + n++; for (c = 0; c < _COLUMN_MAX; c++) { - const char *x; + const char *x = NULL; size_t k; switch (c) { -- 2.47.3