summaryrefslogtreecommitdiff
path: root/python/modules/IcePy/Endpoint.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2019-01-11 18:09:22 +0100
committerJose <jose@zeroc.com>2019-01-11 18:10:30 +0100
commit6fe6fb0f50e7e1cf64d64c2c8d8d03122fed2eb9 (patch)
tree21ae24549d02f8fd98d8211949dfdd4ab588d114 /python/modules/IcePy/Endpoint.cpp
parentFix whitespace (diff)
downloadice-6fe6fb0f50e7e1cf64d64c2c8d8d03122fed2eb9.tar.bz2
ice-6fe6fb0f50e7e1cf64d64c2c8d8d03122fed2eb9.tar.xz
ice-6fe6fb0f50e7e1cf64d64c2c8d8d03122fed2eb9.zip
GCC 8 Build fixes for Python, PHP and Ruby
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