mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-16 09:02:06 +00:00
uninitialized variable
This commit is contained in:
parent
cf0e1f72a9
commit
1444584ae7
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ static int io_readline (lua_State *L) {
|
|||
static int g_write (lua_State *L, FILE *f, int arg) {
|
||||
int nargs = lua_gettop(L) - 1;
|
||||
int status = 1;
|
||||
size_t count;
|
||||
size_t count = 0;
|
||||
for (; nargs--; arg++) {
|
||||
if (lua_type(L, arg) == LUA_TNUMBER) {
|
||||
/* optimization: could be done exactly as for strings */
|
||||
|
|
Loading…
Reference in a new issue