Mercurial > hg > octave-jordi
diff libinterp/octave-value/ov-struct.cc @ 20955:850e3d2533d4
maint: Eliminate more useless statements after error().
* __ilu__.cc, display.cc, file-io.cc, graphics.cc, graphics.in.h, hex2num.cc,
load-save.cc, ls-mat-ascii.cc, oct-errno.in.cc, pager.cc, sighandlers.cc,
sub2ind.cc, symtab.h, syscalls.cc, toplev.h, txt-eng-ft.cc, __eigs__.cc,
ov-bool-mat.cc, ov-classdef.h, ov-cx-mat.cc, ov-fcn-handle.cc,
ov-flt-cx-mat.cc, ov-flt-re-mat.cc, ov-re-mat.cc, ov-str-mat.cc, ov-struct.cc,
ov-typeinfo.cc, ov-usr-fcn.cc:
maint: Eliminate more useless statements after error().
author | Rik <rik@octave.org> |
---|---|
date | Sun, 20 Dec 2015 13:26:17 -0800 (2015-12-20) |
parents | 77f5591878bf |
children | 3aa293be0e8d |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-struct.cc +++ b/libinterp/octave-value/ov-struct.cc @@ -763,10 +763,7 @@ panic_impossible (); } else - { - error ("load: failed to extract number of elements in structure"); - success = false; - } + error ("load: failed to extract number of elements in structure"); return success; } @@ -1405,10 +1402,7 @@ panic_impossible (); } else - { - error ("load: failed to extract number of elements in structure"); - success = false; - } + error ("load: failed to extract number of elements in structure"); return success; }