mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
Remove the 'signal_startup' member of the plugin struct
It's set but not used
This commit is contained in:
parent
596972366d
commit
a2c00d42f2
@ -87,7 +87,6 @@ void plugin_register(struct plugins *plugins, const char* path TAKES)
|
||||
p->js_arr = tal_arr(p, struct json_stream *, 0);
|
||||
p->used = 0;
|
||||
p->subscriptions = NULL;
|
||||
p->signal_startup = false;
|
||||
|
||||
p->log = new_log(p, plugins->log_book, "plugin-%s",
|
||||
path_basename(tmpctx, p->cmd));
|
||||
@ -829,10 +828,8 @@ static void plugin_manifest_cb(const char *buffer,
|
||||
}
|
||||
|
||||
dynamictok = json_get_member(buffer, resulttok, "dynamic");
|
||||
if (dynamictok && json_to_bool(buffer, dynamictok, &dynamic_plugin)) {
|
||||
plugin->signal_startup = true;
|
||||
if (dynamictok && json_to_bool(buffer, dynamictok, &dynamic_plugin))
|
||||
plugin->dynamic = dynamic_plugin;
|
||||
}
|
||||
|
||||
if (!plugin_opts_add(plugin, buffer, resulttok) ||
|
||||
!plugin_rpcmethods_add(plugin, buffer, resulttok) ||
|
||||
|
Loading…
Reference in New Issue
Block a user