laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-e1-hardware/+/21797 )

Change subject: osmo_e1f: Fix use of uninitized variable
......................................................................

osmo_e1f: Fix use of uninitized variable

Change-Id: I42024856a58f0bd4fcc1c767688de5334994a8a8
---
M software/obsolete/osmo_e1f.c
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/software/obsolete/osmo_e1f.c b/software/obsolete/osmo_e1f.c
index 6a8725c..cbcd0db 100644
--- a/software/obsolete/osmo_e1f.c
+++ b/software/obsolete/osmo_e1f.c
@@ -206,7 +206,7 @@
 /* pull a single to-be-transmitted byte for TS0 */
 static uint8_t e1_pull_ts0(struct osmo_e1f_instance *e1i)
 {
-       uint8_t ret;
+       uint8_t ret = 0;

        /* according to Table 5B/G.704 - CRC-4 multiframe structure */
        if ((e1i->tx.frame_nr % 2) == 0) {

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

Gerrit-Project: osmo-e1-hardware
Gerrit-Branch: master
Gerrit-Change-Id: I42024856a58f0bd4fcc1c767688de5334994a8a8
Gerrit-Change-Number: 21797
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <lafo...@osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-MessageType: merged

Reply via email to