It is permissible to pass an uninitialised object
2ab3b14731/toxcore/tox.h (L499-L501)
This commit is contained in:
parent
9cb26831bc
commit
225e695a3d
|
@ -225,7 +225,6 @@ VALUE cTox_cOptions_initialize(const VALUE self)
|
|||
|
||||
Data_Get_Struct(self, cTox_cOptions_, tox_options);
|
||||
|
||||
memset(tox_options, 0, sizeof(cTox_cOptions_));
|
||||
tox_options_default(tox_options);
|
||||
|
||||
return self;
|
||||
|
|
Reference in New Issue