summaryrefslogtreecommitdiff
path: root/src/msg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/msg.cpp')
-rw-r--r--src/msg.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/msg.cpp b/src/msg.cpp
index bd6f066..fa871db 100644
--- a/src/msg.cpp
+++ b/src/msg.cpp
@@ -188,6 +188,7 @@ void *zmq::msg_t::data ()
return u.lmsg.content->data;
default:
zmq_assert (false);
+ return NULL;
}
}
@@ -203,6 +204,7 @@ size_t zmq::msg_t::size ()
return u.lmsg.content->size;
default:
zmq_assert (false);
+ return 0;
}
}