diff options
| author | Paul Eggert | 2011-04-16 08:39:35 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-16 08:39:35 -0700 |
| commit | 8ffc96f57165b07ae661ac4b71e18431d792d6cd (patch) | |
| tree | e4d299a476f5a051a2ad78a09f263a6255d9ab24 /src | |
| parent | eef9bc799ad1f9c0df0cc23669496d9fbcc326ca (diff) | |
| download | emacs-8ffc96f57165b07ae661ac4b71e18431d792d6cd.tar.gz emacs-8ffc96f57165b07ae661ac4b71e18431d792d6cd.zip | |
* xfns.c (x_real_positions): Mark locals as initialized.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/xfns.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 9a429af4b9e..cb3ef75a3aa 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-04-16 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-04-16 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * xfns.c (x_real_positions): Mark locals as initialized. | ||
| 4 | |||
| 3 | * xmenu.c (xmenu_show): Don't use uninitialized vars. | 5 | * xmenu.c (xmenu_show): Don't use uninitialized vars. |
| 4 | 6 | ||
| 5 | * xterm.c: Fix problems found by static analysis with other toolkits. | 7 | * xterm.c: Fix problems found by static analysis with other toolkits. |
diff --git a/src/xfns.c b/src/xfns.c index aa373f3a82f..846ba16d1ba 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -427,7 +427,7 @@ x_top_window_to_frame (struct x_display_info *dpyinfo, int wdesc) | |||
| 427 | void | 427 | void |
| 428 | x_real_positions (FRAME_PTR f, int *xptr, int *yptr) | 428 | x_real_positions (FRAME_PTR f, int *xptr, int *yptr) |
| 429 | { | 429 | { |
| 430 | int win_x, win_y, outer_x, outer_y; | 430 | int win_x, win_y, outer_x IF_LINT (= 0), outer_y IF_LINT (= 0); |
| 431 | int real_x = 0, real_y = 0; | 431 | int real_x = 0, real_y = 0; |
| 432 | int had_errors = 0; | 432 | int had_errors = 0; |
| 433 | Window win = f->output_data.x->parent_desc; | 433 | Window win = f->output_data.x->parent_desc; |