[gtksourceview/wip/chergert/vim] fix warning



commit ccf949f203e9fe45324581b6f743a9661b8588d0
Author: Christian Hergert <chergert redhat com>
Date:   Fri Oct 29 12:40:38 2021 -0700

    fix warning

 gtksourceview/vim/gtk-source-vim-command.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gtksourceview/vim/gtk-source-vim-command.c b/gtksourceview/vim/gtk-source-vim-command.c
index 124c7c12..46017c79 100644
--- a/gtksourceview/vim/gtk-source-vim-command.c
+++ b/gtksourceview/vim/gtk-source-vim-command.c
@@ -124,7 +124,6 @@ static void
 gtk_source_vim_command_repeat (GtkSourceVimState *state)
 {
        GtkSourceVimCommand *self = (GtkSourceVimCommand *)state;
-       GtkSourceBuffer *buffer;
        Command command;
        GtkTextIter iter;
        GtkTextIter selection;
@@ -137,7 +136,7 @@ gtk_source_vim_command_repeat (GtkSourceVimState *state)
        if (!(command = g_hash_table_lookup (commands, self->command)))
                return;
 
-       buffer = gtk_source_vim_state_get_buffer (state, &iter, &selection);
+       gtk_source_vim_state_get_buffer (state, &iter, &selection);
 
        if (self->motion)
        {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]