aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-03-08 09:28:17 -0800
committerPaul Eggert2011-03-08 09:28:17 -0800
commit6be7d3dab6a206d26d1845e3791eaf26be1be72f (patch)
treec25e0d9c505404119b558d550788785108e78fbe /src
parent630d6892438c5fff742a0dddb0692d2a991418e2 (diff)
downloademacs-6be7d3dab6a206d26d1845e3791eaf26be1be72f.tar.gz
emacs-6be7d3dab6a206d26d1845e3791eaf26be1be72f.zip
* cm.c (cmgoto): Mark variables that gcc -Wuninitialized does not
deduce are never used uninitialized.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/cm.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 3375d985a41..477e74483e6 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -82,6 +82,9 @@
82 * bidi.c (bidi_check_type): Now static, since it's not used elsewhere. 82 * bidi.c (bidi_check_type): Now static, since it's not used elsewhere.
83 (BIDI_BOB): Remove unused macro. 83 (BIDI_BOB): Remove unused macro.
84 84
85 * cm.c (cmgoto): Mark variables that gcc -Wuninitialized does not
86 deduce are never used uninitialized.
87
852011-03-06 Chong Yidong <cyd@stupidchicken.com> 882011-03-06 Chong Yidong <cyd@stupidchicken.com>
86 89
87 * xdisp.c (redisplay_window): Revert incorrect logic in 2011-03-06 90 * xdisp.c (redisplay_window): Revert incorrect logic in 2011-03-06
diff --git a/src/cm.c b/src/cm.c
index d4aedad6db4..af4116f3fec 100644
--- a/src/cm.c
+++ b/src/cm.c
@@ -330,7 +330,7 @@ cmgoto (struct tty_display_info *tty, int row, int col)
330 llcost, 330 llcost,
331 relcost, 331 relcost,
332 directcost; 332 directcost;
333 int use; 333 int use IF_LINT (= 0);
334 char *p, 334 char *p,
335 *dcm; 335 *dcm;
336 336
@@ -460,4 +460,3 @@ Wcm_init (struct tty_display_info *tty)
460 return - 2; 460 return - 2;
461 return 0; 461 return 0;
462} 462}
463