Invert if/else/error: Difference between revisions

Jump to navigation Jump to search
5,033 bytes removed ,  24 December 2017
no edit summary
No edit summary
 
Line 62: Line 62:
== Files ==
== Files ==


Total: 43
As of now, all the files have been corrected in Octave core source. Contributors are, however, welcomed to make changes as described above in Octave's packages.
 
Fixed: 36
 
{| class="wikitable"
!Owner !! File
 
|-
| jwe || <strike>corefcn/Cell.cc</strike>
|-
| jwe || <strike>corefcn/__ilu__.cc</strike>
|-
| jwe || <strike>corefcn/bitfcns.cc</strike>
|-
| jwe || <strike>corefcn/cellfun.cc</strike>
|-
| jwe || <strike>corefcn/data.cc</strike>
|-
| jwe || <strike>corefcn/debug.cc</strike>
|-
| jwe || <strike>corefcn/error.cc</strike>
|-
| jwe || <strike>corefcn/graphics.cc</strike>
|-
| jwe || <strike>corefcn/graphics.in.h</strike>
|-
| jwe || <strike>corefcn/input.cc</strike>
|-
| jwe || <strike>corefcn/load-save.cc</strike>
|-
| jwe || <strike>corefcn/ls-mat-ascii.cc</strike>
|-
| jwe || <strike>corefcn/ls-mat5.cc</strike>
|-
| jwe || <strike>corefcn/ls-oct-text.cc</strike>
|-
| jwe || <strike>corefcn/oct-map.cc</strike>
|-
| jwe || <strike>corefcn/oct-stream.cc</strike>
|-
| jwe || <strike>corefcn/sparse-xpow.cc</strike>
|-
| jwe || <strike>corefcn/symtab.h</strike>
|-
| jwe || <strike>corefcn/typecast.cc</strike>
|-
| jwe || <strike>corefcn/urlwrite.cc</strike>
|-
| das || <strike>corefcn/utils.cc</strike>
|-
| das || corefcn/variables.cc
|-
| jwe || <strike>dldfcn/chol.cc</strike>
|-
| jwe || <strike>octave-value/ov-base-diag.cc</strike>
|-
| jwe || <strike>octave-value/ov-base-int.cc</strike>
|-
| jwe || <strike>octave-value/ov-base-mat.cc</strike>
|-
| jwe || <strike>octave-value/ov-base-sparse.cc</strike>
|-
| jwe || <strike>octave-value/ov-base.cc</strike>
|-
| jwe || <strike>octave-value/ov-bool-mat.cc</strike>
|-
| jwe || <strike>octave-value/ov-cell.cc</strike>
|-
| jwe || <strike>octave-value/ov-class.cc</strike>
|-
| jwe || <strike>octave-value/ov-classdef.cc</strike>
|-
| jwe || <strike>octave-value/ov-cx-mat.cc</strike>
|-
| jwe || <strike>octave-value/ov-flt-cx-mat.cc</strike>
|-
| jwe || <strike>octave-value/ov-flt-re-mat.cc</strike>
|-
| jwe || <strike>octave-value/ov-perm.cc</strike>
|-
| jwe || <strike>octave-value/ov-re-mat.cc</strike>
|-
| jwe || <strike>octave-value/ov-str-mat.cc</strike>
|-
| jwe || <strike>octave-value/ov-struct.cc</strike>
|-
| jwe || <strike>octave-value/ov-usr-fcn.cc</strike>
|-
| jwe || <strike>octave-value/ov.cc</strike>
|-
| jwe || <strike>parse-tree/pt-assign.cc</strike>
|-
| jwe || <strike>parse-tree/pt-idx.cc</strike>
|-
 
|}
 
== Instances ==
 
Total: 104
 
Fixed: 0
 
<pre>
corefcn/graphics.in.h:1194
corefcn/symtab.h:151
corefcn/Cell.cc:306
corefcn/__ilu__.cc:767
corefcn/bitfcns.cc:111
corefcn/bitfcns.cc:506
corefcn/bitfcns.cc:509
corefcn/cellfun.cc:219
corefcn/cellfun.cc:686
corefcn/data.cc:658
corefcn/data.cc:838
corefcn/data.cc:1381
corefcn/data.cc:5620
corefcn/debug.cc:1383
corefcn/error.cc:1863
corefcn/graphics.cc:1313
corefcn/graphics.cc:1332
corefcn/graphics.cc:1365
corefcn/graphics.cc:1570
corefcn/graphics.cc:2514
corefcn/graphics.cc:2517
corefcn/graphics.cc:2540
corefcn/graphics.cc:10132
corefcn/graphics.cc:10634
corefcn/graphics.cc:10641
corefcn/graphics.cc:11454
corefcn/input.cc:761
corefcn/load-save.cc:748
corefcn/ls-mat-ascii.cc:322
corefcn/ls-mat-ascii.cc:343
corefcn/ls-mat-ascii.cc:347
corefcn/ls-mat-ascii.cc:351
corefcn/ls-mat5.cc:596
corefcn/ls-mat5.cc:1023
corefcn/ls-mat5.cc:2329
corefcn/ls-oct-text.cc:285
corefcn/oct-map.cc:277
corefcn/oct-stream.cc:1843
corefcn/sparse-xpow.cc:125
corefcn/sparse-xpow.cc:198
corefcn/typecast.cc:84
corefcn/typecast.cc:294
corefcn/urlwrite.cc:276
corefcn/utils.cc:1158
corefcn/utils.cc:1187
corefcn/variables.cc:174
corefcn/variables.cc:1499
dldfcn/chol.cc:216
dldfcn/chol.cc:241
octave-value/ov-base-diag.cc:528
octave-value/ov-base-int.cc:231
octave-value/ov-base-mat.cc:96
octave-value/ov-base-sparse.cc:464
octave-value/ov-base.cc:1614
octave-value/ov-base.cc:1632
octave-value/ov-bool-mat.cc:265
octave-value/ov-bool-mat.cc:294
octave-value/ov-cell.cc:809
octave-value/ov-cell.cc:818
octave-value/ov-cell.cc:848
octave-value/ov-cell.cc:863
octave-value/ov-cell.cc:963
octave-value/ov-class.cc:1272
octave-value/ov-class.cc:1275
octave-value/ov-class.cc:1707
octave-value/ov-class.cc:1710
octave-value/ov-classdef.cc:530
octave-value/ov-classdef.cc:558
octave-value/ov-classdef.cc:588
octave-value/ov-classdef.cc:1758
octave-value/ov-classdef.cc:2054
octave-value/ov-classdef.cc:2403
octave-value/ov-classdef.cc:2572
octave-value/ov-classdef.cc:3144
octave-value/ov-classdef.cc:3183
octave-value/ov-classdef.cc:3248
octave-value/ov-classdef.cc:3443
octave-value/ov-cx-mat.cc:324
octave-value/ov-cx-mat.cc:398
octave-value/ov-cx-mat.cc:422
octave-value/ov-flt-cx-mat.cc:298
octave-value/ov-flt-cx-mat.cc:372
octave-value/ov-flt-cx-mat.cc:396
octave-value/ov-flt-re-mat.cc:276
octave-value/ov-flt-re-mat.cc:399
octave-value/ov-flt-re-mat.cc:423
octave-value/ov-perm.cc:308
octave-value/ov-re-mat.cc:285
octave-value/ov-re-mat.cc:501
octave-value/ov-re-mat.cc:525
octave-value/ov-str-mat.cc:233
octave-value/ov-str-mat.cc:250
octave-value/ov-str-mat.cc:269
octave-value/ov-str-mat.cc:382
octave-value/ov-str-mat.cc:419
octave-value/ov-str-mat.cc:426
octave-value/ov-struct.cc:764
octave-value/ov-struct.cc:1403
octave-value/ov-usr-fcn.cc:158
octave-value/ov-usr-fcn.cc:162
octave-value/ov-usr-fcn.cc:989
octave-value/ov.cc:2995
parse-tree/pt-assign.cc:278
parse-tree/pt-idx.cc:524
</pre>
18

edits

Navigation menu