[vte] emulation: Remove unused variable



commit b450109777c6e61b318056242d835de01c659233
Author: Christian Persch <chpe gnome org>
Date:   Sat Nov 28 22:58:33 2015 +0100

    emulation: Remove unused variable
    
    Leftover from commit 4ab677d4d8d273a969093b29b375c8054416df2e.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=741402

 src/vteseq.cc |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/vteseq.cc b/src/vteseq.cc
index c9de598..bbe70c0 100644
--- a/src/vteseq.cc
+++ b/src/vteseq.cc
@@ -2855,7 +2855,6 @@ vte_sequence_handler_window_manipulation (VteTerminal *terminal, GValueArray *pa
        char buf[128];
        long param, arg1, arg2;
        gint width, height;
-       guint i;
 
        widget = &terminal->widget;
 
@@ -2900,7 +2899,6 @@ vte_sequence_handler_window_manipulation (VteTerminal *terminal, GValueArray *pa
                                          "%ld,%ld.\n", arg1, arg2);
                         vte_terminal_emit_move_window(terminal,
                                                       arg1, arg2);
-                        i += 2;
                 }
                 break;
         case 4:
@@ -2914,7 +2912,6 @@ vte_sequence_handler_window_manipulation (VteTerminal *terminal, GValueArray *pa
                         vte_terminal_emit_resize_window(terminal,
                                                         arg2 / terminal->pvt->char_width,
                                                         arg1 / terminal->pvt->char_height);
-                        i += 2;
                 }
                 break;
         case 5:
@@ -2938,7 +2935,6 @@ vte_sequence_handler_window_manipulation (VteTerminal *terminal, GValueArray *pa
                                          "(to %ld columns, %ld rows).\n",
                                          arg2, arg1);
                         vte_terminal_emit_resize_window(terminal, arg2, arg1);
-                        i += 2;
                 }
                 break;
         case 9:
@@ -2956,7 +2952,6 @@ vte_sequence_handler_window_manipulation (VteTerminal *terminal, GValueArray *pa
                 default:
                         break;
                 }
-                i++;
                 break;
         case 11:
                 /* If we're unmapped, then we're iconified. */


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