aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2012-06-03 23:03:19 -0700
committerPaul Eggert2012-06-03 23:03:19 -0700
commitc05cf3902ae658cc8bf413124245c9e1cdcca2d7 (patch)
tree4169b94d43807de35b14c07444273d14c85a84d4
parent7c1898a7b93053cd0431f46f02d82c0a31bfb8bf (diff)
downloademacs-c05cf3902ae658cc8bf413124245c9e1cdcca2d7.tar.gz
emacs-c05cf3902ae658cc8bf413124245c9e1cdcca2d7.zip
* xdisp.c (note_mode_line_or_margin_highlight): Pacify gcc -Wall.
-rw-r--r--src/ChangeLog4
-rw-r--r--src/xdisp.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e7a5b3bcc11..7a9ab1757eb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12012-06-04 Paul Eggert <eggert@cs.ucla.edu>
2
3 * xdisp.c (note_mode_line_or_margin_highlight): Pacify gcc -Wall.
4
12012-06-03 Glenn Morris <rgm@gnu.org> 52012-06-03 Glenn Morris <rgm@gnu.org>
2 6
3 * xdisp.c (tool-bar-style): Doc fix. 7 * xdisp.c (tool-bar-style): Doc fix.
diff --git a/src/xdisp.c b/src/xdisp.c
index 06f6bf987fb..5bb1b6deb9f 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -26967,12 +26967,12 @@ note_mode_line_or_margin_highlight (Lisp_Object window, int x, int y,
26967 int dx, dy, width, height; 26967 int dx, dy, width, height;
26968 ptrdiff_t charpos; 26968 ptrdiff_t charpos;
26969 Lisp_Object string, object = Qnil; 26969 Lisp_Object string, object = Qnil;
26970 Lisp_Object pos, help; 26970 Lisp_Object pos IF_LINT (= Qnil), help;
26971 26971
26972 Lisp_Object mouse_face; 26972 Lisp_Object mouse_face;
26973 int original_x_pixel = x; 26973 int original_x_pixel = x;
26974 struct glyph * glyph = NULL, * row_start_glyph = NULL; 26974 struct glyph * glyph = NULL, * row_start_glyph = NULL;
26975 struct glyph_row *row; 26975 struct glyph_row *row IF_LINT (= 0);
26976 26976
26977 if (area == ON_MODE_LINE || area == ON_HEADER_LINE) 26977 if (area == ON_MODE_LINE || area == ON_HEADER_LINE)
26978 { 26978 {