mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 05:47:45 +00:00
Add some code to convince foolish compilers variables have been initialized
This commit is contained in:
parent
faf4a8deba
commit
19d868b218
@ -1095,6 +1095,11 @@ struct lease *parse_lease_statement (cfile, bc)
|
||||
seenbit = 4;
|
||||
lease.timestamp = t;
|
||||
break;
|
||||
|
||||
default:
|
||||
/*NOTREACHED*/
|
||||
seenbit = 0;
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
switch (token) {
|
||||
@ -1168,6 +1173,8 @@ struct lease *parse_lease_statement (cfile, bc)
|
||||
if (token != SEMI)
|
||||
skip_to_semi (cfile);
|
||||
longjmp (jdref (bc), 1);
|
||||
/*NOTREACHED*/
|
||||
seenbit = 0;
|
||||
}
|
||||
}
|
||||
if (seenmask & seenbit) {
|
||||
|
@ -1095,6 +1095,11 @@ struct lease *parse_lease_statement (cfile, bc)
|
||||
seenbit = 4;
|
||||
lease.timestamp = t;
|
||||
break;
|
||||
|
||||
default:
|
||||
/*NOTREACHED*/
|
||||
seenbit = 0;
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
switch (token) {
|
||||
@ -1168,6 +1173,8 @@ struct lease *parse_lease_statement (cfile, bc)
|
||||
if (token != SEMI)
|
||||
skip_to_semi (cfile);
|
||||
longjmp (jdref (bc), 1);
|
||||
/*NOTREACHED*/
|
||||
seenbit = 0;
|
||||
}
|
||||
}
|
||||
if (seenmask & seenbit) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user