Revert initializing globalwrap state

Leave globalwrap state as uninitialized, even if that causes a compile
warning as initializing breaks AVI dumping on Windows. All globalwraps
should have static storage duration anyway, and C++ can not have
uninitialized variables with static storage duration.
This commit is contained in:
Ilari Liusvaara 2021-02-15 23:16:40 +02:00
parent b642237e96
commit 8d1889c116

View file

@ -15,8 +15,6 @@ public:
*/
globalwrap()
{
storage = NULL;
state = 0;
(*this)();
}
/**