Mercurial > hg > octave-image
changeset 11:3eb64b838403
added else clauses to stop warnings
author | aadler |
---|---|
date | Tue, 19 Mar 2002 19:47:04 +0000 |
parents | 7b475987b12c |
children | d3d63e5c93e3 |
files | conv2.cc |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/conv2.cc +++ b/conv2.cc @@ -65,6 +65,10 @@ outM= Am - Cm + 1; outN= An - Rn + 1; edgM= edgN= 0; + } else { + error("invalid shape specified=%d", ishape); + jump_to_top_level (); + panic_impossible (); } // printf("A(%d,%d) C(%d) R(%d) O(%d,%d) E(%d,%d)\n", @@ -161,6 +165,10 @@ outM= Am - Bm + 1; outN= An - Bn + 1; edgM= edgN= 0; + } else { + error("invalid shape specified=%d", ishape); + jump_to_top_level (); + panic_impossible (); } // printf("A(%d,%d) B(%d,%d) O(%d,%d) E(%d,%d)\n",