Skip to content

Commit

Permalink
Delete unused variable in TextCheckingHelper.
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=270653
rdar://124223882

Reviewed by Aditya Keerthi.

* Source/WebCore/editing/TextCheckingHelper.cpp:
(WebCore::TextCheckingHelper::findFirstMisspelledWordOrUngrammaticalPhrase const):

Canonical link: https://commits.webkit.org/275822@main
  • Loading branch information
megangardner committed Mar 8, 2024
1 parent 6cffe2c commit 1f7eb40
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Source/WebCore/editing/TextCheckingHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ auto TextCheckingHelper::findFirstMisspelledWordOrUngrammaticalPhrase(bool check
GrammarDetail grammarDetail;

String misspelledWord;
std::optional<SimpleRange> misspelledWordRange;
String badGrammarPhrase;

// Expand the search range to encompass entire paragraphs, since text checking needs that much context.
Expand Down

0 comments on commit 1f7eb40

Please sign in to comment.