summaryrefslogtreecommitdiff
path: root/src/lbitlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lbitlib.c')
-rw-r--r--src/lbitlib.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lbitlib.c b/src/lbitlib.c
index 7533b85..9637532 100644
--- a/src/lbitlib.c
+++ b/src/lbitlib.c
@@ -1,5 +1,5 @@
/*
-** $Id: lbitlib.c,v 1.16 2011/06/20 16:35:23 roberto Exp $
+** $Id: lbitlib.c,v 1.18 2013/03/19 13:19:12 roberto Exp $
** Standard library for bitwise operations
** See Copyright Notice in lua.h
*/
@@ -147,7 +147,9 @@ static int b_rrot (lua_State *L) {
/*
** get field and width arguments for field-manipulation functions,
-** checking whether they are valid
+** checking whether they are valid.
+** ('luaL_error' called without 'return' to avoid later warnings about
+** 'width' being used uninitialized.)
*/
static int fieldargs (lua_State *L, int farg, int *width) {
int f = luaL_checkint(L, farg);