diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-04-05 10:26:23 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-04-06 12:54:19 +0200 |
commit | 494d4d36237f37c455f6689fca280ed75498403a (patch) | |
tree | a4441786b9dc656910ed32bafdb5da93b73145e5 /src/ipc_listener.cpp | |
parent | 6b20f4f6f46975eb5c0219e3b8a841a64643ce4b (diff) |
Verious warnings generated by SunStudio fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/ipc_listener.cpp')
-rw-r--r-- | src/ipc_listener.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ipc_listener.cpp b/src/ipc_listener.cpp index bd2e5c7..b3e5693 100644 --- a/src/ipc_listener.cpp +++ b/src/ipc_listener.cpp @@ -83,11 +83,11 @@ void xs::ipc_listener_t::in_event (fd_t fd_) // Choose I/O thread to run connecter in. Given that we are already // running in an I/O thread, there must be at least one available. - io_thread_t *io_thread = choose_io_thread (options.affinity); - xs_assert (io_thread); + io_thread_t *thread = choose_io_thread (options.affinity); + xs_assert (thread); // Create and launch a session object. - session_base_t *session = session_base_t::create (io_thread, false, socket, + session_base_t *session = session_base_t::create (thread, false, socket, options, NULL, NULL); errno_assert (session); session->inc_seqnum (); |