From e5a5e71d7c25ff3b7d61183b387a312fe8c769c3 Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Sat, 17 Mar 2018 17:48:13 +0100 Subject: [PATCH] Remove useless initialisation of update_blocksize variable in update_blocksize() --- src/photorec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/photorec.c b/src/photorec.c index 5b316f49..0273a39e 100644 --- a/src/photorec.c +++ b/src/photorec.c @@ -448,7 +448,7 @@ unsigned int find_blocksize(alloc_data_t *list_search_space, const unsigned int void update_blocksize(const unsigned int blocksize, alloc_data_t *list_search_space, const uint64_t offset) { - struct td_list_head *search_walker = NULL; + struct td_list_head *search_walker; struct td_list_head *search_walker_prev = NULL; log_info("blocksize=%u, offset=%u\n", blocksize, (unsigned int)(offset%blocksize)); /* Align end of last range (round up) */