changeset 28496:3b97c9637ea4

maint: merge stable to default.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Mon, 22 Jun 2020 14:13:17 +0900
parents 75bb064c6769 (current diff) bc521cd24922 (diff)
children 7a640885171a
files libinterp/octave-value/ov-cell.cc
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/octave-value/ov-cell.cc	Sun Jun 21 11:46:49 2020 +0200
+++ b/libinterp/octave-value/ov-cell.cc	Mon Jun 22 14:13:17 2020 +0900
@@ -628,8 +628,6 @@
 Array<std::string>
 octave_cell::cellstr_value (void) const
 {
-  Array<std::string> retval;
-
   if (! iscellstr ())
     error ("invalid conversion from cell array to array of strings");
 
@@ -637,8 +635,6 @@
     *cellstr_cache = matrix.cellstr_value ();
 
   return *cellstr_cache;
-
-  return retval;
 }
 
 bool