From 946e2353420a7de71a21f1f2a11d70202d46b89d Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Wed, 18 Jan 2023 23:31:35 -0600 Subject: [PATCH] Cleanup: Remove unused global static constant strings. --- level_3/fake/c/common.c | 2 -- level_3/fake/c/common.h | 6 ------ 2 files changed, 8 deletions(-) diff --git a/level_3/fake/c/common.c b/level_3/fake/c/common.c index 1f6f0ca..be0a647 100644 --- a/level_3/fake/c/common.c +++ b/level_3/fake/c/common.c @@ -60,9 +60,7 @@ extern "C" { const f_string_static_t fake_default_path_sources_s = macro_f_string_static_t_initialize(FAKE_default_path_sources_s, 0, FAKE_default_path_sources_s_length); const f_string_static_t fake_default_path_work_s = macro_f_string_static_t_initialize(FAKE_default_path_work_s, 0, FAKE_default_path_work_s_length); - const f_string_static_t fake_default_define_s = macro_f_string_static_t_initialize(FAKE_default_define_s, 0, FAKE_default_define_s_length); const f_string_static_t fake_default_fakefile_s = macro_f_string_static_t_initialize(FAKE_default_fakefile_s, 0, FAKE_default_fakefile_s_length); - const f_string_static_t fake_default_mode_s = macro_f_string_static_t_initialize(FAKE_default_mode_s, 0, FAKE_default_mode_s_length); const f_string_static_t fake_default_process_s = macro_f_string_static_t_initialize(FAKE_default_process_s, 0, FAKE_default_process_s_length); const f_string_static_t fake_default_settings_s = macro_f_string_static_t_initialize(FAKE_default_settings_s, 0, FAKE_default_settings_s_length); #endif // _di_fake_defaults_ diff --git a/level_3/fake/c/common.h b/level_3/fake/c/common.h index c8149f7..41ef1ac 100644 --- a/level_3/fake/c/common.h +++ b/level_3/fake/c/common.h @@ -178,9 +178,7 @@ extern "C" { #define FAKE_default_path_sources_s "sources" F_path_separator_s #define FAKE_default_path_work_s "" - #define FAKE_default_define_s "" #define FAKE_default_fakefile_s "fakefile" - #define FAKE_default_mode_s "" #define FAKE_default_process_s "" #define FAKE_default_settings_s "settings" @@ -189,9 +187,7 @@ extern "C" { #define FAKE_default_path_sources_s_length 7 + F_path_separator_s_length #define FAKE_default_path_work_s_length 0 - #define FAKE_default_define_s_length 0 #define FAKE_default_fakefile_s_length 8 - #define FAKE_default_mode_s_length 0 #define FAKE_default_process_s_length 0 #define FAKE_default_settings_s_length 8 @@ -200,9 +196,7 @@ extern "C" { extern const f_string_static_t fake_default_path_sources_s; extern const f_string_static_t fake_default_path_work_s; - extern const f_string_static_t fake_default_define_s; extern const f_string_static_t fake_default_fakefile_s; - extern const f_string_static_t fake_default_mode_s; extern const f_string_static_t fake_default_process_s; extern const f_string_static_t fake_default_settings_s; #endif // _di_fake_defaults_ -- 1.8.3.1