diff options
Diffstat (limited to 'src/common/file_util.h')
-rw-r--r-- | src/common/file_util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/file_util.h b/src/common/file_util.h index d520130cef..b54a9fb72b 100644 --- a/src/common/file_util.h +++ b/src/common/file_util.h @@ -256,8 +256,8 @@ public: void Clear() { m_good = true; std::clearerr(m_file); } private: - std::FILE* m_file; - bool m_good; + std::FILE* m_file = nullptr; + bool m_good = true; }; } // namespace |