Mercurial > octave
changeset 25080:699fe9cd51ca stable
quad.cc: Silence implicit-fallthrough warning bug #53542)
* quad.cc (Fquad): Add OCTAVE_FALLTHROUGH to case of 4 input arguments.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 01 Apr 2018 22:06:24 -0700 |
parents | 5a8442dbd744 |
children | d3baac355a2c |
files | libinterp/corefcn/quad.cc |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/quad.cc Sun Apr 01 21:56:43 2018 -0700 +++ b/libinterp/corefcn/quad.cc Sun Apr 01 22:06:24 2018 -0700 @@ -270,6 +270,7 @@ default: error ("quad: TOL must be a 1 or 2-element vector"); } + OCTAVE_FALLTHROUGH; case 3: if (indefinite) @@ -365,6 +366,7 @@ default: error ("quad: TOL must be a 1 or 2-element vector"); } + OCTAVE_FALLTHROUGH; case 3: if (indefinite)