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