Skip to content

Commit d0c4657

Browse files
committed
Fix uninitialized values
1 parent 53c0512 commit d0c4657

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/openPMD/IO/JSON/JSONIOHandlerImpl.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,8 @@ class JSONIOHandlerImpl : public AbstractIOHandlerImpl
307307
{
308308
// Initialized in init()
309309
DatasetMode m_mode{};
310-
SpecificationVia m_specificationVia;
311-
bool m_skipWarnings;
310+
SpecificationVia m_specificationVia = SpecificationVia::DefaultValue;
311+
bool m_skipWarnings = false;
312312

313313
template <typename A, typename B, typename C>
314314
operator std::tuple<A, B, C>()

0 commit comments

Comments
 (0)