Commit 785bbd42 authored by Paul Eggert's avatar Paul Eggert

* editfns.c (Fformat): Remove unreachable code.

2011-04-10  Paul Eggert  <eggert@cs.ucla.edu>
parent b2ded58d
2011-04-10 Paul Eggert <eggert@cs.ucla.edu>
* editfns.c (Fformat): Remove unreachable code.
2011-04-10 Paul Eggert <eggert@cs.ucla.edu>
Fix more problems found by GCC 4.6.0's static checks.
......
......@@ -3802,7 +3802,7 @@ usage: (format STRING &rest OBJECTS) */)
if (*format == 'c')
{
if (! ASCII_CHAR_P (XINT (args[n]))
/* Note: No one can remeber why we have to treat
/* Note: No one can remember why we have to treat
the character 0 as a multibyte character here.
But, until it causes a real problem, let's
don't change it. */
......@@ -3816,12 +3816,6 @@ usage: (format STRING &rest OBJECTS) */)
args[n] = Fchar_to_string (args[n]);
thissize = SBYTES (args[n]);
}
else if (! ASCII_BYTE_P (XINT (args[n])) && multibyte)
{
args[n]
= Fchar_to_string (Funibyte_char_to_multibyte (args[n]));
thissize = SBYTES (args[n]);
}
}
}
else if (FLOATP (args[n]) && *format != 's')
......
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