summaryrefslogtreecommitdiff
path: root/python/modules/IcePy/Endpoint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'python/modules/IcePy/Endpoint.cpp')
-rw-r--r--python/modules/IcePy/Endpoint.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/modules/IcePy/Endpoint.cpp b/python/modules/IcePy/Endpoint.cpp
index 967b5951abe..a92396f8324 100644
--- a/python/modules/IcePy/Endpoint.cpp
+++ b/python/modules/IcePy/Endpoint.cpp
@@ -100,7 +100,7 @@ endpointCompare(EndpointObject* p1, PyObject* other, int op)
extern "C"
#endif
static PyObject*
-endpointToString(EndpointObject* self)
+endpointToString(EndpointObject* self, PyObject* /*args*/)
{
assert(self->endpoint);
try
@@ -121,14 +121,14 @@ extern "C"
static PyObject*
endpointRepr(EndpointObject* self)
{
- return endpointToString(self);
+ return endpointToString(self, 0);
}
#ifdef WIN32
extern "C"
#endif
static PyObject*
-endpointGetInfo(EndpointObject* self)
+endpointGetInfo(EndpointObject* self, PyObject* /*args*/)
{
assert(self->endpoint);
try