Change in osmo-msc[master]: vlr_gsup_rx: fix uninitialized rc

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 gerrit-no-reply at lists.osmocom.org
Mon Jan 6 17:02:08 UTC 2020


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/16742 )


Change subject: vlr_gsup_rx: fix uninitialized rc
......................................................................

vlr_gsup_rx: fix uninitialized rc

Change-Id: Id7776a473b8356d1d136d78736698f20accc7a36
---
M src/libvlr/vlr.c
1 file changed, 1 insertion(+), 1 deletion(-)



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

diff --git a/src/libvlr/vlr.c b/src/libvlr/vlr.c
index 1a753dc..f644df8 100644
--- a/src/libvlr/vlr.c
+++ b/src/libvlr/vlr.c
@@ -1069,7 +1069,7 @@
 {
 	struct vlr_instance *vlr = data;
 	struct vlr_subscr *vsub;
-	int rc;
+	int rc = 0;
 
 	vsub = vlr_subscr_find_by_imsi(vlr, gsup->imsi, __func__);
 	if (!vsub) {

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

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: Id7776a473b8356d1d136d78736698f20accc7a36
Gerrit-Change-Number: 16742
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200106/e138eb0a/attachment.htm>


More information about the gerrit-log mailing list