summaryrefslogtreecommitdiff
path: root/src/w32bdf.c
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2001-01-12 23:59:37 +0000
committerJason Rumney <jasonr@gnu.org>2001-01-12 23:59:37 +0000
commit3e04fc50629680d467367efc15b9f7bde64336a4 (patch)
treee7e4866f52beb2481551f47371e6373cfbf1b173 /src/w32bdf.c
parent7c948add4cc8b4a832e1ccb875495c44f0717236 (diff)
downloademacs-3e04fc50629680d467367efc15b9f7bde64336a4.tar.gz
(search_file_line, get_cached_font_char)
(cache_char_offset, create_offscreen_bitmap): Remove unused variables.
Diffstat (limited to 'src/w32bdf.c')
-rw-r--r--src/w32bdf.c7
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;
static int
search_file_line(char *key, char *start, int len, char **val, char **next)
{
- int linelen;
- unsigned char *p, *q;
+ unsigned int linelen;
+ unsigned char *p;
p = memchr(start, '\n', len);
if (!p) return -1;
@@ -321,7 +321,6 @@ static font_char*
get_cached_font_char(bdffont *fontp, int index)
{
font_char *pch, *result;
- int i;
if (!BDF_CODEPOINT_RANGE_COVER_P(index))
return NULL;
@@ -341,7 +340,6 @@ static font_char*
cache_char_offset(bdffont *fontp, int index, unsigned char *offset)
{
font_char *pch, *result;
- int i;
if (!BDF_CODEPOINT_RANGE_COVER_P(index))
return NULL;
@@ -572,7 +570,6 @@ get_bitmap_with_cache(bdffont *fontp, int index)
static HBITMAP
create_offscreen_bitmap(HDC hdc, int width, int height, unsigned char **bitsp)
{
- HBITMAP hBMP;
struct {
BITMAPINFOHEADER h;
RGBQUAD c[2];