From ee483bab1e0d0e6acdb0310007757c00d10f64c2 Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Wed, 26 Dec 2012 19:08:48 +0000 Subject: Fixed GCC warnings; added -Werror to GCC builds --- py/modules/IcePy/Endpoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/modules/IcePy/Endpoint.cpp') diff --git a/py/modules/IcePy/Endpoint.cpp b/py/modules/IcePy/Endpoint.cpp index 314a163c5d1..8da02fe06bc 100644 --- a/py/modules/IcePy/Endpoint.cpp +++ b/py/modules/IcePy/Endpoint.cpp @@ -54,7 +54,7 @@ extern "C" static PyObject* endpointCompare(EndpointObject* p1, PyObject* other, int op) { - bool result; + bool result = false; if(PyObject_TypeCheck(other, &EndpointType)) { -- cgit v1.2.3