mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-10 19:09:45 +01:00
Remove unneeded pKey when loading room property XML elements
I don't know why this is here; it's unused. I don't know why the compiler doesn't warn about this being unused either - maybe it's secretly being used? That also means I'm not sure if the compiler is optimizing this away or not. Anyway, this is getting removed.
This commit is contained in:
parent
d590463834
commit
c68efac032
1 changed files with 0 additions and 1 deletions
|
@ -1848,7 +1848,6 @@ bool editorclass::load(std::string& _path)
|
|||
int i = 0;
|
||||
for( tinyxml2::XMLElement* edLevelClassElement = pElem->FirstChildElement(); edLevelClassElement; edLevelClassElement=edLevelClassElement->NextSiblingElement())
|
||||
{
|
||||
std::string pKey(edLevelClassElement->Value());
|
||||
if(edLevelClassElement->GetText() != NULL)
|
||||
{
|
||||
level[i].roomname = std::string(edLevelClassElement->GetText()) ;
|
||||
|
|
Loading…
Reference in a new issue