diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-01-03 20:50:24 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-01-03 20:50:24 +0100 |
commit | 95eebbfffaf512d81721697026dbb5434c12c27d (patch) | |
tree | 92796f5f2179eb6cb9f47cdd8a398e9913563370 /src | |
parent | 51d2d9b9f82526a9b471dda272c1d54b3d1b1152 (diff) |
sunos/gcc3 compilation issue fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/sub.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sub.cpp b/src/sub.cpp index bd70a55..d2b4f96 100644 --- a/src/sub.cpp +++ b/src/sub.cpp @@ -50,7 +50,7 @@ int zmq::sub_t::xsetsockopt (int option_, const void *optval_, memcpy (data + 1, optval_, optvallen_); // Pass it further on in the stack. - int err; + int err = 0; int rc = xsend (&msg, 0); if (rc != 0) err = errno; |