Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
7afd6ab5
Commit
7afd6ab5
authored
Sep 01, 2017
by
Constantin Rack
Committed by
GitHub
Sep 01, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2732 from bluca/compiler_warnings
Problems: compiler warnings
parents
31e3977a
8feed48b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
session_base.cpp
src/session_base.cpp
+2
-0
socket_base.cpp
src/socket_base.cpp
+3
-0
test_poller.cpp
tests/test_poller.cpp
+2
-2
No files found.
src/session_base.cpp
View file @
7afd6ab5
...
...
@@ -433,11 +433,13 @@ void zmq::session_base_t::engine_error (
switch
(
reason
)
{
case
stream_engine_t
:
:
timeout_error
:
/* FALLTHROUGH */
case
stream_engine_t
:
:
connection_error
:
if
(
active
)
{
reconnect
();
break
;
}
/* FALLTHROUGH */
case
stream_engine_t
:
:
protocol_error
:
if
(
pending
)
{
if
(
pipe
)
...
...
src/socket_base.cpp
View file @
7afd6ab5
...
...
@@ -224,6 +224,9 @@ zmq::socket_base_t::socket_base_t (ctx_t *parent_, uint32_t tid_, int sid_, bool
int
zmq
::
socket_base_t
::
get_peer_state
(
const
void
*
identity
,
size_t
identity_size
)
const
{
LIBZMQ_UNUSED
(
identity
);
LIBZMQ_UNUSED
(
identity_size
);
// Only ROUTER sockets support this
errno
=
ENOTSUP
;
return
-
1
;
...
...
tests/test_poller.cpp
View file @
7afd6ab5
...
...
@@ -225,7 +225,7 @@ void test_add_modify_remove_corner_cases(void *ctx)
assert
(
rc
==
0
);
}
void
test_wait_corner_cases
(
void
*
ctx
)
void
test_wait_corner_cases
(
void
)
{
void
*
poller
=
zmq_poller_new
();
assert
(
poller
!=
NULL
);
...
...
@@ -393,7 +393,7 @@ int main (void)
test_null_event_pointers
(
ctx
);
test_add_modify_remove_corner_cases
(
ctx
);
test_wait_corner_cases
(
ctx
);
test_wait_corner_cases
();
rc
=
zmq_poller_destroy
(
&
poller
);
assert
(
rc
==
0
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment