mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 17:03:13 +00:00
WINTERMUTE: Fix GCC Compilation Warnings
Have commented out rather than removed the lines causing unused variable warnings as they might be used again in future.
This commit is contained in:
parent
090588fb41
commit
47811167d5
@ -64,7 +64,7 @@ bool SXDirectory::scCallMethod(ScScript *script, ScStack *stack, ScStack *thisSt
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
if (strcmp(name, "Create") == 0) {
|
||||
stack->correctParams(1);
|
||||
const char *path = stack->pop()->getString();
|
||||
//const char *path = stack->pop()->getString();
|
||||
|
||||
if (BaseEngine::instance().getGameId() == "hamlet") {
|
||||
// No need to actually create anything since "gamelet.save" is stored at SavefileManager
|
||||
@ -82,7 +82,7 @@ bool SXDirectory::scCallMethod(ScScript *script, ScStack *stack, ScStack *thisSt
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
else if (strcmp(name, "Delete") == 0) {
|
||||
stack->correctParams(1);
|
||||
const char *path = stack->pop()->getString();
|
||||
//const char *path = stack->pop()->getString();
|
||||
|
||||
warning("Directory.Delete is not implemented! Returning false...");
|
||||
|
||||
@ -95,8 +95,8 @@ bool SXDirectory::scCallMethod(ScScript *script, ScStack *stack, ScStack *thisSt
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
else if (strcmp(name, "GetFiles") == 0 || strcmp(name, "GetDirectories") == 0) {
|
||||
stack->correctParams(2);
|
||||
const char *path = stack->pop()->getString();
|
||||
const char *mask = stack->pop()->getString();
|
||||
//const char *path = stack->pop()->getString();
|
||||
//const char *mask = stack->pop()->getString();
|
||||
|
||||
stack->pushInt(0);
|
||||
BaseScriptable *array = makeSXArray(_gameRef, stack);
|
||||
|
Loading…
x
Reference in New Issue
Block a user