mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-20 00:45:22 +08:00
Fix compiler warnings (#6023)
This commit is contained in:
@@ -1066,7 +1066,8 @@ int netdev_cmd_ping(char* target_name, char *netdev_name, rt_uint32_t times, rt_
|
||||
|
||||
struct netdev *netdev = RT_NULL;
|
||||
struct netdev_ping_resp ping_resp;
|
||||
int index, ret = 0;
|
||||
rt_uint32_t index;
|
||||
int ret = 0;
|
||||
|
||||
if (size == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user