Print this page
7127 remove -Wno-missing-braces from Makefile.uts
*** 1494,1504 ****
int rval = 0;
union {
struct sockaddr sin;
struct sockaddr_in s_in4;
struct sockaddr_in6 s_in6;
! } sa_rsvr = { 0 };
void *so;
struct sockaddr_in6 t_addr;
socklen_t t_addrlen;
bzero(&t_addr, sizeof (struct sockaddr_in6));
--- 1494,1504 ----
int rval = 0;
union {
struct sockaddr sin;
struct sockaddr_in s_in4;
struct sockaddr_in6 s_in6;
! } sa_rsvr = {{0}};
void *so;
struct sockaddr_in6 t_addr;
socklen_t t_addrlen;
bzero(&t_addr, sizeof (struct sockaddr_in6));
*** 2980,2990 ****
socklen_t t_addrlen;
union {
struct sockaddr sin;
struct sockaddr_in s_in4;
struct sockaddr_in6 s_in6;
! } clnt_addr = { 0 };
union {
struct sockaddr_in soa4;
struct sockaddr_in6 soa6;
} local_conn_prop;
void *listening_so, *connecting_so;
--- 2980,2990 ----
socklen_t t_addrlen;
union {
struct sockaddr sin;
struct sockaddr_in s_in4;
struct sockaddr_in6 s_in6;
! } clnt_addr = {{0}};
union {
struct sockaddr_in soa4;
struct sockaddr_in6 soa6;
} local_conn_prop;
void *listening_so, *connecting_so;
*** 3098,3108 ****
find_listening_addr(iscsi_addr_t *local_addr, void *listening_so)
{
union {
struct sockaddr_in soa4;
struct sockaddr_in6 soa6;
! } local_conn_prop = { 0 };
struct sockaddr_in6 t_addr;
socklen_t t_addrlen;
if (local_addr == NULL || listening_so == NULL) {
--- 3098,3108 ----
find_listening_addr(iscsi_addr_t *local_addr, void *listening_so)
{
union {
struct sockaddr_in soa4;
struct sockaddr_in6 soa6;
! } local_conn_prop = {{0}};
struct sockaddr_in6 t_addr;
socklen_t t_addrlen;
if (local_addr == NULL || listening_so == NULL) {
*** 3140,3155 ****
iscsi_addr_t **local_addr, void **listening_so)
{
union {
struct sockaddr_in soa4;
struct sockaddr_in6 soa6;
! } local_conn_prop = { 0 };
union {
struct sockaddr sin;
struct sockaddr_in s_in4;
struct sockaddr_in6 s_in6;
! } serv_addr = { 0 };
void *so;
struct sockaddr_in6 t_addr;
socklen_t t_addrlen;
if (listening_so == NULL) {
--- 3140,3155 ----
iscsi_addr_t **local_addr, void **listening_so)
{
union {
struct sockaddr_in soa4;
struct sockaddr_in6 soa6;
! } local_conn_prop = {{0}};
union {
struct sockaddr sin;
struct sockaddr_in s_in4;
struct sockaddr_in6 s_in6;
! } serv_addr = {{0}};
void *so;
struct sockaddr_in6 t_addr;
socklen_t t_addrlen;
if (listening_so == NULL) {