summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-04-09 07:03:05 +0200
committerMartin Sustrik <sustrik@250bpm.com>2012-04-10 06:52:31 +0200
commitc55b285b7d44c796adce0818ac0d043d16090a33 (patch)
treef510a51f14a3a442bf4590a7d4845d2a54ac2a27
parent1590bf3fb591c23d6d96a3335247e85c72b39d43 (diff)
Fix a warning with SunStudio compiler
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-rw-r--r--src/req.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/req.cpp b/src/req.cpp
index 0094929..da9dd0e 100644
--- a/src/req.cpp
+++ b/src/req.cpp
@@ -87,7 +87,7 @@ int xs::req_t::xrecv (msg_t *msg_, int flags_)
// First part of the reply should be the original request ID.
if (message_begins) {
- int rc = xreq_t::xrecv (msg_, flags_);
+ rc = xreq_t::xrecv (msg_, flags_);
if (rc != 0)
return rc;