eliminate a copying operation
This commit is contained in:
+1
-1
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user