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
89bc529a
Commit
89bc529a
authored
Mar 16, 2011
by
Paul Eggert
Browse files
* font.c (font_parse_fcname): Remove unused vars.
parent
e663c700
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
src/ChangeLog
src/ChangeLog
+1
-0
src/font.c
src/font.c
+0
-2
No files found.
src/ChangeLog
View file @
89bc529a
...
...
@@ -2,6 +2,7 @@
* font.c (font_unparse_xlfd): Don't mix pointers to variables with
pointers to constants.
(font_parse_fcname): Remove unused vars.
* fns.c (require_nesting_list, require_unwind): Now static.
(Ffillarray): Rename locals to avoid shadowing.
src/font.c
View file @
89bc529a
...
...
@@ -1448,12 +1448,10 @@ font_parse_fcname (char *name, Lisp_Object font)
{
/* Either a fontconfig-style name with no size and property
data, or a GTK-style name. */
Lisp_Object
prop
;
Lisp_Object
weight
=
Qnil
,
slant
=
Qnil
;
Lisp_Object
width
=
Qnil
,
size
=
Qnil
;
char
*
word_start
;
int
word_len
;
int
size_found
=
0
;
/* Scan backwards from the end, looking for a size. */
for
(
p
=
name
+
len
-
1
;
p
>=
name
;
p
--
)
...
...
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