X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Fcommon_def.c;h=9d992466fa02eddfb2d8bb4351c216c07559f4b0;hb=a5c3f55c615bff6a466e8273084757e8d339689e;hp=0e681d3e03181486136fc55f6805dceb128fa31b;hpb=9634ca974c4418c0800090e33d37ef1fe7e8cb30;p=o-du%2Fl2.git diff --git a/src/cm/common_def.c b/src/cm/common_def.c index 0e681d3e0..9d992466f 100644 --- a/src/cm/common_def.c +++ b/src/cm/common_def.c @@ -92,8 +92,7 @@ void freqDomRscAllocType0(uint16_t startPrb, uint16_t prbSize, uint8_t *freqDoma * ****************************************************************/ void oduCpyFixBufToMsg(uint8_t *fixBuf, Buffer *mBuf, uint16_t len) { - uint8_t idx, revIdx, temp; - uint16_t copyLen; + uint16_t idx = 0, revIdx = 0, temp = 0, copyLen = 0; /* ODU_COPY_FIX_BUF_TO_MSG copies fixed buffer in reverse order. \ * Hence reversing the fixed buffer before copying in order to \