From: Kevin Day Date: Wed, 24 Aug 2022 23:42:34 +0000 (-0500) Subject: Cleanup: The fss_status_code never returns F_false. X-Git-Tag: 0.6.1~11 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=7d22eebf91b2b1da08d09bcbf9ae98632b5e3502;p=fll 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. --- 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; }