From: Kevin Day Date: Sat, 18 Dec 2021 23:39:04 +0000 (-0600) Subject: Cleanup: Remove stale code. X-Git-Tag: 0.5.7~24 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=1a41d28588d8432b90b4ee75131ddfeb0b0ca7c4;p=fll Cleanup: Remove stale code. --- 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);