aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert <[email protected]>2011-03-16 01:20:40 -0700
committerPaul Eggert <[email protected]>2011-03-16 01:20:40 -0700
commit89bc529a4c8578046172d80776abcf3fadc0dbe8 (patch)
treeae53563123691d78cd03c10ed32c800461432483
parente663c700e753d901479798b735c2ad6ac74c07d9 (diff)
* font.c (font_parse_fcname): Remove unused vars.
-rw-r--r--src/ChangeLog1
-rw-r--r--src/font.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e9a6d5da5a..ba1bd03265 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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.
diff --git a/src/font.c b/src/font.c
index 3b2ae9c662..16812255e8 100644
--- a/src/font.c
+++ b/src/font.c
@@ -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--)