Ensure g_inet_address_get_type() call is not optimized away
authorAlexander Larsson <alexl@redhat.com>
Thu, 30 Apr 2009 08:46:37 +0000 (10:46 +0200)
committerAlexander Larsson <alexl@redhat.com>
Thu, 30 Apr 2009 08:46:37 +0000 (10:46 +0200)
commitd8029ca9bc24bcff7f33c973ef13fae7e6fab904
tree424a52e6eeafaa0b019e23095bb0b90015569e7d
parent97fe421518139dcb3477209d3d3c3b6744f54153
Ensure g_inet_address_get_type() call is not optimized away

Yet another place where the get_type call can be optimized away due
to the G_GNUC_CONST attribute. Use a volatile variable to ensure
its not.
gio/gresolver.c