mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Merge pull request #1214 from bpay/cppcheck-cleaning
Fix some issues flagged by cppcheck
This commit is contained in:
commit
497a15cfd0
38 changed files with 96 additions and 42 deletions
|
|
@ -1162,6 +1162,7 @@ const char *evaluatef(const char* string, ...)
|
|||
va_list args;
|
||||
va_start(args, string);
|
||||
dVsprintf(buffer, sizeof(buffer), string, args);
|
||||
va_end(args);
|
||||
CodeBlock *newCodeBlock = new CodeBlock();
|
||||
return newCodeBlock->compileExec(NULL, buffer, false, 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue