Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
92c3859b
authored
9 years ago
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
containers_cpp: fixed uninitialized variables in test
parent
8997116e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
containers_cpp/test/hazard_pointer_test.cc
+2
-2
No files found.
containers_cpp/test/hazard_pointer_test.cc
View file @
92c3859b
...
...
@@ -210,7 +210,7 @@ void HazardPointerTest2::DeletePointerCallback(int* to_delete) {
}
bool
HazardPointerTest2
::
SetRelativeGuards
()
{
unsigned
int
thread_index
;
unsigned
int
thread_index
=
0
;
int
result
=
embb_internal_thread_index
(
&
thread_index
);
PT_ASSERT
(
EMBB_SUCCESS
==
result
);
...
...
@@ -451,7 +451,7 @@ void HazardPointerTest2::HazardPointerTest2Post() {
void
HazardPointerTest2
::
HazardPointerTest2ThreadMethod
()
{
for
(;;)
{
unsigned
int
thread_index
;
unsigned
int
thread_index
=
0
;
int
result
=
embb_internal_thread_index
(
&
thread_index
);
PT_ASSERT
(
EMBB_SUCCESS
==
result
);
...
...
This diff is collapsed.
Click to expand it.
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