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