From: Matthias Clasen Date: Mon, 7 Sep 2009 07:02:58 +0000 (-0400) Subject: Move a assignment to the relevant #ifdef branch X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=1ec32c403bac36ca9f72e82c23b14045bc323931;p=dana%2Fcg-glib.git Move a assignment to the relevant #ifdef branch Dead code spotted by clang. --- diff --git a/gio/gcancellable.c b/gio/gcancellable.c index e73d3840..36973ad9 100644 --- a/gio/gcancellable.c +++ b/gio/gcancellable.c @@ -510,9 +510,8 @@ g_cancellable_make_pollfd (GCancellable *cancellable, GPollFD *pollfd) return FALSE; g_return_val_if_fail (G_IS_CANCELLABLE (cancellable), FALSE); - priv = cancellable->priv; - #ifdef G_OS_WIN32 + priv = cancellable->priv; G_LOCK(cancellable); if (priv->event == NULL) {