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.
This commit is contained in:
Juanma Barranquero 2013-09-23 05:30:55 +02:00
parent c8af4e673e
commit d4a9284f20
3 changed files with 5 additions and 2 deletions

View 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

View 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;

View 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;