Skip to content

Commit 78a46a2

Browse files
committed
librc: remove unused rc_dirs.datadir
1 parent 1afc058 commit 78a46a2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/librc/librc.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ rc_runlevel_stacks(const char *runlevel)
557557

558558
static struct {
559559
bool set;
560-
char *svcdir, *confdir, *datadir, *runleveldir;
560+
char *svcdir, *confdir, *runleveldir;
561561
} rc_dirs;
562562

563563
static struct {
@@ -573,7 +573,6 @@ free_rc_dirs(void)
573573
#define X(ptr) ptr = (free(ptr), NULL)
574574
X(rc_dirs.svcdir);
575575
X(rc_dirs.confdir);
576-
X(rc_dirs.datadir);
577576
X(rc_dirs.runleveldir);
578577

579578
X(rc_path.buffer);

0 commit comments

Comments
 (0)