[MERGED] osmo-pcu[master]: struct pcu_l1_meas_ts: initialize ms_i_level

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Dec 16 11:56:45 UTC 2016


Harald Welte has submitted this change and it was merged.

Change subject: struct pcu_l1_meas_ts: initialize ms_i_level
......................................................................


struct pcu_l1_meas_ts: initialize ms_i_level

Change-Id: I93de7589d746b91ba26b1b36bf2690f125277cd0
Fixes: Coverity CID 57953
---
M src/pcu_l1_if.h
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Max: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/pcu_l1_if.h b/src/pcu_l1_if.h
index d9d970d..9ab46a8 100644
--- a/src/pcu_l1_if.h
+++ b/src/pcu_l1_if.h
@@ -57,7 +57,8 @@
 	}
 
 	pcu_l1_meas_ts() :
-		have_ms_i_level(0)
+		have_ms_i_level(0),
+		ms_i_level(0)
 	{}
 #endif
 };

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I93de7589d746b91ba26b1b36bf2690f125277cd0
Gerrit-PatchSet: 2
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list