Removed logicaly dead code
This commit is contained in:
parent
63cb4b81a8
commit
aa0523f60a
@ -89,7 +89,7 @@ void trpgModel::SetName(const char *nm)
|
|||||||
|
|
||||||
if (nm)
|
if (nm)
|
||||||
{
|
{
|
||||||
name = new char[(nm ? strlen(nm) : 0)+1];
|
name = new char[strlen(nm)+1];
|
||||||
strcpy(name,nm);
|
strcpy(name,nm);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user