tNo need to initialize hash_name to NULL - dedup - deduplicating backup program
(HTM) git clone git://git.z3bra.org/dedup.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 6424fd5e1aeaf427e6f15a51c67b08695f3f677c
(DIR) parent 4347f0a624b172f81e0922f068ba9e86a0ada3a6
(HTM) 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
t@@ -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;