# HG changeset patch # User Jaroslav Hajek # Date 1234592854 -3600 # Node ID d2b06871aface3efbe565bc02c5ae33d2473fd96 # Parent 008f3985c8c0daac25699016dc78a303d26bed73 add missing return statement diff -r 008f3985c8c0 -r d2b06871afac liboctave/ChangeLog --- a/liboctave/ChangeLog Sat Feb 14 07:24:16 2009 +0100 +++ b/liboctave/ChangeLog Sat Feb 14 07:27:34 2009 +0100 @@ -2,6 +2,7 @@ * intNDArray.cc: include mx-inlines.cc. (intNDArray::sum): Use mx_do_red_op (..., mx_inline_sum). + * Range.cc (Range::is_sorted): Add missing return statement. 2009-02-13 Jaroslav Hajek diff -r 008f3985c8c0 -r d2b06871afac liboctave/Range.cc --- a/liboctave/Range.cc Sat Feb 14 07:24:16 2009 +0100 +++ b/liboctave/Range.cc Sat Feb 14 07:27:34 2009 +0100 @@ -258,6 +258,8 @@ mode = (mode == DESCENDING) ? UNSORTED : ASCENDING; else mode = mode ? mode : ASCENDING; + + return mode; } std::ostream&