Modernize client code (#6250)
[oweals/minetest.git] / src / database-redis.h
index fa15dd8a7e8eb021995d8b83617ee458ff166780..1e7909f857b4654fff31302367eb55b932ea0f1e 100644 (file)
@@ -45,8 +45,8 @@ public:
        void listAllLoadableBlocks(std::vector<v3s16> &dst);
 
 private:
-       redisContext *ctx;
-       std::string hash;
+       redisContext *ctx = nullptr;
+       std::string hash = "";
 };
 
 #endif // USE_REDIS