rspamd/fix_missing_return.patch
Marcus Rueckert 8eb5424728 - added fix_missing_return.patch:
case statement without a default return.
- drop outdated patch comment

- Update to 3.3

OBS-URL: https://build.opensuse.org/package/show/server:mail/rspamd?expand=0&rev=74
2022-10-04 12:30:23 +00:00

13 lines
425 B
Diff

Index: rspamd-3.3/src/libserver/symcache/symcache_item.hxx
===================================================================
--- rspamd-3.3.orig/src/libserver/symcache/symcache_item.hxx
+++ rspamd-3.3/src/libserver/symcache/symcache_item.hxx
@@ -77,6 +77,7 @@ constexpr static auto item_type_to_str(s
case symcache_item_type::VIRTUAL:
return "virtual";
}
+ return "should_not_reach_this_bug_found";
}
/**