mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:27:45 +00:00
LibIMAP: Remove unused Variant option
This commit is contained in:
parent
12247fe9b4
commit
9265595e42
2 changed files with 1 additions and 2 deletions
|
@ -138,7 +138,6 @@ String serialize_astring(StringView string)
|
||||||
String SearchKey::serialize() const
|
String SearchKey::serialize() const
|
||||||
{
|
{
|
||||||
return data.visit(
|
return data.visit(
|
||||||
[&](Empty const&) { VERIFY_NOT_REACHED(); return String("The compiler complains if you remove this."); },
|
|
||||||
[&](All const&) { return String("ALL"); },
|
[&](All const&) { return String("ALL"); },
|
||||||
[&](Answered const&) { return String("ANSWERED"); },
|
[&](Answered const&) { return String("ANSWERED"); },
|
||||||
[&](Bcc const& x) { return String::formatted("BCC {}", serialize_astring(x.bcc)); },
|
[&](Bcc const& x) { return String::formatted("BCC {}", serialize_astring(x.bcc)); },
|
||||||
|
|
|
@ -460,7 +460,7 @@ public:
|
||||||
struct Unseen { };
|
struct Unseen { };
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
Variant<Empty, All, Answered, Bcc, Cc, Deleted, Draft, From, Header, Keyword,
|
Variant<All, Answered, Bcc, Cc, Deleted, Draft, From, Header, Keyword,
|
||||||
Larger, New, Not, Old, On, Or, Recent, SearchKeys, Seen, SentBefore, SentOn,
|
Larger, New, Not, Old, On, Or, Recent, SearchKeys, Seen, SentBefore, SentOn,
|
||||||
SentSince, SequenceSet, Since, Smaller, Subject, Text, To, UID, Unanswered,
|
SentSince, SequenceSet, Since, Smaller, Subject, Text, To, UID, Unanswered,
|
||||||
Undeleted, Undraft, Unkeyword, Unseen>
|
Undeleted, Undraft, Unkeyword, Unseen>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue