Browse files

Merge pull request #307 from ianbarber/master

Initialise more value
  • Loading branch information...
2 parents 97fd74a + ef54bae commit 0acacbe641a70d9230d85abb6b46170e34d50a02 @hintjens hintjens committed Mar 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/C++/zmsg.hpp
View
2 examples/C++/zmsg.hpp
@@ -109,7 +109,7 @@ class zmsg {
data[message.size()] = 0;
push_back((char *)data.c_str());
}
- int64_t more;
+ int64_t more = 0;
size_t more_size = sizeof(more);
socket.getsockopt(ZMQ_RCVMORE, &more, &more_size);
if (!more) {

0 comments on commit 0acacbe

Please sign in to comment.