1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- Corrected a couple more compiler warnings caused by mutable/constant

string pointer assignments.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15149 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2006-09-25 14:51:15 +00:00
parent 9f37f76b01
commit d5bfee3917
15 changed files with 67 additions and 62 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: stdio_vfprintf.c,v 1.23 2006-09-25 13:43:06 obarthel Exp $
* $Id: stdio_vfprintf.c,v 1.24 2006-09-25 14:51:15 obarthel Exp $
*
* :ts=4
*
@ -1329,12 +1329,18 @@ vfprintf(FILE * stream,const char * format, va_list arg)
#if defined(NDEBUG)
{
if(output_buffer == NULL)
output_buffer = (char *)"";
{
output_buffer = buffer;
strcpy(output_buffer,"");
}
}
#else
{
if(output_buffer == NULL)
output_buffer = "*NULL POINTER*";
{
output_buffer = buffer;
strcpy(output_buffer,"*NULL POINTER*");
}
}
#endif /* NDEBUG */