From f8114e05c5983b8abb77300444678970f1139745 Mon Sep 17 00:00:00 2001 From: Honza <honza@Pinguino.zoo> Date: Sun, 8 Dec 2013 13:12:42 +0100 Subject: [PATCH] minor: unused variable warning silence the compiler --- alib/src/sax/SaxInterface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/alib/src/sax/SaxInterface.cpp b/alib/src/sax/SaxInterface.cpp index b963e752bf..6370398af1 100644 --- a/alib/src/sax/SaxInterface.cpp +++ b/alib/src/sax/SaxInterface.cpp @@ -65,6 +65,8 @@ void SaxInterface::characters(void * userData, const xmlChar * ch, int len) { } void SaxInterface::startElement(void* userData, const xmlChar* name, const xmlChar** attrs) { + (void)attrs; + list<Token> &out = *((list<Token>*) userData); out.push_back(Token((char*) name, Token::START_ELEMENT)); } -- GitLab