remove 'variable may be used uninitialized' warning
This is not absolutely necessary (the processing is ok), but the warning is annoying.
This commit is contained in:
@@ -555,6 +555,7 @@ void generate_pucch2x(int32_t **txdataF,
|
||||
N_UL_symb = (fp->Ncp==0) ? 7 : 6;
|
||||
data_ind = 0;
|
||||
zptr = z;
|
||||
nprime = 0;
|
||||
for (ns=(subframe<<1),u=u0,v=v0; ns<(2+(subframe<<1)); ns++,u=u1,v=v1) {
|
||||
|
||||
if ((ns&1) == 0)
|
||||
|
||||
@@ -234,7 +234,7 @@ uint32_t ulsch_encoding(uint8_t *a,
|
||||
PHY_MEASUREMENTS *meas = &ue->measurements;
|
||||
LTE_UE_ULSCH_t *ulsch=ue->ulsch[eNB_id];
|
||||
LTE_UE_DLSCH_t **dlsch = ue->dlsch[eNB_id];
|
||||
uint16_t rnti;
|
||||
uint16_t rnti = 0xffff;
|
||||
|
||||
if (!ulsch) {
|
||||
LOG_E(PHY,"Null ulsch ptr %p\n",ulsch);
|
||||
|
||||
Reference in New Issue
Block a user