mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-25 10:13:44 +00:00
plugin: remove unused 'new_path' var
This commit is contained in:
@@ -86,7 +86,6 @@ static int start_ss_plugin(const char *plugin,
|
||||
const char *local_port,
|
||||
enum plugin_mode mode)
|
||||
{
|
||||
char *new_path = NULL;
|
||||
char *cmd = NULL;
|
||||
|
||||
size_t plugin_len = strlen(plugin);
|
||||
@@ -114,9 +113,6 @@ static int start_ss_plugin(const char *plugin,
|
||||
|
||||
ss_free(cmd);
|
||||
|
||||
if (new_path != NULL)
|
||||
ss_free(new_path);
|
||||
|
||||
return err;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user