Initialize loose_deleted before it is used for a check later on.
diff --git a/src/refdb_fs.c b/src/refdb_fs.c
index f964c41..7de56a1 100644
--- a/src/refdb_fs.c
+++ b/src/refdb_fs.c
@@ -976,7 +976,7 @@ static int refdb_fs_backend__delete(
struct packref *pack_ref;
khiter_t pack_ref_pos;
int error = 0, pack_error;
- bool loose_deleted;
+ bool loose_deleted = 0;
assert(_backend);
assert(ref);