Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
486a1063
Commit
486a1063
authored
Jan 12, 2001
by
Jason Rumney
Browse files
(search_file_line, get_cached_font_char)
(cache_char_offset, create_offscreen_bitmap): Remove unused variables.
parent
a1bcc85a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
src/w32bdf.c
src/w32bdf.c
+2
-5
No files found.
src/w32bdf.c
View file @
486a1063
...
...
@@ -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
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment