Skip to content

Commit

Permalink
If avail_in is 0, rc could be unset
Browse files Browse the repository at this point in the history
  • Loading branch information
pquerna committed Jun 5, 2012
1 parent e2c9fb9 commit 2d205a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/luv_zlib.c
Expand Up @@ -42,7 +42,7 @@ static int lz_stream_write(lua_State *L) {

z_t *z;
int flush;
int rc;
int rc = Z_OK;
luaL_Buffer buff;

lua_getfield(L, 1, "stream");
Expand Down

0 comments on commit 2d205a9

Please sign in to comment.