Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/windirstat.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Schneider <oliver@assarbad.net>2012-10-24 13:45:03 +0400
committerOliver Schneider <oliver@assarbad.net>2012-10-24 13:45:03 +0400
commitf17e63fe4b60aa6886d9d8010f4f839d93a76fa9 (patch)
treefe2e94e3c6cf27bd545ad029ed448aaa3eb68a84 /sandbox
parentf73d0fc7e0138f0386ba3306bd31a1084a1618a6 (diff)
- Fixed EOLs
- Removed some old remnants
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/luaconf/lua_conf.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/sandbox/luaconf/lua_conf.cpp b/sandbox/luaconf/lua_conf.cpp
index 1ad46cb..3b7d058 100644
--- a/sandbox/luaconf/lua_conf.cpp
+++ b/sandbox/luaconf/lua_conf.cpp
@@ -17,18 +17,8 @@ int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
{
lua_gc(L, LUA_GCSTOP, 0); /* stop collector during initialization */
luaL_openlibs(L); /* open libraries */
- int ret = 1;
-#if 0
- ret = luaopen_winreg(L);
- if(!ret)
- {
- fprintf(stderr, "Failed to load winreg module\n");
- lua_close(L);
- return EXIT_FAILURE;
- }
-#endif // 0
lua_gc(L, LUA_GCRESTART, 0);
- ret = luaL_dofile(L, "..\\lua_conf.lua");
+ int ret = luaL_dofile(L, "..\\lua_conf.lua");
if(ret)
{
fprintf(stderr, "%s", lua_tostring(L, -1));
@@ -39,5 +29,5 @@ int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
lua_close(L);
return EXIT_SUCCESS;
}
- return EXIT_FAILURE;
+ return EXIT_FAILURE;
}