diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2022-04-21 06:03:22 +0200 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2022-04-21 06:58:14 +0200 |
commit | c61e12739fea59366f4afe99202ac06aca29c599 (patch) | |
tree | 752dce201620add9192cdf841817feabde081521 /doc/examples/io1.c | |
parent | 4612ce303145ea152aba11a5f7ee84c0fe939cfb (diff) | |
download | libxml2-c61e12739fea59366f4afe99202ac06aca29c599.tar.gz |
Fix warnings when testing --with-minimum build
There's no simple way to make the doc/examples tests handle different
configurations. But these tests aren't especially valuable, so remove
the result file checks.
Diffstat (limited to 'doc/examples/io1.c')
-rw-r--r-- | doc/examples/io1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/io1.c b/doc/examples/io1.c index d077cd82..5c2b25d7 100644 --- a/doc/examples/io1.c +++ b/doc/examples/io1.c @@ -161,6 +161,6 @@ int main(void) { #else int main(void) { fprintf(stderr, "XInclude support not compiled in\n"); - exit(1); + return(0); } #endif |