diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-22 13:57:28 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-22 13:57:28 +0100 |
commit | 6339c15c6d8543a858181d6396fc10753ac3e96d (patch) | |
tree | 1c9c4556856aeaa1ddd60b3be7fb0bb3fe26d784 /src/plugins/script | |
parent | 71911141046b341be0006a34c1d0b5fdcf308f2e (diff) | |
download | weechat-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.c | 2 |
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) { |