# HG changeset patch # User Rik # Date 1449935476 28800 # Node ID 6f9e010760a1dcbbefc3374c502729c2924a59e4 # Parent cdf08aacfd86602a1c17bd988ba976402c66e4c7 2015 code sprint: op-int.h: remove return after error. diff -r cdf08aacfd86 -r 6f9e010760a1 libinterp/operators/op-int.h --- a/libinterp/operators/op-int.h Sat Dec 12 13:01:52 2015 -0200 +++ b/libinterp/operators/op-int.h Sat Dec 12 07:51:16 2015 -0800 @@ -628,10 +628,7 @@ CAST_UNOP_ARG (const octave_ ## TYPE ## _matrix&); \ \ if (v.ndims () > 2) \ - { \ - error ("transpose not defined for N-d objects"); \ - return octave_value (); \ - } \ + error ("transpose not defined for N-d objects"); \ else \ return octave_value (v.TYPE ## _array_value ().transpose ()); \ } \ @@ -652,7 +649,6 @@ DEFBINOPX (PFX ## _pow, T1 ## matrix, T2 ## matrix) \ { \ error ("can't do A ^ B for A and B both matrices"); \ - return octave_value (); \ } \ \ /* DEFBINOP_FN (PFX ## _ldiv, T1 ## matrix, T2 ## matrix, xleftdiv) */ \