summaryrefslogtreecommitdiffstats
path: root/src/common/file_util.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-04-14 01:48:03 +0200
committerLioncash <mathew1800@gmail.com>2016-04-14 02:17:24 +0200
commit5f51622e9de0483519f47c749888fe7d5b120c79 (patch)
tree69ccb0da7b4176b24bcc576c13ed1e58caadf885 /src/common/file_util.h
parentfile_util: const qualify IOFile's Tell and GetSize functions (diff)
downloadyuzu-5f51622e9de0483519f47c749888fe7d5b120c79.tar
yuzu-5f51622e9de0483519f47c749888fe7d5b120c79.tar.gz
yuzu-5f51622e9de0483519f47c749888fe7d5b120c79.tar.bz2
yuzu-5f51622e9de0483519f47c749888fe7d5b120c79.tar.lz
yuzu-5f51622e9de0483519f47c749888fe7d5b120c79.tar.xz
yuzu-5f51622e9de0483519f47c749888fe7d5b120c79.tar.zst
yuzu-5f51622e9de0483519f47c749888fe7d5b120c79.zip
Diffstat (limited to '')
-rw-r--r--src/common/file_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/file_util.h b/src/common/file_util.h
index d520130ce..b54a9fb72 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