Commit 47553fa8 authored by Paul Eggert's avatar Paul Eggert
Browse files

* print.c (print_object): Remove var that is set but not used.

parent fdb61804
2011-04-01 Paul Eggert <eggert@cs.ucla.edu>
* print.c (print_object): Remove var that is set but not used.
Replace two copies of readlink code with single gnulib version.
The gnulib version avoids calling malloc in the usual case,
and on 64-bit hosts doesn't have some arbitrary 32-bit limits.
......@@ -1460,7 +1460,7 @@ print_object (Lisp_Object obj, register Lisp_Object printcharfun, int escapeflag
print_string (obj, printcharfun);
else
{
register EMACS_INT i, i_byte;
register EMACS_INT i_byte;
struct gcpro gcpro1;
unsigned char *str;
EMACS_INT size_byte;
......@@ -1484,7 +1484,7 @@ print_object (Lisp_Object obj, register Lisp_Object printcharfun, int escapeflag
str = SDATA (obj);
size_byte = SBYTES (obj);
for (i = 0, i_byte = 0; i_byte < size_byte;)
for (i_byte = 0; i_byte < size_byte;)
{
/* Here, we must convert each multi-byte form to the
corresponding character code before handing it to PRINTCHAR. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment