aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32term.c
diff options
context:
space:
mode:
authorJuanma Barranquero2015-10-12 21:43:39 +0200
committerJuanma Barranquero2015-10-12 21:43:39 +0200
commit4462823ebfaeda6540dac3cacf03592406bedc05 (patch)
tree4d53345de66385ea44be43ffb9eee834512f802b /src/w32term.c
parent48c38426cb8f799eb41ff6c5baa738918fe1baa6 (diff)
downloademacs-4462823ebfaeda6540dac3cacf03592406bedc05.tar.gz
emacs-4462823ebfaeda6540dac3cacf03592406bedc05.zip
Remove or comment out unused variables
* src/w32fns.c (x_set_mouse_color): Comment out variables cursor, nontext_cursor, mode_cursor, hand_cursor and count. (x_change_tool_bar_height): Remove variable old_text_height. (deliver_wm_chars): Remove variable strip_Alt. (Fw32_shell_execute): Remove variable document_a. (Fw32_frame_geometry): Remove variable fullboth. * src/w32term.c (w32_setup_relief_color): Comment out variable w32_display_info. (w32_horizontal_scroll_bar_handle_click): Remove variables start, end. (w32_read_socket): Comment out variables rows, columns. * src/w32uniscribe.c (uniscribe_check_otf_1): Remove variable rest.
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 82b05bffffe..9dc6b17d1ce 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -1596,7 +1596,9 @@ w32_setup_relief_color (struct frame *f, struct relief *relief, double factor,
1596 unsigned long mask = GCForeground; 1596 unsigned long mask = GCForeground;
1597 COLORREF pixel; 1597 COLORREF pixel;
1598 COLORREF background = di->relief_background; 1598 COLORREF background = di->relief_background;
1599#if 0
1599 struct w32_display_info *dpyinfo = FRAME_DISPLAY_INFO (f); 1600 struct w32_display_info *dpyinfo = FRAME_DISPLAY_INFO (f);
1601#endif
1600 1602
1601 /* TODO: Free colors (if using palette)? */ 1603 /* TODO: Free colors (if using palette)? */
1602 1604
@@ -4350,8 +4352,6 @@ w32_horizontal_scroll_bar_handle_click (struct scroll_bar *bar, W32Msg *msg,
4350 if (dragging) 4352 if (dragging)
4351 { 4353 {
4352 SCROLLINFO si; 4354 SCROLLINFO si;
4353 int start = bar->start;
4354 int end = bar->end;
4355 4355
4356 si.cbSize = sizeof (si); 4356 si.cbSize = sizeof (si);
4357 si.fMask = SIF_POS; 4357 si.fMask = SIF_POS;
@@ -5159,7 +5159,7 @@ w32_read_socket (struct terminal *terminal,
5159 if (f && !FRAME_ICONIFIED_P (f) && msg.msg.wParam != SIZE_MINIMIZED) 5159 if (f && !FRAME_ICONIFIED_P (f) && msg.msg.wParam != SIZE_MINIMIZED)
5160 { 5160 {
5161 RECT rect; 5161 RECT rect;
5162 int rows, columns, width, height, text_width, text_height; 5162 int /* rows, columns, */ width, height, text_width, text_height;
5163 5163
5164 if (GetClientRect (msg.msg.hwnd, &rect) 5164 if (GetClientRect (msg.msg.hwnd, &rect)
5165 /* GetClientRect evidently returns (0, 0, 0, 0) if 5165 /* GetClientRect evidently returns (0, 0, 0, 0) if