mirror of git://git.suckless.org/ubase
mount: siz variable can potentially be used uninitialized
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
This commit is contained in:
parent
892d84ca24
commit
f8f4a96cc1
5
mount.c
5
mount.c
|
@ -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':
|
||||||
|
|
Loading…
Reference in New Issue