Skip to content

Commit d12baa7

Browse files
committed
fixed warning if statements without body
1 parent 0a50bcf commit d12baa7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/content/AnimationLibrary.cpp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ namespace Animations
6464
ModelScriptTextParser p(zen);
6565
p.setStrict(false); // TODO: should be configurable
6666
if (!loadModelScript(fn, p))
67-
; //return false;
67+
{
68+
//return false;
69+
}
70+
6871

6972
// MDS always overwrites
7073
msb_loaded[withoutExt] = true;
@@ -81,7 +84,9 @@ namespace Animations
8184
ZenParser zen(fn, m_World.getEngine()->getVDFSIndex());
8285
ModelScriptBinParser p(zen);
8386
if (!loadModelScript(fn, p))
84-
; //return false;
87+
{
88+
//return false;
89+
}
8590

8691
msb_loaded[withoutExt] = false;
8792
}

0 commit comments

Comments
 (0)