ref: 6c0673233c7aeeabb0cc5093f7b6712f9a9a7cbe
parent: c807e1941c82b559b2ae079f58fdb6ddb7bad038
author: cancel <cancel@cancel.fm>
date: Wed Jan 22 17:50:06 EST 2020
Cleanup
--- a/osc_out.c
+++ b/osc_out.c
@@ -18,8 +18,7 @@
Oosc_udp_create_error oosc_dev_create_udp(Oosc_dev **out_ptr,
char const *dest_addr,
char const *dest_port) {
- struct addrinfo hints;
- memset(&hints, 0, sizeof(hints));
+ struct addrinfo hints = {0};
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_DGRAM;
hints.ai_protocol = 0;