[gst-devel] remove NULL/0 initialisation in _init()
Jan Schmidt
thaytan at noraisin.net
Tue Jun 26 11:25:26 CEST 2007
Stefan Kost wrote:
> hi,
>
> 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.
J.
More information about the gstreamer-devel
mailing list