diff options
| author | Jason Rumney | 2001-01-12 23:59:37 +0000 |
|---|---|---|
| committer | Jason Rumney | 2001-01-12 23:59:37 +0000 |
| commit | 486a1063b9f90377ad11c80c2d69c5da5bfc65fe (patch) | |
| tree | 69935c20ad26655c9638c08208211c0a09c56b83 /src | |
| parent | a1bcc85a38daf4c90dc91e44481819b59cb4c6ee (diff) | |
| download | emacs-486a1063b9f90377ad11c80c2d69c5da5bfc65fe.tar.gz emacs-486a1063b9f90377ad11c80c2d69c5da5bfc65fe.zip | |
(search_file_line, get_cached_font_char)
(cache_char_offset, create_offscreen_bitmap): Remove unused variables.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32bdf.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/w32bdf.c b/src/w32bdf.c index 95ae6143b9d..912728bec75 100644 --- a/src/w32bdf.c +++ b/src/w32bdf.c | |||
| @@ -55,8 +55,8 @@ cache_bitmap *pcached_bitmap_latest = cached_bitmap_slots; | |||
| 55 | static int | 55 | static int |
| 56 | search_file_line(char *key, char *start, int len, char **val, char **next) | 56 | search_file_line(char *key, char *start, int len, char **val, char **next) |
| 57 | { | 57 | { |
| 58 | int linelen; | 58 | unsigned int linelen; |
| 59 | unsigned char *p, *q; | 59 | unsigned char *p; |
| 60 | 60 | ||
| 61 | p = memchr(start, '\n', len); | 61 | p = memchr(start, '\n', len); |
| 62 | if (!p) return -1; | 62 | if (!p) return -1; |
| @@ -321,7 +321,6 @@ static font_char* | |||
| 321 | get_cached_font_char(bdffont *fontp, int index) | 321 | get_cached_font_char(bdffont *fontp, int index) |
| 322 | { | 322 | { |
| 323 | font_char *pch, *result; | 323 | font_char *pch, *result; |
| 324 | int i; | ||
| 325 | 324 | ||
| 326 | if (!BDF_CODEPOINT_RANGE_COVER_P(index)) | 325 | if (!BDF_CODEPOINT_RANGE_COVER_P(index)) |
| 327 | return NULL; | 326 | return NULL; |
| @@ -341,7 +340,6 @@ static font_char* | |||
| 341 | cache_char_offset(bdffont *fontp, int index, unsigned char *offset) | 340 | cache_char_offset(bdffont *fontp, int index, unsigned char *offset) |
| 342 | { | 341 | { |
| 343 | font_char *pch, *result; | 342 | font_char *pch, *result; |
| 344 | int i; | ||
| 345 | 343 | ||
| 346 | if (!BDF_CODEPOINT_RANGE_COVER_P(index)) | 344 | if (!BDF_CODEPOINT_RANGE_COVER_P(index)) |
| 347 | return NULL; | 345 | return NULL; |
| @@ -572,7 +570,6 @@ get_bitmap_with_cache(bdffont *fontp, int index) | |||
| 572 | static HBITMAP | 570 | static HBITMAP |
| 573 | create_offscreen_bitmap(HDC hdc, int width, int height, unsigned char **bitsp) | 571 | create_offscreen_bitmap(HDC hdc, int width, int height, unsigned char **bitsp) |
| 574 | { | 572 | { |
| 575 | HBITMAP hBMP; | ||
| 576 | struct { | 573 | struct { |
| 577 | BITMAPINFOHEADER h; | 574 | BITMAPINFOHEADER h; |
| 578 | RGBQUAD c[2]; | 575 | RGBQUAD c[2]; |