From: Zbigniew Jędrzejewski-Szmek Date: Tue, 21 Feb 2017 15:59:48 +0000 (-0500) Subject: mount-tools: silence gcc warning about uninit var X-Git-Tag: v233~48^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6fd667e5c97ad8b89cabe2ad7dc6d2d8f4e77891;p=thirdparty%2Fsystemd.git mount-tools: silence gcc warning about uninit var --- 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) {