commit f8f4a96cc158b507c02bd4b937246205bd4e7879
parent 892d84ca24c9b8f2c3e4a8f1491423bbd41899ff
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 14 Feb 2014 12:12:48 +0100
mount: siz variable can potentially be used uninitialized
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git 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':