eliminate a copying operation
This commit is contained in:
parent
2fd7f4ca14
commit
f7a2283eae
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue