aboutsummaryrefslogtreecommitdiffstats
path: root/com32/cmenu
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-05-12 15:53:35 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-05-12 15:53:35 -0700
commit5627a322e59bb5a39e4f2fbb410c448e01081250 (patch)
treed111462c9e2394ebbbfd20f1b5932e25ebe95bae /com32/cmenu
parent2e75aa434158d7df3b862842e54796386c814288 (diff)
downloadsyslinux-5627a322e59bb5a39e4f2fbb410c448e01081250.tar.gz
syslinux-5627a322e59bb5a39e4f2fbb410c448e01081250.tar.xz
syslinux-5627a322e59bb5a39e4f2fbb410c448e01081250.zip
complex.c: fix warnings
Clean up warnings, even though this is sample code. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'com32/cmenu')
-rw-r--r--com32/cmenu/complex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/com32/cmenu/complex.c b/com32/cmenu/complex.c
index 905aaeec..b80005d1 100644
--- a/com32/cmenu/complex.c
+++ b/com32/cmenu/complex.c
@@ -100,6 +100,8 @@ t_handler_return login_handler(t_menusystem * ms, t_menuitem * mi)
int nc, nr;
t_handler_return rv;
+ (void)ms;
+
if (mi->item == loginstr) { /* User wants to login */
if (getscreensize(1, &nr, &nc)) {
/* Unknown screen size? */
@@ -138,6 +140,7 @@ t_handler_return login_handler(t_menusystem * ms, t_menuitem * mi)
}
rv.valid = 0;
rv.refresh = 1;
+ rv.reserved = 0;
return rv;
}
@@ -241,6 +244,7 @@ t_handler_return checkbox_handler(t_menusystem * ms, t_menuitem * mi)
rv.valid = 0;
rv.refresh = 1;
+ rv.reserved = 0;
return rv;
}