summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormalosek <malosek@fastmq.com>2009-09-16 14:57:22 +0200
committermalosek <malosek@fastmq.com>2009-09-16 14:57:22 +0200
commitc6665f46be7eb701866441087c35cdb1a08fc641 (patch)
treefe1d34a108da93f539b207e13385a2e621c3040b
parent3b2c3cae095abf9b61cd72cf19f053071a8c614a (diff)
set rc to 0 in its declaration (pyzmq.cpp)
-rw-r--r--python/pyzmq.cpp2
1 files changed, 1 insertions, 1 deletions
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: