Remove #include <assert.h> from files which don't need it
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 28 Nov 2019 09:09:50 +0000 (10:09 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 28 Nov 2019 09:09:50 +0000 (10:09 +0100)
19 files changed:
src/data/any-writer.c
src/data/make-file.c
src/language/stats/sort-cases.c
src/libpspp/hash-functions.c
src/libpspp/ll.c
src/libpspp/llx.c
src/output/cairo-chart.c
src/output/charts/plot-hist.c
src/output/text-item.c
src/ui/gui/psppire-encoding-selector.c
src/ui/gui/psppire.c
src/ui/terminal/terminal-reader.c
tests/libpspp/abt-test.c
tests/libpspp/bt-test.c
tests/libpspp/hmap-test.c
tests/libpspp/hmapx-test.c
tests/libpspp/ll-test.c
tests/libpspp/llx-test.c
tests/libpspp/str-test.c

index 170702bab36c333f4d9e4bb54aca596e70f70e25..b26440158c67033d0039cf8b73d1c62d6c71ced4 100644 (file)
@@ -18,7 +18,6 @@
 
 #include "data/any-writer.h"
 
-#include <assert.h>
 #include <errno.h>
 #include <stdbool.h>
 #include <stdio.h>
index 62dfb71d3dcf366ddd37a515ab10a0dec54a48fa..fdbb4643ebf7bb5e35ad219a81d4ad76f2384440 100644 (file)
@@ -19,7 +19,6 @@
 #include "data/make-file.h"
 #include "libpspp/i18n.h"
 
-#include <assert.h>
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>
index cb60901fe64ed3dc8ca03a6df004dedc8608d079..603a341d6ef53c23a6e87c50bd53a0010f12e08f 100644 (file)
@@ -16,7 +16,6 @@
 
 #include <config.h>
 
-#include <assert.h>
 #include <limits.h>
 #include <stdlib.h>
 #include <sys/types.h>
index cb97ba37edc99b34718ee9eaeaea94adfd2ad49f..ff9ea895cacd66b91e012e26b9add4f5e09f2608 100644 (file)
@@ -59,7 +59,6 @@ hash_pointer (const void *p UNUSED, unsigned int basis UNUSED)
 
 #else
 
-#include <assert.h>
 #include <ctype.h>
 #include <math.h>
 #include <stdint.h>
index 21f8dd8870a2fc96b48ccfd49c228aeb7bc3db21..a7f8027085a3d73dbe91a3260ac90edbcdb0a111 100644 (file)
@@ -30,7 +30,6 @@
 
 #include "libpspp/ll.h"
 
-#include <assert.h>
 
 /* Returns the number of nodes in LIST (not counting the null
    node).  Executes in O(n) time in the length of the list. */
index 3a0cbf60fce154cc7c5c88e390741236ae38cc80..b2e9ead3a6fd1a0b749c976a98fb853e6099e539 100644 (file)
@@ -30,7 +30,6 @@
 
 #include "libpspp/llx.h"
 #include "libpspp/compiler.h"
-#include <assert.h>
 #include <stdlib.h>
 
 /* Destroys LIST and frees all of its nodes using MANAGER.
index db8eb67ecf45f65625bb2df0229a8b3335d6a17e..342a46e1a07154d11abf3ed51c49e9d233acc10c 100644 (file)
@@ -19,7 +19,6 @@
 #include "output/cairo-chart.h"
 #include "math/chart-geometry.h"
 
-#include <assert.h>
 #include <cairo/cairo.h>
 #include <pango/pango.h>
 #include <pango/pangocairo.h>
index 5abbbb6c8c4a32ac695bb4f50478af79b538b0a7..3142c492798d2a8499c492fb8a64b378f27c882a 100644 (file)
@@ -20,7 +20,6 @@
 #include <stdio.h>
 #include <math.h>
 #include <gsl/gsl_randist.h>
-#include <assert.h>
 
 #include "libpspp/cast.h"
 #include "math/histogram.h"
index 283bfaed49d08001a1ea9c0dfca4d1fafd84a18a..b4b1223ea0da746883c9eaf0d26d09bdc342c803 100644 (file)
@@ -18,7 +18,6 @@
 
 #include "output/text-item.h"
 
-#include <assert.h>
 #include <stdarg.h>
 #include <stdlib.h>
 
index 73cac2209561f09bbe77f976a8e7b0b986c36df1..a551ef054937a467941b1c998b2e7ae4d13099fd 100644 (file)
@@ -18,7 +18,6 @@
 
 #include "ui/gui/psppire-encoding-selector.h"
 
-#include <assert.h>
 #include <stdlib.h>
 
 #include "libpspp/cast.h"
index 1f903beda993c75616491e08f11f7100408ac2aa..92825a4f9cfc07aa9d3a567f57f54eb3dc607071 100644 (file)
@@ -17,7 +17,6 @@
 #include <config.h>
 
 
-#include <assert.h>
 #include <gsl/gsl_errno.h>
 #include <gtk/gtk.h>
 #include <libintl.h>
index b8c71447ce5c7563c6bde942f7bf9bde18767723..d0660c66e185251fce1799109313a16225b260ad 100644 (file)
@@ -41,7 +41,6 @@ static char *command_generator (const char *text, int state);
 #include <sys/time.h>
 #include <sys/types.h>
 
-#include <assert.h>
 #include <errno.h>
 #include <stdint.h>
 #include <stdlib.h>
index 8088f19cd93dcc188c7be9cf345fde40b1620eee..fb6ddd704b18c4c9be9a18492488763121ca5cb4 100644 (file)
@@ -26,7 +26,6 @@
 
 #include <libpspp/abt.h>
 
-#include <assert.h>
 #include <stdbool.h>
 #include <stddef.h>
 #include <stdio.h>
index 35fbad653586e534737e382b1123242a5aacac88..f9f0c9b3eab20f2c8ed36ab1bd547f9ecad353b5 100644 (file)
@@ -26,7 +26,6 @@
 
 #include <libpspp/bt.h>
 
-#include <assert.h>
 #include <stdbool.h>
 #include <stddef.h>
 #include <stdint.h>
index 578cebfb14e37c361bcf40bd37dda89fba47172a..ccc3349e98bc95cd448fdc423f98cc8d1e9a710e 100644 (file)
@@ -88,7 +88,6 @@
 
 #include <libpspp/hmap.h>
 
-#include <assert.h>
 #include <limits.h>
 #include <stdbool.h>
 #include <stddef.h>
index 13a3f4b47f505ff9a1f9a8c7f4bb7c1279afb1c6..dfe5d22ff64212d51e9b977d1f0359e336b0a53b 100644 (file)
@@ -27,7 +27,6 @@
 
 #include <libpspp/hmapx.h>
 
-#include <assert.h>
 #include <limits.h>
 #include <stdbool.h>
 #include <stddef.h>
index 7bf01248c1b7a4cf2fe695431590e61fbaa7a574..f92bc6cba8b50245b41054127a5a2bb9220112e7 100644 (file)
@@ -31,7 +31,6 @@
 #endif
 
 #include <libpspp/ll.h>
-#include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 34f46e8bbf8042105ad808ab8ee4266e79d2f708..95b549fd8cb79b14068cc79ca4c070a3d7c37ce9 100644 (file)
@@ -30,7 +30,6 @@
 #endif
 
 #include <libpspp/llx.h>
-#include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 36d54157440a764b7311b1ac67daa977b4c0336e..f5897d72029c051ac03870aab63f62bb52b639ca 100644 (file)
@@ -18,7 +18,6 @@
 
 #include <libpspp/str.h>
 
-#include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
 \f