Noise: Prevent unittest crash caused by division by zero
[oweals/minetest.git] / src / ban.h
index 7c88406d48e79462f13380ffc9a22c610738b4c3..35bf10abb8d5ed4015128cbdc9c517b979f6498d 100644 (file)
--- a/src/ban.h
+++ b/src/ban.h
@@ -44,9 +44,9 @@ public:
 
 private:
        std::mutex m_mutex;
-       std::string m_banfilepath;
+       std::string m_banfilepath = "";
        StringMap m_ips;
-       bool m_modified;
+       bool m_modified = false;
 };
 
 #endif