From b32aa520c2eb0ce37ae27205db39241804f16262 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 20 Jul 2008 17:38:59 +0000 Subject: [PATCH] delete_files bug fix --- src/storage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage.cpp b/src/storage.cpp index ee29a958b..dffea8267 100644 --- a/src/storage.cpp +++ b/src/storage.cpp @@ -608,7 +608,7 @@ namespace libtorrent m_pool.release(this); buffer().swap(m_scratch_buffer); - int error; + int error = 0; std::string error_file; // delete the files from disk