The FSS Embedded List Read should not treat out of range depth as an error.
This simply should return no results.
- // @todo this now needs to handle this case: main->setting.feature & fss_read_feature_flag_depth_multiple_d and this case main->setting.flag & fss_read_main_flag_select_d.
-
if (main->setting.buffer.used) {
main->setting.range.start = 0;
main->setting.range.stop = main->setting.buffer.used;
if (main->setting.buffer.used) {
main->setting.range.start = 0;
main->setting.range.stop = main->setting.buffer.used;
// Pre-process depths to confirm if any requested i is out of range.
for (; i < main->setting.depths.used; ++i) {
// Pre-process depths to confirm if any requested i is out of range.
for (; i < main->setting.depths.used; ++i) {
+ // Out of range is not an error, there is simply nothing to print.
if (main->setting.depths.array[i].depth >= main->setting.nest.used) {
if (main->setting.depths.array[i].depth >= main->setting.nest.used) {
- main->setting.state.status = F_status_set_error(F_parameter);
+ main->setting.state.status = F_okay;