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

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Feb 19 08:52:48 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: remove compiler warning: unused rc in vty_interface_layer3
......................................................................


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(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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: merged
Gerrit-Change-Id: I3dc94dc4bddc5a887ce196071327a6dddfe5b280
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder


More information about the gerrit-log mailing list