设置 UNUSED,修复编译警告

This commit is contained in:
luwenpeng
2019-09-02 11:39:19 +08:00
parent 4f71023c54
commit 06fe5652c5
6 changed files with 21 additions and 21 deletions

View File

@@ -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);