iNo need for a local var - dedup - deduplicating backup program Err bitreich.org 70 hgit clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ URL:git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ bitreich.org 70 1Log /scm/dedup/log.gph bitreich.org 70 1Files /scm/dedup/files.gph bitreich.org 70 1Refs /scm/dedup/refs.gph bitreich.org 70 1Tags /scm/dedup/tag bitreich.org 70 1README /scm/dedup/file/README.gph bitreich.org 70 1LICENSE /scm/dedup/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit 2ddf3b5d77e2dc2b1586359d720a0c502b7a8c0d /scm/dedup/commit/2ddf3b5d77e2dc2b1586359d720a0c502b7a8c0d.gph bitreich.org 70 1parent f7a254938107c8f37ec85da48753fbf782f306d6 /scm/dedup/commit/f7a254938107c8f37ec85da48753fbf782f306d6.gph bitreich.org 70 hAuthor: sin URL:mailto:sin@2f30.org bitreich.org 70 iDate: Wed, 20 Feb 2019 15:38:32 +0000 Err bitreich.org 70 i Err bitreich.org 70 iNo need for a local var Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M dedup.c | 5 ++--- Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 2 insertions(+), 3 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/dedup.c b/dedup.c /scm/dedup/file/dedup.c.gph bitreich.org 70 i@@ -680,11 +680,10 @@ walk(int (*fn)(struct snapshot *, void *), void *arg) Err bitreich.org 70 i void Err bitreich.org 70 i init_cache(void) Err bitreich.org 70 i { Err bitreich.org 70 i- uint64_t nents, i; Err bitreich.org 70 i+ uint64_t i; Err bitreich.org 70 i Err bitreich.org 70 i- nents = cache_nr_entries(); Err bitreich.org 70 i xlseek(cfd, 0, SEEK_SET); Err bitreich.org 70 i- for (i = 0; i < nents; i++) { Err bitreich.org 70 i+ for (i = 0; i < cache_nr_entries(); i++) { Err bitreich.org 70 i struct cache_entry *ent; Err bitreich.org 70 i Err bitreich.org 70 i ent = alloc_cache_entry(); Err bitreich.org 70 .