1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 11:50:51 -08:00

* cm.c (cmgoto): Mark variables that gcc -Wuninitialized does not

deduce are never used uninitialized.
This commit is contained in:
Paul Eggert 2011-03-08 09:28:17 -08:00
parent 630d689243
commit 6be7d3dab6
2 changed files with 4 additions and 2 deletions

View file

@ -82,6 +82,9 @@
* bidi.c (bidi_check_type): Now static, since it's not used elsewhere.
(BIDI_BOB): Remove unused macro.
* cm.c (cmgoto): Mark variables that gcc -Wuninitialized does not
deduce are never used uninitialized.
2011-03-06 Chong Yidong <cyd@stupidchicken.com>
* xdisp.c (redisplay_window): Revert incorrect logic in 2011-03-06

View file

@ -330,7 +330,7 @@ cmgoto (struct tty_display_info *tty, int row, int col)
llcost,
relcost,
directcost;
int use;
int use IF_LINT (= 0);
char *p,
*dcm;
@ -460,4 +460,3 @@ Wcm_init (struct tty_display_info *tty)
return - 2;
return 0;
}