projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e67c3cf
)
Move a assignment to the relevant #ifdef branch
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 7 Sep 2009 07:02:58 +0000
(
03:02
-0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 7 Sep 2009 07:02:58 +0000
(
03:02
-0400)
Dead code spotted by clang.
gio/gcancellable.c
patch
|
blob
|
history
diff --git
a/gio/gcancellable.c
b/gio/gcancellable.c
index
e73d384
..
36973ad
100644
(file)
--- 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)
{