No need to initialize hash_name to NULL - dedup - deduplicating backup program
HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit 6424fd5e1aeaf427e6f15a51c67b08695f3f677c
DIR parent 4347f0a624b172f81e0922f068ba9e86a0ada3a6
HTML Author: sin <sin@2f30.org>
Date: Wed, 17 Apr 2019 15:42:23 +0100
No need to initialize hash_name to NULL
Diffstat:
M dedup.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
DIR diff --git a/dedup.c b/dedup.c
@@ -586,8 +586,7 @@ int
main(int argc, char *argv[])
{
uint8_t md[MD_SIZE];
- char *id = NULL, *root = NULL, *msg = NULL, *hash_name = NULL;
- char *compr_name;
+ char *id = NULL, *root = NULL, *msg = NULL, *hash_name, *compr_name;
int iflag = 0, lflag = 0, cflag = 0;
int fd = -1;