diff options
| author | Juanma Barranquero | 2014-03-26 11:21:55 +0100 |
|---|---|---|
| committer | Juanma Barranquero | 2014-03-26 11:21:55 +0100 |
| commit | 5af73b0fe8975eeb47fb270819b4143c18d71caa (patch) | |
| tree | 94bd8d6b4a3737b0994bd3b9bfd41796af7247a0 /src/w32term.c | |
| parent | c1e6bc0a37980cdedb8bc0454f2b21008fbee0f7 (diff) | |
| download | emacs-5af73b0fe8975eeb47fb270819b4143c18d71caa.tar.gz emacs-5af73b0fe8975eeb47fb270819b4143c18d71caa.zip | |
src/*.c: Silence a few warnings about unused vars and functions.
* src/image.c (x_bitmap_height, x_bitmap_width) [HAVE_X_WINDOWS]:
* src/sysdep.c (reset_sigio) [!DOS_NT]: Declare conditionally.
* src/keyboard.c (read_decoded_event_from_main_queue): #ifdef out
variables on Windows.
* src/w32.c (unsetenv): Remove unused var `retval'.
(emacs_gnutls_pull): Remove unused vars `fdset' and `timeout'.
* src/w32fns.c (Ffile_system_info): Use parenthesis in and/or expression.
* src/w32notify.c (watch_worker): Remove unnecesary var sleep_result.
(start_watching): Remove unused var `thr'.
* src/w32proc.c (sys_spawnve): Comment out unused vars `first', `last'.
(find_child_console): Remove unnecesary var `thread_id'.
* src/w32term.c (w32_read_socket): Comment out unused vars `row', `columns'.
(x_focus_frame): #ifdef 0 unused variable `dpyinfo'.
Diffstat (limited to 'src/w32term.c')
| -rw-r--r-- | src/w32term.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/w32term.c b/src/w32term.c index 15b502b7c1b..52eccc27e81 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -4752,8 +4752,8 @@ w32_read_socket (struct terminal *terminal, | |||
| 4752 | width = rect.right - rect.left; | 4752 | width = rect.right - rect.left; |
| 4753 | text_width = FRAME_PIXEL_TO_TEXT_WIDTH (f, width); | 4753 | text_width = FRAME_PIXEL_TO_TEXT_WIDTH (f, width); |
| 4754 | text_height = FRAME_PIXEL_TO_TEXT_HEIGHT (f, height); | 4754 | text_height = FRAME_PIXEL_TO_TEXT_HEIGHT (f, height); |
| 4755 | rows = FRAME_PIXEL_HEIGHT_TO_TEXT_LINES (f, height); | 4755 | /* rows = FRAME_PIXEL_HEIGHT_TO_TEXT_LINES (f, height); */ |
| 4756 | columns = FRAME_PIXEL_WIDTH_TO_TEXT_COLS (f, width); | 4756 | /* columns = FRAME_PIXEL_WIDTH_TO_TEXT_COLS (f, width); */ |
| 4757 | 4757 | ||
| 4758 | /* TODO: Clip size to the screen dimensions. */ | 4758 | /* TODO: Clip size to the screen dimensions. */ |
| 4759 | 4759 | ||
| @@ -5794,7 +5794,9 @@ x_set_mouse_pixel_position (struct frame *f, int pix_x, int pix_y) | |||
| 5794 | void | 5794 | void |
| 5795 | x_focus_frame (struct frame *f) | 5795 | x_focus_frame (struct frame *f) |
| 5796 | { | 5796 | { |
| 5797 | #if 0 | ||
| 5797 | struct w32_display_info *dpyinfo = &one_w32_display_info; | 5798 | struct w32_display_info *dpyinfo = &one_w32_display_info; |
| 5799 | #endif | ||
| 5798 | 5800 | ||
| 5799 | /* Give input focus to frame. */ | 5801 | /* Give input focus to frame. */ |
| 5800 | block_input (); | 5802 | block_input (); |