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:
parent
b642237e96
commit
8d1889c116
1 changed files with 0 additions and 2 deletions
|
@ -15,8 +15,6 @@ public:
|
|||
*/
|
||||
globalwrap()
|
||||
{
|
||||
storage = NULL;
|
||||
state = 0;
|
||||
(*this)();
|
||||
}
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue