diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-05 12:57:58 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-05 12:57:58 +0100 |
commit | 2d0e4061c78be4c7d1fc713a7e2f199f26134658 (patch) | |
tree | eb68a54f825e13e7e1652820a37a7fe8fefeedc6 /src/libserver/fuzzy_backend.c | |
parent | 39fec823f124a82dd6a4bcd06a53a0ff062f4ac0 (diff) | |
download | rspamd-2d0e4061c78be4c7d1fc713a7e2f199f26134658.tar.gz rspamd-2d0e4061c78be4c7d1fc713a7e2f199f26134658.zip |
[Minor] Fix couple of warnings and disable -pedantic mode
Diffstat (limited to 'src/libserver/fuzzy_backend.c')
-rw-r--r-- | src/libserver/fuzzy_backend.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libserver/fuzzy_backend.c b/src/libserver/fuzzy_backend.c index 6f312818a..7023ab575 100644 --- a/src/libserver/fuzzy_backend.c +++ b/src/libserver/fuzzy_backend.c @@ -803,7 +803,6 @@ rspamd_fuzzy_backend_del (struct rspamd_fuzzy_backend *backend, const struct rspamd_fuzzy_cmd *cmd) { int rc = -1; - guint32 flag; if (backend == NULL) { return FALSE; @@ -814,10 +813,6 @@ rspamd_fuzzy_backend_del (struct rspamd_fuzzy_backend *backend, cmd->digest); if (rc == SQLITE_OK) { - /* Check flag */ - flag = sqlite3_column_int64 ( - prepared_stmts[RSPAMD_FUZZY_BACKEND_CHECK].stmt, - 2); rspamd_fuzzy_backend_cleanup_stmt (backend, RSPAMD_FUZZY_BACKEND_CHECK); rc = rspamd_fuzzy_backend_run_stmt (backend, TRUE, |