python: flag two unused args

This commit is contained in:
Stefan Kost 2011-05-09 12:52:28 +03:00
parent dff8d0f726
commit c31e06cc18

View File

@ -1745,7 +1745,7 @@ typedef struct
typedef xmlValidCtxtPyCtxt *xmlValidCtxtPyCtxtPtr; typedef xmlValidCtxtPyCtxt *xmlValidCtxtPyCtxtPtr;
static void static void
libxml_xmlValidCtxtGenericErrorFuncHandler(void *ctx, int severity, char *str) libxml_xmlValidCtxtGenericErrorFuncHandler(void *ctx, ATTRIBUTE_UNUSED int severity, char *str)
{ {
PyObject *list; PyObject *list;
PyObject *result; PyObject *result;
@ -1772,7 +1772,7 @@ libxml_xmlValidCtxtGenericErrorFuncHandler(void *ctx, int severity, char *str)
} }
static void static void
libxml_xmlValidCtxtGenericWarningFuncHandler(void *ctx, int severity, char *str) libxml_xmlValidCtxtGenericWarningFuncHandler(void *ctx, ATTRIBUTE_UNUSED int severity, char *str)
{ {
PyObject *list; PyObject *list;
PyObject *result; PyObject *result;