diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2016-09-12 21:36:28 +0200 |
---|---|---|
committer | Michal Nazarewicz <mina86@mina86.com> | 2016-09-12 21:57:36 +0200 |
commit | ee98ca67f886698b6072095e55b820b1c31e1236 (patch) | |
tree | 1aa59f40034ba0f90bcd814d61063b34e4fa383d /test/lisp/legacy/files-tests.el | |
parent | ef474bd3d686cbf43a11056017ca8c92a304a25e (diff) | |
download | emacs-ee98ca67f886698b6072095e55b820b1c31e1236.tar.gz emacs-ee98ca67f886698b6072095e55b820b1c31e1236.tar.bz2 emacs-ee98ca67f886698b6072095e55b820b1c31e1236.zip |
Fix compiler thinking width and height may be unitialised in frame.c
This fixes the following warning:
frame.c: In function ‘x_set_frame_parameters’:
frame.c:3329:25: error: ‘width’ may be used uninitialized in
this function [-Werror=maybe-uninitialized]
adjust_frame_size (f, width_change ? width : -1,
^
* src/frame.c (x_set_frame_parameters): Drop width_changed and
height_changed variables in favour of storing that information in
width and height variables.
Diffstat (limited to 'test/lisp/legacy/files-tests.el')
0 files changed, 0 insertions, 0 deletions