设置 UNUSED,修复编译警告
This commit is contained in:
@@ -39,7 +39,7 @@ static int mr4_ethdev_send_finish(struct traffic_mirror_ethdev * ethdev, unsigne
|
||||
assert(detail_mr4 != NULL && detail_mr4->sendbuf[tid] != NULL);
|
||||
|
||||
marsio_buff_t * buff = detail_mr4->sendbuf[tid];
|
||||
char * append_ptr = marsio_buff_append(buff, pktlen);
|
||||
UNUSED char * append_ptr = marsio_buff_append(buff, pktlen);
|
||||
assert(append_ptr != NULL);
|
||||
|
||||
int ret = marsio_send_burst_with_options(detail_mr4->sendpath, tid, &buff, 1, MARSIO_SEND_OPT_REHASH);
|
||||
|
||||
Reference in New Issue
Block a user