warning set 4
[o-du/l2.git] / src / 5gnrsch / rg_sch_utl.c
index 5f39b7a..9199920 100755 (executable)
@@ -236,6 +236,7 @@ PRIVATE S16 rgSCHChkBoUpdate ARGS((
          RgSchCellCb    *cell,
          RgInfCmnBoRpt  *boUpdt
          ));
+#ifdef UNUSE_FUN
 #ifdef TFU_UPGRADE
 PRIVATE U8 rgSCHUtlFetchPcqiBitSz ARGS((
  RgSchCellCb    *cell,
@@ -243,6 +244,7 @@ PRIVATE U8 rgSCHUtlFetchPcqiBitSz ARGS((
  U8           numTxAnt
  ));
 #endif
+#endif
 /* sorted in ascending order of tbSz */
 CONSTANT struct rgSchUtlBcchPcchTbSz
 {
@@ -615,7 +617,7 @@ RgSchPdcch                 *pdcch;
 {
    U8                   *byte;
    U8                   offset;
-   U8                   mask;
+   uint16_t             mask;
 
    TRC2(rgSCHUtlPdcchPut);
 
@@ -7126,7 +7128,7 @@ U8            status;
 #endif
 {
    Pst cfmPst;
-   Inst inst;
+   Inst inst = 0;
 
    TRC2(schSendCfgCfm)
    cmMemset((U8 *)(&cfmPst), 0, sizeof(Pst));
@@ -7143,7 +7145,7 @@ U8            status;
 
    if(RgUiRgrCfgCfm(&cfmPst,transId, status) != ROK)
    {
-      RLOG_ARG0(L_ERROR,DBG_INSTID,inst,"schSendCfgCfm: RgUiRgrCfgCfm Failed ");
+      RLOG_ARG0(L_ERROR,DBG_INSTID,inst,"schSendCfgCfm: RgUiRgrCfgCfm Failed");
       printf("\nschSendCfgCfm: RgUiRgrCfgCfm Failed ");
       RETVALUE(RFAILED);
    }
@@ -11240,6 +11242,7 @@ U32           *prbReqrd;
 
    RETVOID;
 } /* rgSchUtlCalcTotalPrbReq */
+#ifdef UNUSE_FUN
 #ifdef TFU_UPGRADE
 /***********************************************************
  *
@@ -11397,6 +11400,7 @@ U8            numTxAnt;
    RETVALUE(pcqiSz);
 }
 #endif
+#endif
 /**
  * @brief  Utility function to returns the number of subbands based on the 
  *         requested bytes.