Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
32188358
Commit
32188358
authored
Sep 12, 2019
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix maybe-uninitialized warnings
parent
f3ccd27d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
libcaf_core/src/node_id.cpp
libcaf_core/src/node_id.cpp
+1
-1
libcaf_io/test/typed_broker.cpp
libcaf_io/test/typed_broker.cpp
+2
-2
No files found.
libcaf_core/src/node_id.cpp
View file @
32188358
...
@@ -204,7 +204,7 @@ error node_id::serialize(serializer& sink) const {
...
@@ -204,7 +204,7 @@ error node_id::serialize(serializer& sink) const {
}
}
error
node_id
::
deserialize
(
deserializer
&
source
)
{
error
node_id
::
deserialize
(
deserializer
&
source
)
{
a
tom_value
impl
;
a
uto
impl
=
static_cast
<
atom_value
>
(
0
)
;
if
(
auto
err
=
source
(
impl
))
if
(
auto
err
=
source
(
impl
))
return
err
;
return
err
;
if
(
impl
==
atom
(
""
))
{
if
(
impl
==
atom
(
""
))
{
...
...
libcaf_io/test/typed_broker.cpp
View file @
32188358
...
@@ -120,8 +120,8 @@ peer::behavior_type peer_fun(peer::broker_pointer self, connection_handle hdl,
...
@@ -120,8 +120,8 @@ peer::behavior_type peer_fun(peer::broker_pointer self, connection_handle hdl,
},
},
[
=
](
const
new_data_msg
&
msg
)
{
[
=
](
const
new_data_msg
&
msg
)
{
CAF_MESSAGE
(
"received new_data_msg"
);
CAF_MESSAGE
(
"received new_data_msg"
);
a
tom_value
x
;
a
uto
x
=
static_cast
<
atom_value
>
(
0
)
;
int
y
;
auto
y
=
0
;
binary_deserializer
source
{
self
->
system
(),
msg
.
buf
};
binary_deserializer
source
{
self
->
system
(),
msg
.
buf
};
auto
e
=
source
(
x
,
y
);
auto
e
=
source
(
x
,
y
);
CAF_REQUIRE
(
!
e
);
CAF_REQUIRE
(
!
e
);
...
...
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