GInitable, GAsyncInitable: not initializing gives undefined behaviour
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 20 Oct 2011 14:01:47 +0000 (15:01 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 23 Nov 2011 12:30:06 +0000 (12:30 +0000)
commit0104c62f3fda9016658809d79cf395d78611e35a
treeefd77fa4c9118a078e9d0421d28dbebe1b1bbd8b
parent968ef5f5ffbe5e694bae3052bea34e9b9d1aef35
GInitable, GAsyncInitable: not initializing gives undefined behaviour

This is the ISO C sense of undefined behaviour, in which
works-by-coincidence, critical warning, abort, demons-fly-out-of-your-nose
are all valid implementations.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662208
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: David Zeuthen <davidz@redhat.com>
gio/gasyncinitable.c
gio/ginitable.c