Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sun, 15 Oct 2023 21:31:37 UTC Commit: 906b19343227ce8b6ff513d0208b166455d80b9c https://github.com/geany/geany/commit/906b19343227ce8b6ff513d0208b166455d80b...
Log Message: ----------- Remove unused variable
This is not used since 4980a03d50e975f9c64538e8fc8beefd5ea2f8ef.
Modified Paths: -------------- src/editor.c
Modified: src/editor.c 4 lines changed, 0 insertions(+), 4 deletions(-) =================================================================== @@ -702,7 +702,6 @@ static gboolean autocomplete_scope(GeanyEditor *editor, const gchar *root, gsize ScintillaObject *sci = editor->sci; gint pos = sci_get_current_position(editor->sci); gint line = sci_get_current_line(editor->sci) + 1; - gchar typed = sci_get_char_at(sci, pos - 1); gchar brace_char; gchar *name; GeanyFiletype *ft = editor->document->file_type; @@ -722,9 +721,6 @@ static gboolean autocomplete_scope(GeanyEditor *editor, const gchar *root, gsize /* allow for a space between word and operator */ while (pos > 0 && isspace(sci_get_char_at(sci, pos - 1))) pos--; - - if (pos > 0) - typed = sci_get_char_at(sci, pos - 1); }
autocomplete_suffix_len = scope_autocomplete_suffix(sci, ft->lang, pos,
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).