summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2004-10-09 21:58:33 +0000
committerjbj <devnull@localhost>2004-10-09 21:58:33 +0000
commitd1a74696d65c7904c9b2a4b29e356ecf7947c067 (patch)
treeb263b5a6111242f26516ad4fd7915e9d99be90f4 /lua
parent3c792a32c1cc8547ea858613af64fde54cbdfc8b (diff)
downloadlibrpm-tizen-d1a74696d65c7904c9b2a4b29e356ecf7947c067.tar.gz
librpm-tizen-d1a74696d65c7904c9b2a4b29e356ecf7947c067.tar.bz2
librpm-tizen-d1a74696d65c7904c9b2a4b29e356ecf7947c067.zip
Doxygen and cpp nit picks.
CVS patchset: 7443 CVS date: 2004/10/09 21:58:33
Diffstat (limited to 'lua')
-rw-r--r--lua/local/linit.c1
-rw-r--r--lua/local/lrexlib.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/lua/local/linit.c b/lua/local/linit.c
index 79bfeac07..2278f1389 100644
--- a/lua/local/linit.c
+++ b/lua/local/linit.c
@@ -4,4 +4,5 @@
LUA_API int luaopen_init(lua_State *L)
{
#include "linit.lch"
+ return 0;
}
diff --git a/lua/local/lrexlib.c b/lua/local/lrexlib.c
index 8486330c8..46bfa4dbf 100644
--- a/lua/local/lrexlib.c
+++ b/lua/local/lrexlib.c
@@ -127,7 +127,7 @@ static int rex_gmatch(lua_State *L)
#ifdef REG_BASIC
size_t len;
#endif
- size_t ncapt, nmatch = 0, maxmatch, limit = 0;
+ size_t ncapt, nmatch = 0, maxmatch = 0, limit = 0;
const char *text;
regex_t *pr;
regmatch_t *match;