From: svaidhya Date: Wed, 22 May 2024 10:32:10 +0000 (+0530) Subject: [Epic-Id: ODUHIGH-576][Task-Id: ODUHIGH-594][SubTask-Id: ODUHIGH-598]|[NFAPI_Branch... X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F19%2F12919%2F1;p=o-du%2Fl2.git [Epic-Id: ODUHIGH-576][Task-Id: ODUHIGH-594][SubTask-Id: ODUHIGH-598]|[NFAPI_Branch]| Compilation error Change-Id: I60e71a0c0b5c7bbc1cb9db8757ba944bce8ab7b3 Signed-off-by: svaidhya --- diff --git a/src/pnf_stub/pnf_stub_p5_msg_hdl.c b/src/pnf_stub/pnf_stub_p5_msg_hdl.c index a2108d977..136280d32 100644 --- a/src/pnf_stub/pnf_stub_p5_msg_hdl.c +++ b/src/pnf_stub/pnf_stub_p5_msg_hdl.c @@ -36,6 +36,7 @@ #include "pnf_stub_p5_msg_hdl.h" #include "nfapi_interface.h" #include "pnf_stub_sctp.h" +#include "pnf_stub_p7_udp.h" #include "pnf_stub.h" PnfGlobalCb pnfCb; @@ -232,9 +233,7 @@ uint8_t buildAndSendPnfStopResp() uint8_t buildAndSendParamResp() { - uint8_t ret = ROK,idx=0; Buffer *mBuf = NULLP; - fapi_param_resp_t *fapiParamRsp; if (ODU_GET_MSG_BUF(PNF_APP_MEM_REG, PNF_POOL, &mBuf) != ROK) { diff --git a/src/pnf_stub/pnf_stub_p7_udp.c b/src/pnf_stub/pnf_stub_p7_udp.c index c1b02d048..036bfd7ab 100644 --- a/src/pnf_stub/pnf_stub_p7_udp.c +++ b/src/pnf_stub/pnf_stub_p7_udp.c @@ -20,6 +20,7 @@ #include "common_def.h" #include "cm_inet.x" +#include "nfapi_interface.h" #include "pnf_stub_p7_udp.h" #include "pnf_stub_sctp.h" #include "pnf_stub.h" diff --git a/src/pnf_stub/pnf_stub_sctp.c b/src/pnf_stub/pnf_stub_sctp.c index f80909770..868d3554b 100644 --- a/src/pnf_stub/pnf_stub_sctp.c +++ b/src/pnf_stub/pnf_stub_sctp.c @@ -322,8 +322,6 @@ uint8_t pnfP5SctpSockPoll() CmInetMemInfo memInfo; PnfP5SctpSockPollParams pnfP5PollParams; - char msg[255]; - memset(&pnfP5PollParams, 0, sizeof(PnfP5SctpSockPollParams)); /* All sockets are non-blocking */