lightningd: remove unused original_directory field.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2021-04-07 11:58:05 +09:30
parent 3d1c376f1d
commit 107c7ec0e3
2 changed files with 0 additions and 8 deletions

View File

@@ -239,11 +239,6 @@ static struct lightningd *new_lightningd(const tal_t *ctx)
*/
jsonrpc_setup(ld);
/*~ We changed when we start plugins, messing up relative paths.
* This saves our original dirs so we can fixup and warn for the
* moment (0.7.2). */
ld->original_directory = path_cwd(ld);
/*~ We run a number of plugins (subprocesses that we talk JSON-RPC with)
* alongside this process. This allows us to have an easy way for users
* to add their own tools without having to modify the c-lightning source

View File

@@ -251,9 +251,6 @@ struct lightningd {
char *tor_service_password;
bool pure_tor_setup;
/* Original directory for deprecated plugin-relative-to-cwd */
const char *original_directory;
struct plugins *plugins;
char *wallet_dsn;