From 8c366f0774120656f19b80bdac0f2f03590b7d64 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 17 Jul 2018 21:35:43 +0200 Subject: [PATCH] config/Data: automatic initialization --- src/config/Data.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/Data.hxx b/src/config/Data.hxx index 45ce1c95a..a57a16f72 100644 --- a/src/config/Data.hxx +++ b/src/config/Data.hxx @@ -28,8 +28,8 @@ struct ConfigParam; struct ConfigBlock; struct ConfigData { - std::array params; - std::array blocks; + std::array params{{nullptr}}; + std::array blocks{{nullptr}}; void Clear();