From: Kevin Day Date: Tue, 3 Nov 2020 05:40:16 +0000 (-0600) Subject: Bugfix: contents_delimits is supposed to be optional. X-Git-Tag: 0.5.2~94 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=036e9f9b93bb1fe8646709365d16488e06cb91bb;p=fll 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. --- 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_