dedup

deduplicating backup program
git clone git://git.2f30.org/dedup.git
Log | Files | Refs | README | LICENSE

commit c86adacd4c9ec47d68823fbb768ec3fc7e5c23c0
parent 7102fc953fa622740207fbe9bce945d33aa9105e
Author: sin <sin@2f30.org>
Date:   Fri, 17 May 2019 16:41:53 +0300

No need to set csize to 0 when the call fails

The caller should not inspect the argument if the call fails.

Diffstat:
Mchunker.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/chunker.c b/chunker.c @@ -174,7 +174,6 @@ cget(struct chunker *c, size_t *csize) unsigned char *bp; if (c->rp == c->wp) { - *csize = 0; seterr("chunker underflow"); return NULL; }