[PATCH] openbsc[master]: remove compiler warning: unused rc in vty_interface_layer3

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
Sat Feb 18 22:11:59 UTC 2017


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

remove compiler warning: unused rc in vty_interface_layer3

Change-Id: I3dc94dc4bddc5a887ce196071327a6dddfe5b280
---
M openbsc/src/libmsc/vty_interface_layer3.c
1 file changed, 0 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/49/1849/1

diff --git a/openbsc/src/libmsc/vty_interface_layer3.c b/openbsc/src/libmsc/vty_interface_layer3.c
index 11d9022..ddec2e3 100644
--- a/openbsc/src/libmsc/vty_interface_layer3.c
+++ b/openbsc/src/libmsc/vty_interface_layer3.c
@@ -517,7 +517,6 @@
       "subscriber " SUBSCR_TYPES " ID expire",
 	SUBSCR_HELP "Expire the subscriber Now\n")
 {
-	int rc;
 	struct gsm_network *gsmnet = gsmnet_from_vty(vty);
 	struct gsm_subscriber *subscr =
 			get_subscr_by_argv(gsmnet, argv[0], argv[1]);

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

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



More information about the gerrit-log mailing list