int parse_depth = 0;
XML_Parser parser;
//---------------------------------------------------------------------------
-int ParseAns(void * data, const char *el, const char **attr)
+int ParseAns(void *, const char *el, const char **attr)
{
if (strcasecmp(el, "ServerInfo") == 0 || strcasecmp(el, "Tariffs") == 0 || strcasecmp(el, "Admins") == 0 || strcasecmp(el, "Users") == 0 || strcasecmp(el, "user") == 0)
{
}
}
//-----------------------------------------------------------------------------
-void EndElement(void *data, const char *el)
+void EndElement(void *, const char *el)
{
parse_depth--;
if (strcasecmp(el, "ServerInfo") == 0 || strcasecmp(el, "Tariffs") == 0 || strcasecmp(el, "Admins") == 0 || strcasecmp(el, "Users") == 0 || strcasecmp(el, "tariff") == 0 || strcasecmp(el, "user") == 0)
}
}
//---------------------------------------------------------------------------
-int ParseReply(void * data, list<string> * ans)
+int ParseReply(void *, list<string> * ans)
//int ParseReply(void * data, SLIST * ans)
{
//char answ[ENC_MSG_LEN + 1];
if (++n == ans->end())
done = 1;
- n--;
+ --n;
if (XML_Parse(parser, n->c_str(), len, done) == XML_STATUS_ERROR)
{