emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r106279: Fix bug #9947 with referenci


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106279: Fix bug #9947 with referencing uninitialized variable.
Date: Fri, 04 Nov 2011 00:11:40 +0200
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106279
fixes bug(s): http://debbugs.gnu.org/9947
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Fri 2011-11-04 00:11:40 +0200
message:
  Fix bug #9947 with referencing uninitialized variable.
  
   src/xdisp.c (note_mouse_highlight): Initialize `area'.
modified:
  src/ChangeLog
  src/xdisp.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-11-03 21:56:32 +0000
+++ b/src/ChangeLog     2011-11-03 22:11:40 +0000
@@ -1,5 +1,7 @@
 2011-11-03  Eli Zaretskii  <address@hidden>
 
+       * xdisp.c (note_mouse_highlight): Initialize `area'.  (Bug#9947)
+
        * w32fns.c (unwind_create_frame): If needed, free the glyph
        matrices of the partially constructed frame.  (Bug#9943)
        * xfns.c (unwind_create_frame): Likewise.

=== modified file 'src/xdisp.c'
--- a/src/xdisp.c       2011-11-01 19:19:07 +0000
+++ b/src/xdisp.c       2011-11-03 22:11:40 +0000
@@ -26892,7 +26892,7 @@
       && XFASTINT (w->last_modified) == BUF_MODIFF (b)
       && XFASTINT (w->last_overlay_modified) == BUF_OVERLAY_MODIFF (b))
     {
-      int hpos, vpos, dx, dy, area;
+      int hpos, vpos, dx, dy, area = LAST_AREA;
       EMACS_INT pos;
       struct glyph *glyph;
       Lisp_Object object;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]