diff --git a/components/omega/src/infra/IOStream.cpp b/components/omega/src/infra/IOStream.cpp index 16cc09527ba4..ba5ae8ec1efa 100644 --- a/components/omega/src/infra/IOStream.cpp +++ b/components/omega/src/infra/IOStream.cpp @@ -107,6 +107,8 @@ int IOStream::finalize( // Remove all streams AllStreams.clear(); + return Err; + } // End finalize //------------------------------------------------------------------------------ @@ -873,6 +875,8 @@ int IOStream::writeFieldMeta( } // end loop over metadata + return Err; + } // End writeFieldMeta //------------------------------------------------------------------------------