Skip to content

Commit 4d18136

Browse files
committed
Do not declare ns twice
There already is a function-wide declaration of the very same namespace.
1 parent 386ea88 commit 4d18136

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)