changeset 33249:06a308cae32c

eliminate unnecessary use of <cassert> in libinterp files * input.cc, oct-stream.cc, sparse-xdiv.cc, sparse-xpow.cc, xdiv.cc, xpow.cc, oct-parse.yy: Don't include <cassert>.
author John W. Eaton <jwe@octave.org>
date Sun, 24 Mar 2024 18:12:06 -0400
parents 7f73e4805a1f
children 40fde86be9b0
files libinterp/corefcn/input.cc libinterp/corefcn/oct-stream.cc libinterp/corefcn/sparse-xdiv.cc libinterp/corefcn/sparse-xpow.cc libinterp/corefcn/xdiv.cc libinterp/corefcn/xpow.cc libinterp/parse-tree/oct-parse.yy
diffstat 7 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/input.cc	Sun Mar 24 18:12:34 2024 -0400
+++ b/libinterp/corefcn/input.cc	Sun Mar 24 18:12:06 2024 -0400
@@ -32,7 +32,6 @@
 #include <cstdio>
 #include <cstdlib>
 #include <cstring>
-#include <cassert>
 
 #include <algorithm>
 #include <iostream>
--- a/libinterp/corefcn/oct-stream.cc	Sun Mar 24 18:12:34 2024 -0400
+++ b/libinterp/corefcn/oct-stream.cc	Sun Mar 24 18:12:06 2024 -0400
@@ -27,7 +27,6 @@
 #  include "config.h"
 #endif
 
-#include <cassert>
 #include <cctype>
 #include <cstring>
 
--- a/libinterp/corefcn/sparse-xdiv.cc	Sun Mar 24 18:12:34 2024 -0400
+++ b/libinterp/corefcn/sparse-xdiv.cc	Sun Mar 24 18:12:06 2024 -0400
@@ -27,8 +27,6 @@
 #  include "config.h"
 #endif
 
-#include <cassert>
-
 #include "Array-util.h"
 #include "lo-array-errwarn.h"
 #include "oct-cmplx.h"
--- a/libinterp/corefcn/sparse-xpow.cc	Sun Mar 24 18:12:34 2024 -0400
+++ b/libinterp/corefcn/sparse-xpow.cc	Sun Mar 24 18:12:06 2024 -0400
@@ -27,8 +27,6 @@
 #  include "config.h"
 #endif
 
-#include <cassert>
-
 #include <limits>
 
 #include "Array-util.h"
--- a/libinterp/corefcn/xdiv.cc	Sun Mar 24 18:12:34 2024 -0400
+++ b/libinterp/corefcn/xdiv.cc	Sun Mar 24 18:12:06 2024 -0400
@@ -27,8 +27,6 @@
 #  include "config.h"
 #endif
 
-#include <cassert>
-
 #include "Array-util.h"
 #include "CMatrix.h"
 #include "dMatrix.h"
--- a/libinterp/corefcn/xpow.cc	Sun Mar 24 18:12:34 2024 -0400
+++ b/libinterp/corefcn/xpow.cc	Sun Mar 24 18:12:06 2024 -0400
@@ -27,8 +27,6 @@
 #  include "config.h"
 #endif
 
-#include <cassert>
-
 #include <limits>
 
 #include "Array-util.h"
--- a/libinterp/parse-tree/oct-parse.yy	Sun Mar 24 18:12:34 2024 -0400
+++ b/libinterp/parse-tree/oct-parse.yy	Sun Mar 24 18:12:06 2024 -0400
@@ -35,7 +35,6 @@
 #  include "config.h"
 #endif
 
-#include <cassert>
 #include <cstdio>
 #include <cstdlib>