Skip to content

Commit 05d088f

Browse files
committed
Bug#31347488 CLANG COMPILER WARNINGS [noclose]
Building the ndbcluster plugin source code with clang 10 yields some compiler warnings. The warnings pinpoint certain code constructs which could be improved. Fix compiler warnings like: - warning: unused variable 'sj_nest' [-Wunused-variable] const ndb_table_access_map sj_nest(m_tables[tab_no].m_sj_nest); ^ Change-Id: Icf425452d335d56f48bdc9fea2b9f6a35b5ac009
1 parent 7af5445 commit 05d088f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

storage/ndb/plugin/ha_ndbcluster_push.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,6 @@ bool ndb_pushed_builder_ctx::is_pushable_as_child_scan(
12921292
// (We support semi-join only if firstMatch strategy is used)
12931293
DBUG_ASSERT(m_tables[tab_no].m_sj_nest.contain(table->get_access_no()));
12941294

1295-
const ndb_table_access_map sj_nest(m_tables[tab_no].m_sj_nest);
12961295
if (!is_pushable_within_nest(table, m_tables[tab_no].m_sj_nest, "semi")) {
12971296
return false;
12981297
}

0 commit comments

Comments
 (0)