From 1ec32c403bac36ca9f72e82c23b14045bc323931 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 7 Sep 2009 03:02:58 -0400 Subject: [PATCH] Move a assignment to the relevant #ifdef branch Dead code spotted by clang. --- gio/gcancellable.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gio/gcancellable.c b/gio/gcancellable.c index e73d38408..36973ad93 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) {