[PATCH] 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
Sat Nov 26 14:31:34 UTC 2016


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

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(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/29/1329/1

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: newchange
Gerrit-Change-Id: I93de7589d746b91ba26b1b36bf2690f125277cd0
Gerrit-PatchSet: 1
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list