Change in osmo-hnodeb[master]: llsk_audio: Fix false positive about uninitialized var access

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/.

pespin gerrit-no-reply at lists.osmocom.org
Fri Dec 17 12:40:47 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-hnodeb/+/26603 )


Change subject: llsk_audio: Fix false positive about uninitialized var access
......................................................................

llsk_audio: Fix false positive about uninitialized var access

Let's make gcc in Ubuntu 21.10 happy.

Change-Id: If085b0ca0e1d3e7237696eb67cf6301ea84793e0
---
M src/osmo-hnodeb/llsk_audio.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-hnodeb refs/changes/03/26603/1

diff --git a/src/osmo-hnodeb/llsk_audio.c b/src/osmo-hnodeb/llsk_audio.c
index 7ce5c09..a600c3c 100644
--- a/src/osmo-hnodeb/llsk_audio.c
+++ b/src/osmo-hnodeb/llsk_audio.c
@@ -152,7 +152,7 @@
 	char rem_addrstr[INET6_ADDRSTRLEN+32];
 	struct osmo_sockaddr rem_osa = {0};
 	union u_addr loc_uaddr = {0};
-	uint16_t loc_port;
+	uint16_t loc_port = 0;
 	struct rtp_conn *conn = NULL;
 
 	rc = ll_addr2osa(ce_req->remote_rtp_address_type, &ce_req->remote_rtp_addr, ce_req->remote_rtp_port, &rem_osa);

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

Gerrit-Project: osmo-hnodeb
Gerrit-Branch: master
Gerrit-Change-Id: If085b0ca0e1d3e7237696eb67cf6301ea84793e0
Gerrit-Change-Number: 26603
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211217/43cd8424/attachment.htm>


More information about the gerrit-log mailing list