summaryrefslogtreecommitdiff
path: root/src/mount
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-02-21 10:59:48 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-02-21 11:15:50 -0500
commit6fd667e5c97ad8b89cabe2ad7dc6d2d8f4e77891 (patch)
tree35856fb55f4294b1532ad44b4d7742fdce55cf69 /src/mount
parenta93236aa64626bb97a5b8e48306a8525633b9c3b (diff)
mount-tools: silence gcc warning about uninit var
Diffstat (limited to 'src/mount')
-rw-r--r--src/mount/mount-tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mount/mount-tool.c b/src/mount/mount-tool.c
index 4b3cac8a22..b709166aa9 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) {