Move a assignment to the relevant #ifdef branch

Dead code spotted by clang.
This commit is contained in:
Matthias Clasen 2009-09-07 03:02:58 -04:00
parent e67c3cf2b0
commit 1ec32c403b

View File

@ -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)
{