Removed logicaly dead code

This commit is contained in:
Robert Osfield 2016-06-27 17:09:41 +01:00
parent 63cb4b81a8
commit aa0523f60a

View File

@ -89,7 +89,7 @@ void trpgModel::SetName(const char *nm)
if (nm)
{
name = new char[(nm ? strlen(nm) : 0)+1];
name = new char[strlen(nm)+1];
strcpy(name,nm);
}
}