diff --git a/docs/examples/htmltitle.cc b/docs/examples/htmltitle.cc
index de7ff0339c..b02895f4ce 100644
--- a/docs/examples/htmltitle.cc
+++ b/docs/examples/htmltitle.cc
@@ -142,6 +142,7 @@ static void StartElement(void *voidContext,
context->title = "";
context->addTitle = true;
}
+ (void) attributes;
}
//