Change in ...osmo-msc[master]: libmsc/gsm_09_11.c: avoid double zero-initialization of gsup_msg

laforge gerrit-no-reply at lists.osmocom.org
Mon Jun 17 21:55:34 UTC 2019


laforge has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-msc/+/14499 )

Change subject: libmsc/gsm_09_11.c: avoid double zero-initialization of gsup_msg
......................................................................

libmsc/gsm_09_11.c: avoid double zero-initialization of gsup_msg

Change-Id: Ib991b01534499401e7a0c3de49ceba770fdd9b48
---
M src/libmsc/gsm_09_11.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  pespin: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/libmsc/gsm_09_11.c b/src/libmsc/gsm_09_11.c
index 7e1f580..cd54703 100644
--- a/src/libmsc/gsm_09_11.c
+++ b/src/libmsc/gsm_09_11.c
@@ -57,7 +57,7 @@
 static void ncss_session_timeout_handler(void *_trans)
 {
 	struct gsm_trans *trans = (struct gsm_trans *) _trans;
-	struct osmo_gsup_message gsup_msg = { 0 };
+	struct osmo_gsup_message gsup_msg;
 
 	/* The timeout might be disabled from the VTY */
 	if (trans->net->ncss_guard_timeout == 0)

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/14499
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: Ib991b01534499401e7a0c3de49ceba770fdd9b48
Gerrit-Change-Number: 14499
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190617/bc25bb82/attachment.html>


More information about the gerrit-log mailing list