Warn on redundant call to exec_static_constructors()

This commit is contained in:
Christian Helmuth
2018-04-03 17:09:47 +02:00
parent b3791fabc2
commit 92edcb17e5
3 changed files with 4 additions and 6 deletions

View File

@ -504,8 +504,5 @@ struct Nitlog::Main
void Component::construct(Genode::Env &env)
{
/* XXX execute constructors of global statics */
env.exec_static_constructors();
static Nitlog::Main main(env);
}