Commit afca0e75 authored by Paul Eggert's avatar Paul Eggert
Browse files

* frame.c (x_set_frame_parameters): Don't read uninitialized storage.

parent a3d0b7d1
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> 2014-06-01 Jan Djärv <jan.h.d@swipnet.se>
* xterm.c (xg_scroll_callback): Remove position, for jump set portion * 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) ...@@ -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 /* 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 set them both at once. So we wait until we've looked at the
entire list before we set them. */ entire list before we set them. */
int width, height; int width = 0, height = 0;
bool width_change = 0, height_change = 0; bool width_change = 0, height_change = 0;
/* Same here. */ /* Same here. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment