* dispnew.c (update_frame_1): Pacify gcc -Wstrict-overflow

for GCC 4.7.1 x86-64.
This commit is contained in:
Paul Eggert 2012-08-30 08:07:00 -07:00
parent 8b0c72d319
commit b98521dbff
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2012-08-30 Paul Eggert <eggert@cs.ucla.edu>
* dispnew.c (update_frame_1): Pacify gcc -Wstrict-overflow
for GCC 4.7.1 x86-64.
2012-08-30 Glenn Morris <rgm@gnu.org>
* lread.c (init_lread): For out-of-tree builds, only add the

View file

@ -4690,6 +4690,7 @@ update_frame_1 (struct frame *f, bool force_p, bool inhibit_id_p)
}
}
lint_assume (0 <= FRAME_LINES (f));
pause_p = 0 < i && i < FRAME_LINES (f) - 1;
/* Now just clean up termcap drivers and set cursor, etc. */