a124f15
From dac6bb6043fc046f7cbad73c281eb258a981267f Mon Sep 17 00:00:00 2001
a124f15
From: Andreas Schneider <asn@cryptomilk.org>
a124f15
Date: Thu, 3 Jan 2019 10:41:40 +0100
a124f15
Subject: [PATCH 69/70] xmpsdk: Fix compile warnings in ExpatAdapter.cpp
a124f15
a124f15
The code has been enabled with -DBanAllEntityUsage=1
a124f15
a124f15
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
a124f15
---
a124f15
 xmpsdk/src/ExpatAdapter.cpp | 5 ++++-
a124f15
 1 file changed, 4 insertions(+), 1 deletion(-)
a124f15
a124f15
diff --git a/xmpsdk/src/ExpatAdapter.cpp b/xmpsdk/src/ExpatAdapter.cpp
a124f15
index 79669f52..09117c75 100644
a124f15
--- a/xmpsdk/src/ExpatAdapter.cpp
a124f15
+++ b/xmpsdk/src/ExpatAdapter.cpp
a124f15
@@ -484,7 +484,10 @@ static void CommentHandler ( void * userData, XMP_StringPtr comment )
a124f15
 static void StartDoctypeDeclHandler ( void * userData, XMP_StringPtr doctypeName,
a124f15
 									  XMP_StringPtr sysid, XMP_StringPtr pubid, int has_internal_subset )
a124f15
 {
a124f15
-	IgnoreParam(userData);
a124f15
+	IgnoreParam(doctypeName);
a124f15
+	IgnoreParam(sysid);
a124f15
+	IgnoreParam(pubid);
a124f15
+	IgnoreParam(has_internal_subset);
a124f15
 
a124f15
 	ExpatAdapter * thiz = (ExpatAdapter*)userData;
a124f15
 
a124f15
-- 
a124f15
2.17.2
a124f15