This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit ee23dd03c5aa66cabf402196920d72313d3205ee Author: Daniel P. Carvalho <[email protected]> AuthorDate: Fri Sep 18 10:45:24 2026 -0300 net/pkt: remove unused variable conn in append_timestamping Variable conn is declared and initialized in append_timestamping() but never referenced, triggering -Wunused-variable compiler warning. Assisted-by: Gemini:gemini-3.8-pro Signed-off-by: Daniel P. Carvalho <[email protected]> --- net/pkt/pkt_recvmsg.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/pkt/pkt_recvmsg.c b/net/pkt/pkt_recvmsg.c index df1e4eea384..3ed20b5a238 100644 --- a/net/pkt/pkt_recvmsg.c +++ b/net/pkt/pkt_recvmsg.c @@ -350,7 +350,6 @@ static void append_timestamp(FAR struct pkt_recvfrom_s *pstate, static void append_timestamping(FAR struct pkt_recvfrom_s *pstate, FAR struct iob_s *iob) { - FAR struct pkt_conn_s *conn = pstate->pr_conn; struct timespec ts[3]; memset(&ts, 0, sizeof(ts));
