mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-07-03 07:51:34 +00:00
[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_ARRAY:
|
||||||
case MONO_TYPE_SZARRAY:
|
case MONO_TYPE_SZARRAY:
|
||||||
{
|
{
|
||||||
MonoArrayType *arrayType = mono_type_get_array_type(rawType);
|
//MonoArrayType *arrayType = mono_type_get_array_type(rawType);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
return boost::any();
|
return boost::any();
|
||||||
|
|
|
@ -19,7 +19,7 @@ Script::ScriptList Script::scripts;
|
||||||
std::string Script::moddir;
|
std::string Script::moddir;
|
||||||
bool Script::debugMode = false;
|
bool Script::debugMode = false;
|
||||||
|
|
||||||
inline bool Load(Language *lang, const std::string &path)
|
inline void Load(Language *lang, const std::string &path)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
|
@ -81,7 +81,7 @@ boost::any ScriptFunction::Call(const vector<boost::any> &args)
|
||||||
std::vector<void *> argList;
|
std::vector<void *> argList;
|
||||||
argList.resize(args.size());
|
argList.resize(args.size());
|
||||||
|
|
||||||
for (int index = 0; index < args.size(); index++)
|
for (size_t index = 0; index < args.size(); index++)
|
||||||
{
|
{
|
||||||
switch (def[index])
|
switch (def[index])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue