mount: siz variable can potentially be used uninitialized

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
This commit is contained in:
Hiltjo Posthuma 2014-02-14 12:12:48 +01:00 committed by sin
parent 892d84ca24
commit f8f4a96cc1
1 changed files with 1 additions and 4 deletions

View File

@ -43,18 +43,15 @@ usage(void)
int int
main(int argc, char *argv[]) main(int argc, char *argv[])
{ {
int i; int i, validopt, siz = 0, oflag = 0;
unsigned long flags = 0; unsigned long flags = 0;
char *types = NULL, *arg = NULL, *p; char *types = NULL, *arg = NULL, *p;
const char *source; const char *source;
const char *target; const char *target;
struct stat st1, st2; struct stat st1, st2;
int validopt;
void *data = NULL; void *data = NULL;
struct mntinfo *minfo = NULL; struct mntinfo *minfo = NULL;
struct option *opt, *tmp; struct option *opt, *tmp;
int siz;
int oflag = 0;
ARGBEGIN { ARGBEGIN {
case 'B': case 'B':