david/ipxe
Archived
1
0

- erradicate compiler warning due to possibility of uninitialised variables (switch statement)

This commit is contained in:
Dan Lynch 2006-06-21 10:38:03 +00:00
parent 6fc723c294
commit 811df504a5

View File

@ -203,6 +203,9 @@ int slk_init ( int fmt ) {
slks->spaces = calloc(2, sizeof(unsigned short));
slks->spaces[0] = 3; slks->spaces[1] = 7;
break;
default:
nblocks = 0; nmaj = 0; nmin = 0;
break;
}
// determine maximum label length and major space size