mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
coverity fixes
This commit is contained in:
parent
0f4f48d377
commit
df20aa2a1e
5 changed files with 8 additions and 3 deletions
|
|
@ -93,6 +93,7 @@ static int make_inet_socket(int port)
|
|||
return result;
|
||||
}
|
||||
|
||||
memset(&addr, 0, sizeof(addr));
|
||||
addr.sin_family = AF_INET;
|
||||
addr.sin_port = htons(port);
|
||||
addr.sin_addr.s_addr = INADDR_ANY;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue