summaryrefslogtreecommitdiff
path: root/com32/lua
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2011-02-06 23:54:02 +0100
committerErwan Velu <erwanaliasr1@gmail.com>2011-02-06 23:54:02 +0100
commitd1a9c28083fc3176bc6ae3908fcd038634337bf7 (patch)
tree121916a3d0c3fba2ea3cc49eb4428ab6907e22ea /com32/lua
parenta200ad6d3b0da02a196fc49ed3c73014aae1b542 (diff)
downloadsyslinux-d1a9c28083fc3176bc6ae3908fcd038634337bf7.tar.gz
lua: Preventing gcc warning on vesa.c
Diffstat (limited to 'com32/lua')
-rw-r--r--com32/lua/src/vesa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/lua/src/vesa.c b/com32/lua/src/vesa.c
index 6f34820a..f09faf3f 100644
--- a/com32/lua/src/vesa.c
+++ b/com32/lua/src/vesa.c
@@ -117,6 +117,8 @@ static int vesa_getmodes(lua_State *L)
static int vesa_setmode(lua_State *L)
{
+ /* Preventing GCC to complain about unused L*/
+ L=L;
openconsole(&dev_rawcon_r, &dev_vesaserial_w);
return 0;