]> git.eshelyaron.com Git - emacs.git/commitdiff
* xfns.c (x_real_positions): Mark locals as initialized.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 16 Apr 2011 15:39:35 +0000 (08:39 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 16 Apr 2011 15:39:35 +0000 (08:39 -0700)
src/ChangeLog
src/xfns.c

index 9a429af4b9e970acf874f0df4e5d7522fca57254..cb3ef75a3aacb38c1d0a2eb4a036721d60d814ef 100644 (file)
@@ -1,5 +1,7 @@
 2011-04-16  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * xfns.c (x_real_positions): Mark locals as initialized.
+
        * xmenu.c (xmenu_show): Don't use uninitialized vars.
 
        * xterm.c: Fix problems found by static analysis with other toolkits.
index aa373f3a82f0b837568551ca30984bc85ceb0165..846ba16d1ba8221ebbb0bd8d9a79a5897ccd6f98 100644 (file)
@@ -427,7 +427,7 @@ x_top_window_to_frame (struct x_display_info *dpyinfo, int wdesc)
 void
 x_real_positions (FRAME_PTR f, int *xptr, int *yptr)
 {
-  int win_x, win_y, outer_x, outer_y;
+  int win_x, win_y, outer_x IF_LINT (= 0), outer_y IF_LINT (= 0);
   int real_x = 0, real_y = 0;
   int had_errors = 0;
   Window win = f->output_data.x->parent_desc;