mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Minor cleanups
- remove redundant conditional - remove unused vars - remove extra ags to printf - reduce scope of decl
This commit is contained in:
parent
65099897f4
commit
396a7064dc
6 changed files with 5 additions and 8 deletions
|
|
@ -288,7 +288,6 @@ void Settings::readLayer(SimXMLDocument *document, String groupStack)
|
|||
{
|
||||
for(S32 i=0; document->pushChildElement(i); i++)
|
||||
{
|
||||
bool groupCount = 0;
|
||||
const UTF8 *type = document->elementValue();
|
||||
const UTF8 *name = document->attribute("name");
|
||||
const UTF8 *value = document->getText();
|
||||
|
|
@ -302,7 +301,6 @@ void Settings::readLayer(SimXMLDocument *document, String groupStack)
|
|||
|
||||
newStack += name;
|
||||
readLayer(document, newStack);
|
||||
groupCount++;
|
||||
} else if(dStrcmp(type, "Setting") == 0)
|
||||
{
|
||||
String nameString = groupStack;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue