2
0
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:
Ted Lemon 1996-05-25 18:37:01 +00:00
parent faf4a8deba
commit 19d868b218
2 changed files with 14 additions and 0 deletions

View File

@ -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) {

View File

@ -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) {