[gst-devel] remove NULL/0 initialisation in _init()
thaytan at noraisin.net
Tue Jun 26 11:25:26 CEST 2007
Stefan Kost wrote:
> not a big issue, but in most instance _init() functions we set members
> to NULL/0 which is superflous. If you look at
> gobjec/gtype.c/g_type_create_instance (GType type) you'll see that it
> is using g_slice_new0 (was g_new0 in the past).
> Is it okay, if I clean up the redundant inits?
I usually put them in to make the initial state crystal clear. I'd be ok
with just commenting them out though.
More information about the gstreamer-devel