mirror of
https://github.com/apache/nuttx.git
synced 2026-10-03 12:18:06 +00:00
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 <danieloak@gmail.com>
This commit is contained in:
parent
3589fceab3
commit
ee23dd03c5
1 changed files with 0 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue