summaryrefslogtreecommitdiff
path: root/src/plugins/script
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-02-22 13:57:28 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-02-22 13:57:28 +0100
commit6339c15c6d8543a858181d6396fc10753ac3e96d (patch)
tree1c9c4556856aeaa1ddd60b3be7fb0bb3fe26d784 /src/plugins/script
parent71911141046b341be0006a34c1d0b5fdcf308f2e (diff)
downloadweechat-6339c15c6d8543a858181d6396fc10753ac3e96d.zip
script: remove dead assignments in functions script_action_{unload|reload}
Diffstat (limited to 'src/plugins/script')
-rw-r--r--src/plugins/script/script-action.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/script/script-action.c b/src/plugins/script/script-action.c
index 992e01837..9715bf872 100644
--- a/src/plugins/script/script-action.c
+++ b/src/plugins/script/script-action.c
@@ -208,7 +208,6 @@ script_action_unload (const char *name, int quiet)
struct t_hdata *hdata;
void *ptr_script;
- language = -1;
pos = strrchr (name, '.');
if (pos)
{
@@ -314,7 +313,6 @@ script_action_reload (const char *name, int quiet)
struct t_hdata *hdata;
void *ptr_script;
- language = -1;
pos = strrchr (name, '.');
if (pos)
{