[PATCH] osmo-msc[master]: compiler warning: extend #if 0 to include unused array

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
Mon Dec 18 02:27:16 UTC 2017


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

compiler warning: extend #if 0 to include unused array

Change-Id: I5157d6c6d0aab469011ea648369f8e743e2cb085
---
M src/libmsc/silent_call.c
1 file changed, 0 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/67/5467/1

diff --git a/src/libmsc/silent_call.c b/src/libmsc/silent_call.c
index b9a8ed9..a99f218 100644
--- a/src/libmsc/silent_call.c
+++ b/src/libmsc/silent_call.c
@@ -85,7 +85,6 @@
 	LOGP(DLSMS, LOGL_NOTICE, "Discarding L3 message from a silent call.\n");
 	return 0;
 }
-#endif
 
 struct msg_match {
 	uint8_t pdisc;
@@ -98,7 +97,6 @@
 	{ GSM48_PDISC_MM, GSM48_MT_MM_CM_SERV_REQ },
 };
 
-#if 0
 /* decide if we need to reroute a message as part of a silent call */
 int silent_call_reroute(struct gsm_subscriber_connection *conn, struct msgb *msg)
 {

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

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



More information about the gerrit-log mailing list