diff options
| author | Juanma Barranquero | 2011-03-25 16:39:59 +0100 |
|---|---|---|
| committer | Juanma Barranquero | 2011-03-25 16:39:59 +0100 |
| commit | 0f4a96b5d7de244a7be6fc98f6a66d3d1e6a7569 (patch) | |
| tree | d378db1428c33eb26bcc78997af9f8db54f8c521 /src/image.c | |
| parent | f9e771e246a981bb3d37c65beb89d18bb407e0cd (diff) | |
| download | emacs-0f4a96b5d7de244a7be6fc98f6a66d3d1e6a7569.tar.gz emacs-0f4a96b5d7de244a7be6fc98f6a66d3d1e6a7569.zip | |
nt/*.c, src/*.c: Remove unused variables.
* nt/addpm.c (main): Remove unused variable `retval'.
* nt/preprep.c (main): Remove unused variable `ptr'.
* src/dispextern.h (glyph_matric): Use #if GLYPH_DEBUG, not #ifdef.
* src/fileio.c (check_executable) [DOS_NT]: Remove unused variables `len'
and `suffix'.
(Fset_file_selinux_context) [HAVE_LIBSELINUX]: Move here declaration
of variables specific to SELinux and computation of `encoded_absname'.
* src/image.c (XPutPixel): Remove unused variable `height'.
* src/keyboard.c (make_lispy_event): Remove unused variable `hpos'.
* src/unexw32.c (get_section_info): Remove unused variable `section'.
* src/w32.c (stat): Remove unused variables `drive_root' and `devtype'.
(system_process_attributes): Remove unused variable `sess'.
(sys_read): Remove unused variable `err'.
* src/w32fns.c (top): Wrap variables with #if GLYPH_DEBUG, not #ifdef.
(w32_wnd_proc): Remove unused variable `isdead'.
(unwind_create_frame): Use #if GLYPH_DEBUG, not #ifdef.
(Fx_server_max_request_size): Remove unused variable `dpyinfo'.
(x_create_tip_frame): Remove unused variable `tem'.
* src/w32inevt.c (w32_console_read_socket): Remove unused variable `no_events'.
* src/w32term.c (x_draw_composite_glyph_string_foreground):
Remove unused variable `width'.
Diffstat (limited to 'src/image.c')
| -rw-r--r-- | src/image.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c index 7584f9bb2c0..04c6b1a2ad5 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -4485,7 +4485,6 @@ static void | |||
| 4485 | XPutPixel (XImagePtr ximg, int x, int y, COLORREF color) | 4485 | XPutPixel (XImagePtr ximg, int x, int y, COLORREF color) |
| 4486 | { | 4486 | { |
| 4487 | int width = ximg->info.bmiHeader.biWidth; | 4487 | int width = ximg->info.bmiHeader.biWidth; |
| 4488 | int height = ximg->info.bmiHeader.biHeight; | ||
| 4489 | unsigned char * pixel; | 4488 | unsigned char * pixel; |
| 4490 | 4489 | ||
| 4491 | /* True color images. */ | 4490 | /* True color images. */ |