From 1a41d28588d8432b90b4ee75131ddfeb0b0ca7c4 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 18 Dec 2021 17:39:04 -0600 Subject: [PATCH] Cleanup: Remove stale code. --- level_3/fake/c/private-common.h | 4 +--- level_3/fake/c/private-make-operate.c | 4 ---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/level_3/fake/c/private-common.h b/level_3/fake/c/private-common.h index ef27993..6389857 100644 --- a/level_3/fake/c/private-common.h +++ b/level_3/fake/c/private-common.h @@ -1089,14 +1089,12 @@ extern "C" { #ifndef _di_fake_make_path_t_ typedef struct { f_file_t top; - f_file_t current; f_string_dynamics_t stack; } fake_make_path_t; #define fake_make_path_t_initialize { \ f_file_t_initialize, \ - f_file_t_initialize, \ f_string_dynamics_t_initialize, \ } @@ -1114,7 +1112,7 @@ extern "C" { fake_make_parameter_t parameter; fake_make_parameter_t parameter_option; fake_make_parameter_t parameter_value; - fake_make_path_t path; // @todo review this, check if path.current is used anymore. + fake_make_path_t path; fl_print_t error; diff --git a/level_3/fake/c/private-make-operate.c b/level_3/fake/c/private-make-operate.c index 66dff31..bdc9d92 100644 --- a/level_3/fake/c/private-make-operate.c +++ b/level_3/fake/c/private-make-operate.c @@ -107,10 +107,6 @@ extern "C" { } } - if (data_make.path.current.stream) { - f_file_stream_close(F_true, &data_make.path.current); - } - { f_status_t status_path = f_path_change_at(data_make.path.top.id); -- 1.8.3.1