From 3cf2cf4d9d0c0ba567528989c9d24624683ad64b Mon Sep 17 00:00:00 2001 From: mquinson Date: Fri, 26 Nov 2010 21:43:04 +0000 Subject: [PATCH] cleanup: kill unused variable git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8687 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/bindings/lua/simgrid_lua.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/bindings/lua/simgrid_lua.c b/src/bindings/lua/simgrid_lua.c index 5ada1536be..e45013a9de 100644 --- a/src/bindings/lua/simgrid_lua.c +++ b/src/bindings/lua/simgrid_lua.c @@ -676,7 +676,6 @@ static const luaL_Reg simgrid_funcs[] = { /* module management functions */ /* ********************************************************************************* */ -extern const char *xbt_ctx_factory_to_use; /*Hack: let msg load directly the right factory */ #define LUA_MAX_ARGS_COUNT 10 /* maximum amount of arguments we can get from lua on command line */ #define TEST @@ -684,7 +683,6 @@ int luaopen_simgrid(lua_State * L); // Fuck gcc: we don't need that prototyp int luaopen_simgrid(lua_State * L) { - //xbt_ctx_factory_to_use = "lua"; char **argv = malloc(sizeof(char *) * LUA_MAX_ARGS_COUNT); int argc = 1; argv[0] = (char *) "/usr/bin/lua"; /* Lie on the argv[0] so that the stack dumping facilities find the right binary. FIXME: what if lua is not in that location? */ -- 2.20.1