From 5f89487e366ddb30b05f77e17089b22735dc5bfc Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 29 Jul 2021 21:20:26 +0100 Subject: [PATCH] [Minor] Fix else branch --- src/lua/lua_html.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lua/lua_html.cxx b/src/lua/lua_html.cxx index d20de03c0..848bfbdf3 100644 --- a/src/lua/lua_html.cxx +++ b/src/lua/lua_html.cxx @@ -590,6 +590,9 @@ lua_html_tag_get_content (lua_State *L) t->len = ct.size(); t->flags = 0; } + else { + lua_pushnil (L); + } } else { lua_pushnil (L); -- 2.39.5