http://git.etherboot.org
/
people
/
xl0
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fc723c
)
- erradicate compiler warning due to possibility of uninitialised variables (switch...
author
Dan Lynch
<danjlynch@users.sourceforge.net>
Wed, 21 Jun 2006 10:38:03 +0000
(10:38 +0000)
committer
Dan Lynch
<danjlynch@users.sourceforge.net>
Wed, 21 Jun 2006 10:38:03 +0000
(10:38 +0000)
src/hci/mucurses/slk.c
patch
|
blob
|
history
diff --git
a/src/hci/mucurses/slk.c
b/src/hci/mucurses/slk.c
index
41ef9ab
..
d20fd70
100644
(file)
--- a/
src/hci/mucurses/slk.c
+++ b/
src/hci/mucurses/slk.c
@@
-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