mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-14 15:21:32 +00:00
- erradicate compiler warning due to possibility of uninitialised variables (switch statement)
This commit is contained in:
parent
6fc723c294
commit
811df504a5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user