]> Kevux Git Server - fll/commit
Bugfix: Two 0's are printed when --total is used and there are no matching Objects.
authorKevin Day <thekevinday@gmail.com>
Sat, 29 Oct 2022 01:49:15 +0000 (20:49 -0500)
committerKevin Day <thekevinday@gmail.com>
Sat, 29 Oct 2022 01:49:15 +0000 (20:49 -0500)
commit5a62de128aca5440c1149dd8621440fabcfa3ae3
tree82aaea230703bd0ef3f78a870754267d3a5281e7
parentd920927d71998a9503a7a7dc9e3e9adfdebf1044
Bugfix: Two 0's are printed when --total is used and there are no matching Objects.

There is an optimization used that immediately prints 0 and returns if there is no matching data on load.
The problem is that the caller isn't told that it should stop processing because F_none is returned.

Remove the optimization rather than implementing a custom return code and changing the code to handle this.
The normal code is still run and still correctly determines that there are 0 Objects.
level_3/fss_basic_list_read/c/private-read.c
level_3/fss_basic_read/c/private-read.c
level_3/fss_extended_list_read/c/private-read.c
level_3/fss_extended_read/c/private-read.c
level_3/fss_payload_read/c/private-read.c