Skip to content

Commit 61fd15a

Browse files
fix unused variable warning that makes travis fail
1 parent da2bb3f commit 61fd15a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/linking/static_lifetime_init.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ bool static_lifetime_init(
156156

157157
// call designated "initialization" functions
158158

159+
#if 0
159160
for(const std::string &id : symbols)
160161
{
161-
#if 0
162162
const symbolt &symbol=ns.lookup(id);
163163

164164
if(symbol.type.id()==ID_code &&
@@ -169,8 +169,8 @@ bool static_lifetime_init(
169169
function_call.add_source_location()=source_location;
170170
dest.move_to_operands(function_call);
171171
}
172-
#endif
173172
}
173+
#endif
174174

175175
return false;
176176
}

0 commit comments

Comments
 (0)