1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 12:56:37 +02:00

Fix use of some uninitialized variables

This commit is contained in:
Sebastien Helleu
2008-10-27 17:27:58 +01:00
parent 66bb1fad2a
commit 1e3be56b5f
4 changed files with 29 additions and 25 deletions
+1
View File
@@ -67,6 +67,7 @@ weechat_lua_exec (struct t_plugin_script *script,
old_lua_current_script = lua_current_script;
lua_current_script = script;
argc = 0;
if (argv && argv[0])
{
lua_pushstring (lua_current_interpreter, argv[0]);