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:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user