From c6665f46be7eb701866441087c35cdb1a08fc641 Mon Sep 17 00:00:00 2001 From: malosek Date: Wed, 16 Sep 2009 14:57:22 +0200 Subject: set rc to 0 in its declaration (pyzmq.cpp) --- python/pyzmq.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyzmq.cpp b/python/pyzmq.cpp index 47478e0..628d037 100644 --- a/python/pyzmq.cpp +++ b/python/pyzmq.cpp @@ -139,7 +139,7 @@ PyObject *socket_setsockopt (socket_t *self, PyObject *args, PyObject *kwdict) return NULL; } - int rc; + int rc = 0; switch (option) { case ZMQ_HWM: -- cgit v1.2.3