commit bbd738d: [Minor] Remove repeated strcmp(key, "score")

Anton Yuzhaninov citrin+git at citrin.ru
Wed Feb 9 20:07:05 UTC 2022


Author: Anton Yuzhaninov
Date: 2022-02-08 21:29:03 +0000
URL: https://github.com/rspamd/rspamd/commit/bbd738dbdbda8b16c24082f9d1fa39eff1d15475 (refs/pull/4067/head)

[Minor] Remove repeated strcmp(key, "score")

---
 src/rspamadm/configdump.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/rspamadm/configdump.c b/src/rspamadm/configdump.c
index 99a246538..7ec009636 100644
--- a/src/rspamadm/configdump.c
+++ b/src/rspamadm/configdump.c
@@ -399,7 +399,6 @@ rspamadm_configdump (gint argc, gchar **argv, const struct rspamadm_command *cmd
 							(strcmp(key, "description") != 0) &&
 							(strcmp(key, "disabled") != 0) &&
 							(strcmp(key, "condition") != 0) &&
-							(strcmp(key, "score") != 0) &&
 							(strcmp(key, "one_shot") != 0) &&
 							(strcmp(key, "any_shot") != 0) &&
 							(strcmp(key, "nshots") != 0) &&


More information about the Commits mailing list