[PATCH] libosmo-netif[master]: examples/lapd-over-datagram-network: Fix compiler warning

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Nov 11 14:33:53 UTC 2016


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

examples/lapd-over-datagram-network: Fix compiler warning

lapd-over-datagram-network.c:38:12: warning: ‘sapi’ defined but not used [-Wunused-variable]
 static int sapi = 63, tei = 0;
            ^~~~

Change-Id: If367deb0e0d7d5e031db2bd905179263d18703f0
---
M examples/lapd-over-datagram-network.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/30/1230/1

diff --git a/examples/lapd-over-datagram-network.c b/examples/lapd-over-datagram-network.c
index 8d3fbde..9b41808 100644
--- a/examples/lapd-over-datagram-network.c
+++ b/examples/lapd-over-datagram-network.c
@@ -35,7 +35,7 @@
 
 static struct osmo_dgram *conn;
 static struct lapd_instance *lapd;
-static int sapi = 63, tei = 0;
+static int tei = 0;
 
 void sighandler(int foo)
 {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If367deb0e0d7d5e031db2bd905179263d18703f0
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list