forked from teamnwah/openmw-tes3coop
[Server] Fix warnings
This commit is contained in:
parent
20b328ec67
commit
fba99071f8
3 changed files with 4 additions and 3 deletions
|
@ -63,7 +63,8 @@ boost::any LangMono::ObjectToAny(MonoObject *obj)
|
|||
case MONO_TYPE_ARRAY:
|
||||
case MONO_TYPE_SZARRAY:
|
||||
{
|
||||
MonoArrayType *arrayType = mono_type_get_array_type(rawType);
|
||||
//MonoArrayType *arrayType = mono_type_get_array_type(rawType);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
return boost::any();
|
||||
|
|
|
@ -19,7 +19,7 @@ Script::ScriptList Script::scripts;
|
|||
std::string Script::moddir;
|
||||
bool Script::debugMode = false;
|
||||
|
||||
inline bool Load(Language *lang, const std::string &path)
|
||||
inline void Load(Language *lang, const std::string &path)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
|
@ -81,7 +81,7 @@ boost::any ScriptFunction::Call(const vector<boost::any> &args)
|
|||
std::vector<void *> argList;
|
||||
argList.resize(args.size());
|
||||
|
||||
for (int index = 0; index < args.size(); index++)
|
||||
for (size_t index = 0; index < args.size(); index++)
|
||||
{
|
||||
switch (def[index])
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue