initialize variable to avoid compiler warnings
This commit is contained in:
@@ -135,7 +135,7 @@ std::tuple<T,int,int> PackUnpack(T& in)
|
||||
Opm::Serializer ser(packer);
|
||||
ser.pack(in);
|
||||
size_t pos1 = ser.position();
|
||||
T out;
|
||||
T out{};
|
||||
ser.unpack(out);
|
||||
size_t pos2 = ser.position();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user