* frame.c (x_set_frame_parameters): Don't read uninitialized storage.
This commit is contained in:
parent
a3d0b7d19d
commit
afca0e7590
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2014-06-01 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* frame.c (x_set_frame_parameters): Don't read uninitialized storage.
|
||||
|
||||
2014-06-01 Jan Djärv <jan.h.d@swipnet.se>
|
||||
|
||||
* xterm.c (xg_scroll_callback): Remove position, for jump set portion
|
||||
|
|
|
@ -2794,7 +2794,7 @@ x_set_frame_parameters (struct frame *f, Lisp_Object alist)
|
|||
/* If both of these parameters are present, it's more efficient to
|
||||
set them both at once. So we wait until we've looked at the
|
||||
entire list before we set them. */
|
||||
int width, height;
|
||||
int width = 0, height = 0;
|
||||
bool width_change = 0, height_change = 0;
|
||||
|
||||
/* Same here. */
|
||||
|
|
Loading…
Add table
Reference in a new issue