mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
([NSString -description]): Fix warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1539 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ac34a1cc86
commit
169cb14712
1 changed files with 9 additions and 7 deletions
|
@ -650,7 +650,9 @@ handle_printf_atsign (FILE *stream,
|
|||
#define charesc(ch) (inrange(ch,07,014) || ((ch)=='\"') || ((ch)=='\\'))
|
||||
#define numesc(ch) (((ch)<=06) || inrange(ch,015,037) || ((ch)>0176))
|
||||
|
||||
for(src_ptr=(char *)src,len=0,quote=0; ch=*src_ptr; src_ptr++,len++)
|
||||
for (src_ptr = (char*)src, len=0,quote=0;
|
||||
(ch=*src_ptr);
|
||||
src_ptr++, len++)
|
||||
{
|
||||
if (!noquote(ch))
|
||||
{
|
||||
|
@ -670,7 +672,7 @@ handle_printf_atsign (FILE *stream,
|
|||
dest_ptr = dest;
|
||||
if (quote)
|
||||
*(dest_ptr++) = '\"';
|
||||
for(; ch=*src_ptr; src_ptr++,dest_ptr++)
|
||||
for (; (ch=*src_ptr); src_ptr++,dest_ptr++)
|
||||
{
|
||||
if (charesc(ch))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue