From ecc7f66e4e37308a9ceb921ab91ff1f1fddc447b Mon Sep 17 00:00:00 2001 From: Hongzhi Wang Date: Tue, 10 Jul 2018 16:41:43 +0200 Subject: [PATCH] ue remove warnings dmrs --- openair1/PHY/NR_REFSIG/nr_dmrs_rx.c | 2 +- openair1/PHY/NR_REFSIG/nr_gold_ue.c | 3 +-- openair1/PHY/NR_REFSIG/refsig_defs_ue.h | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/openair1/PHY/NR_REFSIG/nr_dmrs_rx.c b/openair1/PHY/NR_REFSIG/nr_dmrs_rx.c index 4ea226ebbe..3d70217913 100644 --- a/openair1/PHY/NR_REFSIG/nr_dmrs_rx.c +++ b/openair1/PHY/NR_REFSIG/nr_dmrs_rx.c @@ -110,7 +110,7 @@ int nr_pdcch_dmrs_rx(PHY_VARS_NR_UE *ue, int nr_pdsch_dmrs_rx(PHY_VARS_NR_UE *ue, uint8_t eNB_offset, unsigned int Ns, - unsigned int nr_gold_pdsch[7][20][2][21], + unsigned int nr_gold_pdsch[2][20][2][21], int32_t *output, unsigned short p, int length_dmrs, diff --git a/openair1/PHY/NR_REFSIG/nr_gold_ue.c b/openair1/PHY/NR_REFSIG/nr_gold_ue.c index ce8e0de522..d43d7235ed 100644 --- a/openair1/PHY/NR_REFSIG/nr_gold_ue.c +++ b/openair1/PHY/NR_REFSIG/nr_gold_ue.c @@ -69,7 +69,6 @@ void nr_gold_pdcch(PHY_VARS_NR_UE* ue,unsigned int Nid_cell, unsigned short n_id unsigned char ns,l; unsigned int n,x1,x2,x2tmp0; - int nscid; unsigned int nid; if (n_idDMRS) @@ -112,7 +111,7 @@ void nr_gold_pdsch(PHY_VARS_NR_UE* ue,unsigned short lbar,unsigned int Nid_cell, { unsigned char ns,l; - unsigned int n,x1,x2,x2tmp0,x2tmp1, x2tmp2,x2s; + unsigned int n,x1,x2,x2tmp0; int nscid; unsigned int nid; diff --git a/openair1/PHY/NR_REFSIG/refsig_defs_ue.h b/openair1/PHY/NR_REFSIG/refsig_defs_ue.h index d0d6338d44..ba2b7e69d9 100644 --- a/openair1/PHY/NR_REFSIG/refsig_defs_ue.h +++ b/openair1/PHY/NR_REFSIG/refsig_defs_ue.h @@ -46,7 +46,7 @@ int nr_pdcch_dmrs_rx(PHY_VARS_NR_UE *ue, int nr_pdsch_dmrs_rx(PHY_VARS_NR_UE *ue, uint8_t eNB_offset, unsigned int Ns, - unsigned int nr_gold_pdsch[7][20][2][21], + unsigned int nr_gold_pdsch[2][20][2][21], int32_t *output, unsigned short p, int length_dmrs,