Build
- Enabled compiler warnings, which were off. Yikes. - Fixed all compiler warnings on OSX.
This commit is contained in:
@@ -83,7 +83,7 @@ static int api_task_debug_message (lua_State* L)
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Causes the shell or interactive mode task to exit. Ordinarily this does not
|
||||
// occur.
|
||||
static int api_task_exit (lua_State* L)
|
||||
static int api_task_exit (lua_State*)
|
||||
{
|
||||
// TODO Is this the correct exception? How does the shell handle this?
|
||||
std::cout << "Exiting." << std::endl;
|
||||
@@ -105,6 +105,8 @@ static int api_task_get (lua_State* L)
|
||||
// TODO Error!
|
||||
lua_pushstring (L, "");
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
@@ -123,6 +125,8 @@ static int api_task_set (lua_State* L)
|
||||
// TODO Error!
|
||||
lua_pushstring (L, "");
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user