mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 12:41:29 +00:00
Silence a code analysis warning
This commit is contained in:
@@ -163,7 +163,7 @@ static lz_stream *lzstream_check(lua_State *L, int index, int state) {
|
||||
|
||||
static int lzstream_tostring(lua_State *L) {
|
||||
lz_stream *s = (lz_stream*)luaL_checkudata(L, 1, ZSTREAMMETA);
|
||||
if (s == NULL) luaL_argerror(L, 1, "bad zlib stream");
|
||||
if (s == NULL) return luaL_argerror(L, 1, "bad zlib stream");
|
||||
|
||||
if (s->state == LZ_NONE) {
|
||||
lua_pushstring(L, "zlib stream (closed)");
|
||||
|
||||
Reference in New Issue
Block a user