From 665f575c1adb4148a00f9d62edd48ee9abcc593d Mon Sep 17 00:00:00 2001 From: Blake-Madden <66873089+Blake-Madden@users.noreply.github.com> Date: Sun, 20 Oct 2024 09:11:25 -0400 Subject: [PATCH] Remove unused vars --- src/ui/controls/codeeditor.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ui/controls/codeeditor.cpp b/src/ui/controls/codeeditor.cpp index 81a62fb2..30785c57 100644 --- a/src/ui/controls/codeeditor.cpp +++ b/src/ui/controls/codeeditor.cpp @@ -517,7 +517,6 @@ void CodeEditor::OnCharAdded(wxStyledTextEvent& event) if (lastWord == L"()") { wordStart = WordStartPosition(wordStart - 1, false); - const wxString functionName = GetTextRange(wordStart, GetCurrentPos() - 3); wordStart = WordStartPosition(wordStart - 1, false); const wxString libraryName = GetTextRange(wordStart, GetCurrentPos() - 3); auto libraryPos = m_libraryFunctionsWithReturnTypes.find(libraryName); @@ -615,7 +614,6 @@ void CodeEditor::OnCharAdded(wxStyledTextEvent& event) if (previousWord == L"()") { previousWordStart = WordStartPosition(previousWordStart - 1, false); - const wxString functionName = GetTextRange(previousWordStart, wordStart - 1); previousWordStart = WordStartPosition(previousWordStart - 1, false); const wxString libraryName = GetTextRange(previousWordStart, wordStart - 1); auto libraryPos = m_libraryFunctionsWithReturnTypes.find(libraryName);