1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-24 21:33:51 +03:00

Fix unused-parameter warnings

This commit is contained in:
Nick Wellnhofer 2017-06-17 14:12:53 +02:00
parent 1ce1f7852c
commit 81c01ee9ff
3 changed files with 4 additions and 3 deletions

View File

@ -177,7 +177,7 @@ typedef struct gjob {
static gJobPtr
parseGjobFile(char *filename) {
parseGjobFile(char *filename ATTRIBUTE_UNUSED) {
xmlDocPtr doc;
gJobPtr ret;
jobPtr curjob;

View File

@ -2163,7 +2163,8 @@ static void processNode(FILE *out, xmlTextReaderPtr reader) {
}
static int
streamProcessTest(const char *filename, const char *result, const char *err,
xmlTextReaderPtr reader, const char *rng, int options) {
xmlTextReaderPtr reader, const char *rng,
int options ATTRIBUTE_UNUSED) {
int ret;
char *temp = NULL;
FILE *t = NULL;

View File

@ -1876,7 +1876,7 @@ xmlIOHTTPOpen (const char *filename) {
*/
void *
xmlIOHTTPOpenW(const char *post_uri, int compression)
xmlIOHTTPOpenW(const char *post_uri, int compression ATTRIBUTE_UNUSED)
{
xmlIOHTTPWriteCtxtPtr ctxt = NULL;