aboutsummaryrefslogtreecommitdiff
path: root/examples/outline.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/outline.c')
-rw-r--r--examples/outline.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/outline.c b/examples/outline.c
index 3a3c8385512a..d9b091761cd4 100644
--- a/examples/outline.c
+++ b/examples/outline.c
@@ -49,6 +49,7 @@ static void XMLCALL
start(void *data, const char *el, const char **attr)
{
int i;
+ (void)data;
for (i = 0; i < Depth; i++)
printf(" ");
@@ -66,6 +67,9 @@ start(void *data, const char *el, const char **attr)
static void XMLCALL
end(void *data, const char *el)
{
+ (void)data;
+ (void)el;
+
Depth--;
}
@@ -73,6 +77,9 @@ int
main(int argc, char *argv[])
{
XML_Parser p = XML_ParserCreate(NULL);
+ (void)argc;
+ (void)argv;
+
if (! p) {
fprintf(stderr, "Couldn't allocate memory for parser\n");
exit(-1);