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