From: Karel Zak Date: Thu, 2 Feb 2012 11:50:44 +0000 (+0100) Subject: findmnt: initialize rc variable X-Git-Tag: v2.21-rc2~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=762ef0e12ded4ce4ca42a4b56ab40d19d35531ba;p=thirdparty%2Futil-linux.git findmnt: initialize rc variable --- diff --git a/misc-utils/findmnt.c b/misc-utils/findmnt.c index 4a65df990b..9acc6e2539 100644 --- a/misc-utils/findmnt.c +++ b/misc-utils/findmnt.c @@ -513,7 +513,7 @@ static struct libmnt_table *parse_tabfiles(char **files, int tabtype) { struct libmnt_table *tb; - int rc; + int rc = 0; tb = mnt_new_table(); if (!tb) {