]> Kevux Git Server - fll/commitdiff
Cleanup: Remove stale code.
authorKevin Day <thekevinday@gmail.com>
Sat, 18 Dec 2021 23:39:04 +0000 (17:39 -0600)
committerKevin Day <thekevinday@gmail.com>
Sat, 18 Dec 2021 23:39:04 +0000 (17:39 -0600)
level_3/fake/c/private-common.h
level_3/fake/c/private-make-operate.c

index ef27993c0ffa9c003a61151ac7ae28b90378eb34..6389857775d11103260ac0bcf5c42605d805ec4c 100644 (file)
@@ -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;
 
index 66dff31fab89940439b46deb5c88e00831ee5e9a..bdc9d925518321973b334ee2efedad8ff5ada547 100644 (file)
@@ -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);