projects
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6833a65
)
Fixed gcc-4.9 warning
author
khizmax
<libcds.dev@gmail.com>
Tue, 21 Jul 2015 19:09:49 +0000
(22:09 +0300)
committer
khizmax
<libcds.dev@gmail.com>
Tue, 21 Jul 2015 19:09:49 +0000
(22:09 +0300)
cds/intrusive/skip_list_rcu.h
patch
|
blob
|
history
diff --git
a/cds/intrusive/skip_list_rcu.h
b/cds/intrusive/skip_list_rcu.h
index 43692993ec25f2ae9944f4c4f6a4de7ae605005a..58ac7eda18d3aa7fd4d9c413cb42b8d5558fd5d4 100644
(file)
--- a/
cds/intrusive/skip_list_rcu.h
+++ b/
cds/intrusive/skip_list_rcu.h
@@
-1882,7
+1882,7
@@
namespace cds { namespace intrusive {
CDS_UNUSED( pred );
assert( gc::is_locked());
- value_type * pFound;
+ value_type * pFound
= nullptr
;
position pos;
if ( do_find_with( key, cds::opt::details::make_comparator_from_less<Less>(),
[&pFound](value_type& found, Q const& ) { pFound = &found; }, pos ))