diff --git a/src/Instance.hxx b/src/Instance.hxx index 5e1d40024..d3391d64f 100644 --- a/src/Instance.hxx +++ b/src/Instance.hxx @@ -89,10 +89,10 @@ struct Instance final Partition *partition; - StateFile *state_file; + StateFile *state_file = nullptr; Instance() - :idle_monitor(event_loop, BIND_THIS_METHOD(OnIdle)), state_file(nullptr) {} + :idle_monitor(event_loop, BIND_THIS_METHOD(OnIdle)) {} /** * Initiate shutdown. Wrapper for EventLoop::Break().