summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ev.c b/ev.c
index 9686364..790baee 100644
--- a/ev.c
+++ b/ev.c
@@ -709,7 +709,9 @@ ev_default_loop (int methods)
void
ev_default_destroy (void)
{
+#if EV_MULTIPLICITY
struct ev_loop *loop = default_loop;
+#endif
ev_ref (EV_A); /* child watcher */
ev_signal_stop (EV_A_ &childev);