From 9ec1653c4174b72b48fc1f7d56baf68a55812c18 Mon Sep 17 00:00:00 2001 From: svaidhya Date: Wed, 22 May 2024 16:02:10 +0530 Subject: [PATCH] [Epic-Id: ODUHIGH-576][Task-Id: ODUHIGH-594][SubTask-Id: ODUHIGH-598]|[NFAPI_Branch]| Compilation error Change-Id: I60e71a0c0b5c7bbc1cb9db8757ba944bce8ab7b3 Signed-off-by: svaidhya --- src/pnf_stub/pnf_stub_p5_msg_hdl.c | 3 +-- src/pnf_stub/pnf_stub_p7_udp.c | 1 + src/pnf_stub/pnf_stub_sctp.c | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) 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 */ -- 2.16.6