From f8f4a96cc158b507c02bd4b937246205bd4e7879 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Fri, 14 Feb 2014 12:12:48 +0100 Subject: [PATCH] mount: siz variable can potentially be used uninitialized Signed-off-by: Hiltjo Posthuma --- mount.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mount.c b/mount.c index cd24480..0ebb453 100644 --- a/mount.c +++ b/mount.c @@ -43,18 +43,15 @@ usage(void) int main(int argc, char *argv[]) { - int i; + int i, validopt, siz = 0, oflag = 0; unsigned long flags = 0; char *types = NULL, *arg = NULL, *p; const char *source; const char *target; struct stat st1, st2; - int validopt; void *data = NULL; struct mntinfo *minfo = NULL; struct option *opt, *tmp; - int siz; - int oflag = 0; ARGBEGIN { case 'B':