commit 9bab5a5: [Minor] Remove deleted code

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Oct 11 12:42:06 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-10-11 13:39:21 +0100
URL: https://github.com/rspamd/rspamd/commit/9bab5a51536779ff51a60698df588f0170621930 (HEAD -> master)

[Minor] Remove deleted code

---
 src/lua/lua_cfg_file.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/lua/lua_cfg_file.c b/src/lua/lua_cfg_file.c
index 23001f8f1..68acdd368 100644
--- a/src/lua/lua_cfg_file.c
+++ b/src/lua/lua_cfg_file.c
@@ -117,10 +117,6 @@ rspamd_lua_post_load_config (struct rspamd_config *cfg)
 				rspamd_strlcpy (tmp, name, keylen + 1);
 				g_ptr_array_add (names, tmp);
 			}
-
-			if (name != NULL && lua_istable (L, -1)) {
-
-			}
 		}
 
 		PTR_ARRAY_FOREACH (names, i, name) {


More information about the Commits mailing list