eliminate a copying operation

This commit is contained in:
Dick Hollenbeck 2011-01-16 07:14:08 -06:00
parent 2fd7f4ca14
commit f7a2283eae
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ int ReadDelimitedText( char* dest, char* source, int NbMaxChar )
*/
char* StrPurge( char* text )
{
const char whitespace[] = " \t\n\r\f\v";
static const char whitespace[] = " \t\n\r\f\v";
if( text )
{