Mercurial > octave
changeset 26940:a75d1e82a7d3
* symscope.h (symbol_scope_rep::dup): Delete useless statement. (bug #55935)
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 16 Mar 2019 14:13:40 -0400 |
parents | 6acb713f8231 |
children | ca5344dd5f1c |
files | libinterp/corefcn/symscope.h |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/symscope.h Tue Mar 19 14:46:52 2019 +0000 +++ b/libinterp/corefcn/symscope.h Sat Mar 16 14:13:40 2019 -0400 @@ -117,8 +117,6 @@ std::shared_ptr<symbol_scope_rep> new_sid = std::shared_ptr<symbol_scope_rep> (new symbol_scope_rep (m_name)); - new_sid->m_name; - for (const auto& nm_sr : m_symbols) new_sid->m_symbols[nm_sr.first] = nm_sr.second.dup ();