- removed unused ReplaceString function.

This commit is contained in:
Christoph Oelckers 2023-08-12 10:28:18 +02:00
commit a675e4add8
2 changed files with 0 additions and 20 deletions

View file

@ -122,25 +122,6 @@ char *copystring (const char *s)
return b;
}
//==========================================================================
//
// ReplaceString
//
// Do not use in new code.
//
//==========================================================================
void ReplaceString (char **ptr, const char *str)
{
if (*ptr)
{
if (*ptr == str)
return;
delete[] *ptr;
}
*ptr = copystring (str);
}
/*
=============================================================================