aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-04-01 00:13:23 -0700
committerPaul Eggert2011-04-01 00:13:23 -0700
commit47553fa8f12b3dfaeed639763fa112393076c341 (patch)
tree64dc59a979daca93fe9e2039c2cbffe313d48f03 /src
parentfdb61804921071110fc46f347bb4638d7fe57638 (diff)
downloademacs-47553fa8f12b3dfaeed639763fa112393076c341.tar.gz
emacs-47553fa8f12b3dfaeed639763fa112393076c341.zip
* print.c (print_object): Remove var that is set but not used.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/print.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b141577e4e7..4a6ac368efb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12011-04-01 Paul Eggert <eggert@cs.ucla.edu> 12011-04-01 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * print.c (print_object): Remove var that is set but not used.
4
3 Replace two copies of readlink code with single gnulib version. 5 Replace two copies of readlink code with single gnulib version.
4 The gnulib version avoids calling malloc in the usual case, 6 The gnulib version avoids calling malloc in the usual case,
5 and on 64-bit hosts doesn't have some arbitrary 32-bit limits. 7 and on 64-bit hosts doesn't have some arbitrary 32-bit limits.
diff --git a/src/print.c b/src/print.c
index e44d4d14f36..dd3d1c9bbb2 100644
--- a/src/print.c
+++ b/src/print.c
@@ -1460,7 +1460,7 @@ print_object (Lisp_Object obj, register Lisp_Object printcharfun, int escapeflag
1460 print_string (obj, printcharfun); 1460 print_string (obj, printcharfun);
1461 else 1461 else
1462 { 1462 {
1463 register EMACS_INT i, i_byte; 1463 register EMACS_INT i_byte;
1464 struct gcpro gcpro1; 1464 struct gcpro gcpro1;
1465 unsigned char *str; 1465 unsigned char *str;
1466 EMACS_INT size_byte; 1466 EMACS_INT size_byte;
@@ -1484,7 +1484,7 @@ print_object (Lisp_Object obj, register Lisp_Object printcharfun, int escapeflag
1484 str = SDATA (obj); 1484 str = SDATA (obj);
1485 size_byte = SBYTES (obj); 1485 size_byte = SBYTES (obj);
1486 1486
1487 for (i = 0, i_byte = 0; i_byte < size_byte;) 1487 for (i_byte = 0; i_byte < size_byte;)
1488 { 1488 {
1489 /* Here, we must convert each multi-byte form to the 1489 /* Here, we must convert each multi-byte form to the
1490 corresponding character code before handing it to PRINTCHAR. */ 1490 corresponding character code before handing it to PRINTCHAR. */