Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
465c3330
Commit
465c3330
authored
Jul 11, 2013
by
Michal 'vorner' Vaner
Browse files
Fix warnings during compilation
Don't warn about static cast of function pointer print.
parent
01f159a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/auth/tests/datasrc_clients_builder_unittest.cc
View file @
465c3330
...
...
@@ -125,7 +125,8 @@ TEST_F(DataSrcClientsBuilderTest, commandFinished) {
EXPECT_EQ
(
2
,
queue_mutex
.
unlock_count
);
// There's one callback in the queue
ASSERT_EQ
(
1
,
callback_queue
.
size
());
EXPECT_EQ
(
emptyCallsback
,
callback_queue
.
front
());
// Not using EXPECT_EQ, as that produces warning in printing out the result
EXPECT_TRUE
(
emptyCallsback
==
callback_queue
.
front
());
// And we are woken up.
char
c
;
int
result
=
recv
(
read_end
,
&
c
,
1
,
MSG_DONTWAIT
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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