diff libinterp/octave-value/ov-base-int.cc @ 20952:758b71e964ce

maint: Eliminate more useless statements after error(). * ov-base-diag.cc, ov-base-int.cc, ov-base-sparse.cc, ov-fcn-handle.cc, ov-perm.cc, ov-str-mat.cc: maint: Eliminate more useless statements after error().
author Rik <rik@octave.org>
date Sun, 20 Dec 2015 08:16:36 -0800 (2015-12-20)
parents 072559bd31f2
children 77f5591878bf
line wrap: on
line diff
--- a/libinterp/octave-value/ov-base-int.cc
+++ b/libinterp/octave-value/ov-base-int.cc
@@ -222,10 +222,7 @@
           is >> tmp;
 
           if (!is)
-            {
-              error ("load: failed to load matrix constant");
-              success = false;
-            }
+            error ("load: failed to load matrix constant");
 
           this->matrix = tmp;
         }