summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-09-02 17:59:09 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2022-09-02 18:33:36 +0200
commit1bd24d448af5a383953fdfbc5fc467f93be06894 (patch)
treee747983a2b39e106b05cfb2a137c31982cce0743
parentd0ab5c4fe6218ebe49dc20ae53420e79d5ce5aad (diff)
downloadlibxml2-1bd24d448af5a383953fdfbc5fc467f93be06894.tar.gz
Fix compiler warning in examples
-rw-r--r--doc/examples/parse4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/parse4.c b/doc/examples/parse4.c
index 49191d5b..ae8d332a 100644
--- a/doc/examples/parse4.c
+++ b/doc/examples/parse4.c
@@ -136,7 +136,7 @@ int main(int argc, char **argv) {
return(0);
}
#else /* ! LIBXML_PUSH_ENABLED */
-int main(int argc, char **argv) {
+int main(void) {
fprintf(stderr, "Library not compiled with push parser support\n");
return(0);
}