commit fac52f8: [Minor] Fix build with no hyperscan
Vsevolod Stakhov
vsevolod at highsecure.ru
Wed Oct 2 22:14:06 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-10-02 23:08:28 +0100
URL: https://github.com/rspamd/rspamd/commit/fac52f84a7458063fc6c3aaf6e2430072cae9c02 (HEAD -> master)
[Minor] Fix build with no hyperscan
---
src/libserver/re_cache.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/libserver/re_cache.c b/src/libserver/re_cache.c
index d93cb8f13..edbd141bd 100644
--- a/src/libserver/re_cache.c
+++ b/src/libserver/re_cache.c
@@ -2045,7 +2045,6 @@ rspamd_re_cache_compile_hyperscan (struct rspamd_re_cache *cache,
g_assert (cache_dir != NULL);
#ifndef WITH_HYPERSCAN
- g_set_error (err, rspamd_re_cache_quark (), EINVAL, "hyperscan is disabled");
return -1;
#else
static ev_timer *timer;
More information about the Commits
mailing list