OsmocomBB MS-side GSM Protocol stack (L1, L2, L3) including firmware https://osmocom.org/projects/baseband
Go to file
Vadim Yanitskiy 04ea6f9cab mobile: fix -Wmaybe-uninitialized in gsm48_rr_tx_meas_rep()
This is very unlikely to happen, because we set strongest to 127,
but anyway we don't want to see those warnings:

gsm48_rr.c: In function ‘gsm48_rr_tx_meas_rep.isra’:
gsm48_rr.c:3714:74: warning: ‘strongest_i’ may be used uninitialized [-Wmaybe-uninitialized]
 3714 |                                 if (rrmeas->nc_rxlev_dbm[i] == strongest && i <= strongest_i)
      |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
gsm48_rr.c:3696:31: note: ‘strongest_i’ was declared here
 3696 |                 int i, index, strongest_i;
      |                               ^~~~~~~~~~~

Change-Id: I111438633ed48e16f7c43fc1b7a23ae6753a404d
2024-06-15 05:19:38 +00:00
.github Add funding link to github mirror 2024-03-23 11:29:55 +01:00
contrib contrib/jenkins.sh: uncomment verify_value_string_arrays_are_terminated.py 2023-05-17 10:55:55 +00:00
debian debian: initial layer23 packaging 2024-03-19 12:58:58 +01:00
doc mobile: disable TCH/F14.4 (not implemented) 2024-02-06 01:59:39 +07:00
include l1gprs: implement UL BLOCK.cnf (L1CTL_GPRS_UL_BLOCK_CNF) 2024-02-05 15:33:54 +00:00
src mobile: fix -Wmaybe-uninitialized in gsm48_rr_tx_meas_rep() 2024-06-15 05:19:38 +00:00
.gitignore doc/manuals: integrate into this repository 2018-12-04 12:14:59 +00:00
.gitreview Add 'git review' config file 2017-09-07 12:21:24 +02:00