[geany/geany] 13ae2e: Fix -Wunused-variable warnings

Jiří Techet git-noreply at geany.org
Sun Apr 10 12:34:15 UTC 2022


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Sun, 10 Apr 2022 12:34:15 UTC
Commit:      13ae2edf2eb372aa1a0dd0fb1aa5f485ff0b5dea
             https://github.com/geany/geany/commit/13ae2edf2eb372aa1a0dd0fb1aa5f485ff0b5dea

Log Message:
-----------
Fix -Wunused-variable warnings


Modified Paths:
--------------
    src/editor.c
    src/keyfile.c
    src/symbols.c

Modified: src/editor.c
1 lines changed, 0 insertions(+), 1 deletions(-)
===================================================================
@@ -708,7 +708,6 @@ static gboolean autocomplete_scope(GeanyEditor *editor, const gchar *root, gsize
 	gboolean scope_sep_typed = FALSE;
 	gboolean ret = FALSE;
 	const gchar *current_scope;
-	const gchar *context_sep = tm_parser_scope_separator(ft->lang);
 	gint autocomplete_suffix_len;
 
 	if (autocomplete_scope_shown)


Modified: src/keyfile.c
3 lines changed, 0 insertions(+), 3 deletions(-)
===================================================================
@@ -1458,9 +1458,6 @@ void configuration_init(void)
 
 void configuration_finalize(void)
 {
-	guint i;
-	StashGroup *group;
-
 	g_signal_handlers_disconnect_by_func(geany_object, G_CALLBACK(document_list_changed_cb), NULL);
 
 	g_ptr_array_free(pref_groups, TRUE);


Modified: src/symbols.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -307,7 +307,7 @@ static gint compare_symbol_lines(gconstpointer a, gconstpointer b)
 static GList *get_tag_list(GeanyDocument *doc, TMTagType tag_types)
 {
 	GList *tag_names = NULL;
-	guint i, j;
+	guint i;
 	gchar **tf_strv;
 
 	g_return_val_if_fail(doc, NULL);



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list