]> 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:54:19 +0000 (20:54 -0500)
commit4af2f0ea2aae29d69ce904e51e6492a1394066c2
treeec1564b51c8c1cc093a21a1d0d08b3b0857b6ac0
parent6190f82bf733d0b5867c839a405571b06ad5584a
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