Remove unnecessary string initializations from constructors

std::string is one of those special types that has a constructor that
just initializes itself to a blank state automatically. This means all
`std::string`s are by default already `""`, so there's no need to set
them. And in fact, cppcheck throws out warnings about performance due to
initializing `std::string`s this way.
This commit is contained in:
Misa
2020-07-06 13:11:05 -07:00
committed by Ethan Lee
parent 7703b2c1c2
commit 7128e9c3ac
3 changed files with 0 additions and 11 deletions

View File

@@ -33,7 +33,6 @@ edlevelclass::edlevelclass()
{
tileset=0;
tilecol=0;
roomname="";
warpdir=0;
platx1=0;
platy1=0;