commit 6424fd5e1aeaf427e6f15a51c67b08695f3f677c
parent 4347f0a624b172f81e0922f068ba9e86a0ada3a6
Author: sin <sin@2f30.org>
Date: Wed, 17 Apr 2019 15:42:23 +0100
No need to initialize hash_name to NULL
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
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;