From 036e9f9b93bb1fe8646709365d16488e06cb91bb Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Mon, 2 Nov 2020 23:40:16 -0600 Subject: [PATCH] Bugfix: contents_delimits is supposed to be optional. I probably accidentally "fixed" this thinking the parameter was not being checked by accident. In reality, the parameter shouldn't be checked if the pointer is NULL because it is supposed to be optional. This resulted in the fake program from not working as of release 0.5.1. --- level_2/fll_fss/c/fss_extended.c | 1 - level_2/fll_fss/c/fss_extended_list.c | 1 - 2 files changed, 2 deletions(-) diff --git a/level_2/fll_fss/c/fss_extended.c b/level_2/fll_fss/c/fss_extended.c index b8dae82..45d1969 100644 --- a/level_2/fll_fss/c/fss_extended.c +++ b/level_2/fll_fss/c/fss_extended.c @@ -12,7 +12,6 @@ extern "C" { if (!objects) return F_status_set_error(F_parameter); if (!contents) return F_status_set_error(F_parameter); if (!objects_delimits) return F_status_set_error(F_parameter); - if (!contents_delimits) return F_status_set_error(F_parameter); #endif // _di_level_2_parameter_checking_ f_status_t status = F_none; diff --git a/level_2/fll_fss/c/fss_extended_list.c b/level_2/fll_fss/c/fss_extended_list.c index 852f9ad..6c422b9 100644 --- a/level_2/fll_fss/c/fss_extended_list.c +++ b/level_2/fll_fss/c/fss_extended_list.c @@ -11,7 +11,6 @@ extern "C" { if (!range) return F_status_set_error(F_parameter); if (!nest) return F_status_set_error(F_parameter); if (!objects_delimits) return F_status_set_error(F_parameter); - if (!contents_delimits) return F_status_set_error(F_parameter); if (!comments) return F_status_set_error(F_parameter); #endif // _di_level_3_parameter_checking_ -- 1.8.3.1