Skip to content
Snippets Groups Projects
Commit 4a5ef1d2 authored by Joakim Nohlgård's avatar Joakim Nohlgård
Browse files

native/netdev_tap: Rename variable to fix Wshadow warning

parent 272ae30d
No related branches found
No related tags found
No related merge requests found
...@@ -222,9 +222,9 @@ static int _recv(netdev_t *netdev, void *buf, size_t len, void *info) ...@@ -222,9 +222,9 @@ static int _recv(netdev_t *netdev, void *buf, size_t len, void *info)
} }
*/ */
static uint8_t buf[ETHERNET_FRAME_LEN]; static uint8_t nullbuf[ETHERNET_FRAME_LEN];
real_read(dev->tap_fd, buf, sizeof(buf)); real_read(dev->tap_fd, nullbuf, sizeof(nullbuf));
_continue_reading(dev); _continue_reading(dev);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment