Mercurial > octave
changeset 31363:af38813e5b89
build: Silence unused private field compilation warning in oct-stream.h (bug #63210)
* oct-stream.h (class base_stream): Add FIXME note about compilation warning.
Comment out private field declaration for "m_converter".
author | Rik <rik@octave.org> |
---|---|
date | Sat, 29 Oct 2022 18:07:10 -0700 |
parents | 4e12be13186d |
children | 39230ec95b99 |
files | libinterp/corefcn/oct-stream.h |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/oct-stream.h Sat Oct 29 17:57:56 2022 -0700 +++ b/libinterp/corefcn/oct-stream.h Sat Oct 29 18:07:10 2022 -0700 @@ -214,7 +214,10 @@ // encoding conversion facet typedef string::deletable_facet<string::codecvt_u8> convfacet_u8; - std::wbuffer_convert<convfacet_u8, char> *m_converter; + // FIXME: Identified by compiler as unused private field. + // Commented out 10/29/2022. + // If there are no repercussions, delete entirely. + // std::wbuffer_convert<convfacet_u8, char> *m_converter; // wrappers for encoding conversion // std::istream *m_conv_istream;