Mercurial > octave
changeset 27744:b2b23c7d5a24
delete obsolete unused function
* symtab.h, symtab.cc (symbol_table::get_curr_fcn):
Delete unused function.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 24 Nov 2019 13:38:37 -0600 |
parents | d51b3c6f3892 |
children | 7a45100a40c4 |
files | libinterp/corefcn/symtab.cc libinterp/corefcn/symtab.h |
diffstat | 2 files changed, 0 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/symtab.cc Sun Nov 24 13:28:39 2019 +0100 +++ b/libinterp/corefcn/symtab.cc Sun Nov 24 13:38:37 2019 -0600 @@ -596,13 +596,6 @@ return retval; } - octave_user_function * symbol_table::get_curr_fcn (void) - { - symbol_scope curr_scope = current_scope (); - - return curr_scope ? curr_scope.function () : nullptr; - } - void symbol_table::cleanup (void) { clear_functions ();
--- a/libinterp/corefcn/symtab.h Sun Nov 24 13:28:39 2019 +0100 +++ b/libinterp/corefcn/symtab.h Sun Nov 24 13:38:37 2019 -0600 @@ -173,8 +173,6 @@ std::list<std::string> parent_classes (const std::string& dispatch_type); - octave_user_function * get_curr_fcn (void); - void cleanup (void); fcn_info * get_fcn_info (const std::string& name);