diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-06-18 14:48:37 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-06-18 14:48:37 +0100 |
commit | 24a4b03e8a5acd33f72c5747936e6e96650a8992 (patch) | |
tree | 009326aff7ce2e0b92c47abde2838fff524973d9 /src/libserver/symcache/symcache_item.cxx | |
parent | 6e72d056bd78174c8a16c4316deb44be43af552e (diff) | |
download | rspamd-24a4b03e8a5acd33f72c5747936e6e96650a8992.tar.gz rspamd-24a4b03e8a5acd33f72c5747936e6e96650a8992.zip |
[Rework] Use explicit item status
Diffstat (limited to 'src/libserver/symcache/symcache_item.cxx')
-rw-r--r-- | src/libserver/symcache/symcache_item.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/libserver/symcache/symcache_item.cxx b/src/libserver/symcache/symcache_item.cxx index ac901f5cf..ca81267c4 100644 --- a/src/libserver/symcache/symcache_item.cxx +++ b/src/libserver/symcache/symcache_item.cxx @@ -1,5 +1,5 @@ /* - * Copyright 2023 Vsevolod Stakhov + * Copyright 2024 Vsevolod Stakhov * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -200,12 +200,6 @@ auto cache_item::resolve_parent(const symcache &cache) -> bool if (is_virtual()) { auto &virt = std::get<virtual_item>(specific); - if (virt.get_parent(cache)) { - msg_debug_cache("trying to resolve parent twice for %s", symbol.c_str()); - - return false; - } - return virt.resolve_parent(cache); } else { |