From 4d19c899bd9fc6d0ba433145dbf4b7050d2dda95 Mon Sep 17 00:00:00 2001 From: Andrey Prygunkov Date: Sun, 18 Apr 2021 21:36:53 +0200 Subject: [PATCH] #749, #688: fixed crash on windows --- daemon/util/FileSystem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/util/FileSystem.h b/daemon/util/FileSystem.h index b2b19f00..be267fef 100644 --- a/daemon/util/FileSystem.h +++ b/daemon/util/FileSystem.h @@ -91,7 +91,7 @@ public: private: #ifdef WIN32 WIN32_FIND_DATAW m_findData; - HANDLE m_file; + HANDLE m_file = INVALID_HANDLE_VALUE; bool m_first; CString m_filename; #else