mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 14:26:39 +02:00
script: remove dead assignments in functions script_action_{unload|reload}
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user