aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero2013-09-23 05:30:55 +0200
committerJuanma Barranquero2013-09-23 05:30:55 +0200
commitd4a9284f20ab7463ed808b9cde2b98b4e27981a9 (patch)
treea51f72d9b8815682b5b0d8c9e089a9f6c842550d /src
parentc8af4e673ea59b30e5a886397cc5a3426b2f64b0 (diff)
downloademacs-d4a9284f20ab7463ed808b9cde2b98b4e27981a9.tar.gz
emacs-d4a9284f20ab7463ed808b9cde2b98b4e27981a9.zip
src/w32console.c, src/w32term.c: Remove unused variables.
src/w32console.c (initialize_w32_display): Remove unused variable hlinfo. src/w32term.c (w32_scroll_bar_handle_click): Remove unused variable f.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/w32console.c1
-rw-r--r--src/w32term.c1
3 files changed, 5 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9905f61e8da..668ebeb8537 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12013-09-23 Juanma Barranquero <lekktu@gmail.com>
2
3 * w32console.c (initialize_w32_display): Remove unused variable hlinfo.
4 * w32term.c (w32_scroll_bar_handle_click): Remove unused variable f.
5
12013-09-23 Daniel Colascione <dancol@dancol.org> 62013-09-23 Daniel Colascione <dancol@dancol.org>
2 7
3 * alloc.c (USE_VALGRIND): New macro; on by default 8 * alloc.c (USE_VALGRIND): New macro; on by default
diff --git a/src/w32console.c b/src/w32console.c
index 8da1ccf1892..230923934af 100644
--- a/src/w32console.c
+++ b/src/w32console.c
@@ -598,7 +598,6 @@ void
598initialize_w32_display (struct terminal *term, int *width, int *height) 598initialize_w32_display (struct terminal *term, int *width, int *height)
599{ 599{
600 CONSOLE_SCREEN_BUFFER_INFO info; 600 CONSOLE_SCREEN_BUFFER_INFO info;
601 Mouse_HLInfo *hlinfo;
602 601
603 term->rif = 0; /* No window based redisplay on the console. */ 602 term->rif = 0; /* No window based redisplay on the console. */
604 term->cursor_to_hook = w32con_move_cursor; 603 term->cursor_to_hook = w32con_move_cursor;
diff --git a/src/w32term.c b/src/w32term.c
index 3377a8911e2..be8ebfe6ab6 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -3981,7 +3981,6 @@ w32_scroll_bar_handle_click (struct scroll_bar *bar, W32Msg *msg,
3981 3981
3982 { 3982 {
3983 int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, XINT (bar->height)); 3983 int top_range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, XINT (bar->height));
3984 struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window)));
3985 int y; 3984 int y;
3986 int dragging = !NILP (bar->dragging); 3985 int dragging = !NILP (bar->dragging);
3987 SCROLLINFO si; 3986 SCROLLINFO si;