mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #12595 from aabadie/pr/net/sock_util_scan_build
sys/net/sock_util: fix dead initialization warning
This commit is contained in:
commit
456982f595
@ -151,7 +151,7 @@ int sock_udp_str2ep(sock_udp_ep_t *ep_out, const char *str)
|
||||
{
|
||||
unsigned brackets_flag;
|
||||
char *hoststart = (char*)str;
|
||||
char *hostend = hoststart;
|
||||
char *hostend;
|
||||
|
||||
char hostbuf[SOCK_HOSTPORT_MAXLEN];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user