From 7d22eebf91b2b1da08d09bcbf9ae98632b5e3502 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Wed, 24 Aug 2022 18:42:34 -0500 Subject: [PATCH] Cleanup: The fss_status_code never returns F_false. At some point I planned on returning F_true and F_false to allow for easier scripting. This never happened and so this check is dead code. The next development cycle may introduce this easier to script functionality. --- level_3/fss_status_code/c/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level_3/fss_status_code/c/main.c b/level_3/fss_status_code/c/main.c index 4014fa9..5b45227 100644 --- a/level_3/fss_status_code/c/main.c +++ b/level_3/fss_status_code/c/main.c @@ -21,7 +21,7 @@ int main(const int argc, const f_string_t *argv, const f_string_t *envp) { fll_program_standard_setdown(&data.signal); - if (F_status_is_error(status) || status == F_false) return 1; + if (F_status_is_error(status)) return 1; return 0; } -- 1.8.3.1