`std::shared_ptr` default-initializes to `nullptr`, so there is no need to do it manually, and in the current code the initialization is in the wrong order (so generates a compiler warning).