From 9b0cf7eed7d059ed3a6e9616921b264420f14690 Mon Sep 17 00:00:00 2001 From: khizmax Date: Tue, 21 Jul 2015 22:09:49 +0300 Subject: [PATCH] Fixed gcc-4.9 warning --- cds/intrusive/skip_list_rcu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cds/intrusive/skip_list_rcu.h b/cds/intrusive/skip_list_rcu.h index 43692993..58ac7eda 100644 --- 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(), [&pFound](value_type& found, Q const& ) { pFound = &found; }, pos )) -- 2.34.1