Skip to content

Commit b8db0ec

Browse files
author
Daniel Kroening
authored
Merge pull request #3319 from tautschnig/vs-ns-twice
Do not declare ns twice [blocks: #2310]
2 parents 386ea88 + 4d18136 commit b8db0ec

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/linking/static_lifetime_init.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ void static_lifetime_init(
115115

116116
if(symbol.value.is_nil())
117117
{
118-
const namespacet ns(symbol_table);
119118
const auto zero = zero_initializer(symbol.type, symbol.location, ns);
120119
CHECK_RETURN(zero.has_value());
121120
rhs = *zero;

0 commit comments

Comments
 (0)