From: Vsevolod Stakhov Date: Wed, 2 Oct 2019 22:08:28 +0000 (+0100) Subject: [Minor] Fix build with no hyperscan X-Git-Tag: 2.0~80 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fac52f84a7458063fc6c3aaf6e2430072cae9c02;p=rspamd.git [Minor] Fix build with no hyperscan --- 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;