summaryrefslogtreecommitdiff
path: root/agent/discovery.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2013-12-17 09:24:03 +0000
committerOlivier Crête <olivier.crete@collabora.com>2013-12-18 17:50:21 -0500
commit71fa5bb8716ea311fc3a1d9cc845a123eb8cd4cc (patch)
treef94b73a042c7e1b32b4a65a71aaef52611966588 /agent/discovery.c
parentbb2763883620976b4ca64c9f4c1871c00d82b994 (diff)
downloadlibnice-71fa5bb8716ea311fc3a1d9cc845a123eb8cd4cc.tar.gz
Add missing ‘default’ cases to switches
This shuts GCC’s -Wswitch-default warning, and makes the code flow a little more explicit. This introduces no functional changes.
Diffstat (limited to 'agent/discovery.c')
-rw-r--r--agent/discovery.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/agent/discovery.c b/agent/discovery.c
index 56995c6..bffc286 100644
--- a/agent/discovery.c
+++ b/agent/discovery.c
@@ -987,6 +987,9 @@ static gboolean priv_discovery_tick_unlocked (gpointer pointer)
++not_done; /* note: retry later */
break;
}
+ default:
+ /* Nothing to do. */
+ break;
}
} else {