mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
Move a assignment to the relevant #ifdef branch
Dead code spotted by clang.
This commit is contained in:
parent
e67c3cf2b0
commit
1ec32c403b
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user