[libdmapsharing] Remove use of G_GNUC_FALLTHROUGH
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdmapsharing] Remove use of G_GNUC_FALLTHROUGH
- Date: Tue, 30 Jun 2020 21:24:15 +0000 (UTC)
commit c4f3b677ffe7fb347429653999110f0e6ea61a1f
Author: W. Michael Petullo <mike flyn org>
Date: Tue Jun 30 16:23:59 2020 -0500
Remove use of G_GNUC_FALLTHROUGH
G_GNUC_FALLTHROUGH was not available until glib-2.60. Avoiding it allows
libdmapsharing to compile in more places.
Closes 17.
tests/test-dmap-server.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/tests/test-dmap-server.c b/tests/test-dmap-server.c
index e256415..35c5fcc 100644
--- a/tests/test-dmap-server.c
+++ b/tests/test-dmap-server.c
@@ -83,7 +83,8 @@ create_share (guint conn_type, GMainLoop *loop)
switch (conn_type) {
default:
g_idle_add(_quit, loop);
- G_GNUC_FALLTHROUGH;
+ factory = DMAP_RECORD_FACTORY (test_dmap_av_record_factory_new ());
+ break;
case DAAP:
factory = DMAP_RECORD_FACTORY (test_dmap_av_record_factory_new ());
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]