* xdisp.c (note_mode_line_or_margin_highlight): Pacify gcc -Wall.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Jun 2012 06:03:19 +0000 (23:03 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Jun 2012 06:03:19 +0000 (23:03 -0700)
src/ChangeLog
src/xdisp.c

index e7a5b3b..7a9ab17 100644 (file)
@@ -1,3 +1,7 @@
+2012-06-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * xdisp.c (note_mode_line_or_margin_highlight): Pacify gcc -Wall.
+
 2012-06-03  Glenn Morris  <rgm@gnu.org>
 
        * xdisp.c (tool-bar-style): Doc fix.
index 06f6bf9..5bb1b6d 100644 (file)
@@ -26967,12 +26967,12 @@ note_mode_line_or_margin_highlight (Lisp_Object window, int x, int y,
   int dx, dy, width, height;
   ptrdiff_t charpos;
   Lisp_Object string, object = Qnil;
-  Lisp_Object pos, help;
+  Lisp_Object pos IF_LINT (= Qnil), help;
 
   Lisp_Object mouse_face;
   int original_x_pixel = x;
   struct glyph * glyph = NULL, * row_start_glyph = NULL;
-  struct glyph_row *row;
+  struct glyph_row *row IF_LINT (= 0);
 
   if (area == ON_MODE_LINE || area == ON_HEADER_LINE)
     {