summaryrefslogtreecommitdiff
path: root/src/plugins/lua
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-01-14 14:49:55 +0100
committerSébastien Helleu <flashcode@flashtux.org>2018-01-14 21:47:18 +0100
commiteb0560812bd2f4ddb68353e7dc5427c60397463d (patch)
tree62b5a9e71459132c080d69c38fa443eeb398be58 /src/plugins/lua
parent9cd82686bc5b5cedd238d87901159a70f6af3b25 (diff)
downloadweechat-eb0560812bd2f4ddb68353e7dc5427c60397463d.zip
scripts: add missing initialization of plugin pointer to NULL
Diffstat (limited to 'src/plugins/lua')
-rw-r--r--src/plugins/lua/weechat-lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/weechat-lua.c b/src/plugins/lua/weechat-lua.c
index 03563021b..006ad247c 100644
--- a/src/plugins/lua/weechat-lua.c
+++ b/src/plugins/lua/weechat-lua.c
@@ -42,7 +42,7 @@ WEECHAT_PLUGIN_VERSION(WEECHAT_VERSION);
WEECHAT_PLUGIN_LICENSE(WEECHAT_LICENSE);
WEECHAT_PLUGIN_PRIORITY(4000);
-struct t_weechat_plugin *weechat_lua_plugin;
+struct t_weechat_plugin *weechat_lua_plugin = NULL;
int lua_quiet = 0;