From 25bc3ce02cb90f42aecd810c72bac099336becf2 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Wed, 31 Oct 2018 17:34:23 +0200 Subject: [PATCH] Remove string stream header. Remove unused variable. --- include/sqrat/sqratOverloadMethods.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/sqrat/sqratOverloadMethods.h b/include/sqrat/sqratOverloadMethods.h index afc98115..3e226285 100644 --- a/include/sqrat/sqratOverloadMethods.h +++ b/include/sqrat/sqratOverloadMethods.h @@ -34,7 +34,6 @@ #include #endif // SQMOD_PLUGIN_API -#include #include "sqratTypes.h" #include "sqratUtil.h" #include "sqratGlobalMethods.h" @@ -108,7 +107,7 @@ inline SQInteger OverloadExecutionForwarder(HSQUIRRELVM vm) { return sq_throwerror(vm, _SC("unable to acquire the proper overload closure")); } // Attempt to get the free variable containing the native closure pointer on the stack - const SQChar *name = sq_getonefreevariable(vm, 0); + sq_getonefreevariable(vm, 0); // This is simply a hack to implement a direct call and gain some performance // Since both closures expect a free variable we simply replace the free variable // containing closure name with the free variable containing the closure pointer