Skip to content

Commit

Permalink
[Minor] Fix build with no hyperscan
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Oct 2, 2019
1 parent 3a4c774 commit fac52f8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/libserver/re_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fac52f8

Please sign in to comment.