From 3c88778c6c85d97fb63c41c05304519e0484b07c Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Tue, 12 Mar 2019 20:38:26 -0700 Subject: [PATCH] umount: Fix use of uninitialized variable --- umount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/umount.c b/umount.c index 7f9e174..c6d6d9a 100644 --- a/umount.c +++ b/umount.c @@ -13,7 +13,7 @@ umountall(int flags) { FILE *fp; struct mntent *me; - int ret; + int ret = 0; char **mntdirs = NULL; int len = 0; @@ -83,4 +83,4 @@ main(int argc, char *argv[]) } } return ret; -} \ No newline at end of file +}