aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2010-11-05 19:52:06 +0200
committerEli Zaretskii2010-11-05 19:52:06 +0200
commit6e8d7c4713addc4943876368b5e37df5ac856589 (patch)
tree1a2e3f549f37eb1229f94c933b8d603f3b8875c4 /src
parent5c0c0f77b0b3af28653a6a8e798f69d132425c0e (diff)
downloademacs-6e8d7c4713addc4943876368b5e37df5ac856589.tar.gz
emacs-6e8d7c4713addc4943876368b5e37df5ac856589.zip
term.c (append_glyphless_glyph, produce_glyphless_glyph): Remove unused variables.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/term.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f2768dcc310..17e4b422454 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12010-11-05 Eli Zaretskii <eliz@gnu.org>
2
3 * term.c (append_glyphless_glyph, produce_glyphless_glyph): Remove
4 unused variables.
5
12010-11-05 Adrian Robert <Adrian.B.Robert@gmail.com> 62010-11-05 Adrian Robert <Adrian.B.Robert@gmail.com>
2 7
3 * nsterm.m (EmacsView-mouseExited:): Correct error in conditional 8 * nsterm.m (EmacsView-mouseExited:): Correct error in conditional
diff --git a/src/term.c b/src/term.c
index 7593f02e607..9bc980a4aa8 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1872,8 +1872,6 @@ static void
1872append_glyphless_glyph (struct it *it, int face_id, char *str) 1872append_glyphless_glyph (struct it *it, int face_id, char *str)
1873{ 1873{
1874 struct glyph *glyph, *end; 1874 struct glyph *glyph, *end;
1875 bidi_type_t bidi_type;
1876 int resolved_level;
1877 int i; 1875 int i;
1878 1876
1879 xassert (it->glyph_row); 1877 xassert (it->glyph_row);
@@ -1951,7 +1949,6 @@ static void
1951produce_glyphless_glyph (struct it *it, int for_no_font, Lisp_Object acronym) 1949produce_glyphless_glyph (struct it *it, int for_no_font, Lisp_Object acronym)
1952{ 1950{
1953 int face_id; 1951 int face_id;
1954 struct face *face;
1955 int width, len; 1952 int width, len;
1956 char buf[9], *str = " "; 1953 char buf[9], *str = " ";
1957 1954
@@ -1989,8 +1986,6 @@ produce_glyphless_glyph (struct it *it, int for_no_font, Lisp_Object acronym)
1989 { 1986 {
1990 if (it->glyphless_method == GLYPHLESS_DISPLAY_ACRONYM) 1987 if (it->glyphless_method == GLYPHLESS_DISPLAY_ACRONYM)
1991 { 1988 {
1992 int i;
1993
1994 if (! STRINGP (acronym) && CHAR_TABLE_P (Vglyphless_char_display)) 1989 if (! STRINGP (acronym) && CHAR_TABLE_P (Vglyphless_char_display))
1995 acronym = CHAR_TABLE_REF (Vglyphless_char_display, it->c); 1990 acronym = CHAR_TABLE_REF (Vglyphless_char_display, it->c);
1996 buf[0] = '['; 1991 buf[0] = '[';