]> git.eshelyaron.com Git - emacs.git/commitdiff
src/w32console.c, src/w32term.c: Remove unused variables.
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 23 Sep 2013 03:30:55 +0000 (05:30 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 23 Sep 2013 03:30:55 +0000 (05:30 +0200)
src/w32console.c (initialize_w32_display): Remove unused variable hlinfo.
src/w32term.c (w32_scroll_bar_handle_click): Remove unused variable f.

src/ChangeLog
src/w32console.c
src/w32term.c

index 9905f61e8daf9c56e85a784770cbd0524510ef6a..668ebeb8537f2cd073fe588a56783a803f06d6fc 100644 (file)
@@ -1,3 +1,8 @@
+2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
+
+       * w32console.c (initialize_w32_display): Remove unused variable hlinfo.
+       * w32term.c (w32_scroll_bar_handle_click): Remove unused variable f.
+
 2013-09-23  Daniel Colascione  <dancol@dancol.org>
 
        * alloc.c (USE_VALGRIND): New macro; on by default
index 8da1ccf1892dd939b91d8e46b7b1f71697cd9f77..230923934af56868b7f91cb176607a3f53f4d033 100644 (file)
@@ -598,7 +598,6 @@ void
 initialize_w32_display (struct terminal *term, int *width, int *height)
 {
   CONSOLE_SCREEN_BUFFER_INFO   info;
-  Mouse_HLInfo *hlinfo;
 
   term->rif = 0; /* No window based redisplay on the console.  */
   term->cursor_to_hook         = w32con_move_cursor;
index 3377a8911e22c9c1b5e9f064f6aab3d54a0cb524..be8ebfe6ab69e6205836954c597c6c74559de78e 100644 (file)
@@ -3981,7 +3981,6 @@ w32_scroll_bar_handle_click (struct scroll_bar *bar, W32Msg *msg,
 
   {
     int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, XINT (bar->height));
-    struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window)));
     int y;
     int dragging = !NILP (bar->dragging);
     SCROLLINFO si;