[PATCH] osmo-bts[master]: fix compiler warning: add explicit switch default

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu Jun 16 02:33:38 UTC 2016


Review at  https://gerrit.osmocom.org/288

fix compiler warning: add explicit switch default

Change-Id: I7979e10551023c1f52f04b4e93ea1706cf0bef39
---
M src/common/phy_link.c
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/88/288/1

diff --git a/src/common/phy_link.c b/src/common/phy_link.c
index 131fd2c..1a21a4e 100644
--- a/src/common/phy_link.c
+++ b/src/common/phy_link.c
@@ -71,6 +71,9 @@
 			LOGP(DL1C, LOGL_INFO, "trx_set_avail(0)\n");
 			trx_set_available(trx, 0);
 			break;
+		default:
+			/* nothing to do */
+			break;
 		}
 	}
 

-- 
To view, visit https://gerrit.osmocom.org/288
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7979e10551023c1f52f04b4e93ea1706cf0bef39
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list