comparison libinterp/corefcn/ls-mat5.cc @ 21055:5e00ed38a58b

maint: Replace if/error/else paradigm with just if/error. * __ilu__.cc, data.cc, file-io.cc, graphics.cc, graphics.in.h, ls-mat5.cc, lu.cc, octave-link.cc, regexp.cc, schur.cc, spparms.cc, sub2ind.cc, syscalls.cc, toplev.cc, variables.cc, xpow.cc, audiodevinfo.cc, ccolamd.cc, ov-builtin.cc, ov-classdef.cc, ov-intx.h, ov-lazy-idx.cc, ov-mex-fcn.cc, op-int.h, lex.ll, oct-parse.in.yy, pt-binop.cc, pt-cbinop.cc, pt-const.cc, pt-decl.h, pt-fcn-handle.cc, pt-unop.cc, CollocWt.cc: Replace if/error/else paradigm with just if/error.
author Rik <rik@octave.org>
date Wed, 13 Jan 2016 11:02:22 -0800
parents 93748bcaec17
children e39e05d90788
comparison
equal deleted inserted replaced
21054:221847e5f488 21055:5e00ed38a58b
1492 swap = 1; 1492 swap = 1;
1493 else 1493 else
1494 { 1494 {
1495 if (! quiet) 1495 if (! quiet)
1496 error ("load: can't read binary file"); 1496 error ("load: can't read binary file");
1497
1497 return -1; 1498 return -1;
1498 } 1499 }
1499 1500
1500 if (! swap) // version number is inverse swapped! 1501 if (! swap) // version number is inverse swapped!
1501 version = ((version >> 8) & 0xff) + ((version & 0xff) << 8); 1502 version = ((version >> 8) & 0xff) + ((version & 0xff) << 8);