Print this page
7127  remove -Wno-missing-braces from Makefile.uts

@@ -27,13 +27,13 @@
 #include <inet/proto_set.h>
 
 #define rds_max_buf 2097152
 opdes_t rds_opt_arr[] = {
 
-{ SO_TYPE,      SOL_SOCKET, OA_R, OA_R, OP_NP, 0, sizeof (int), 0 },
-{ SO_SNDBUF,    SOL_SOCKET, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 0 },
-{ SO_RCVBUF,    SOL_SOCKET, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 0 },
+{ SO_TYPE,      SOL_SOCKET, OA_R, OA_R, OP_NP, 0, sizeof (int), {0} },
+{ SO_SNDBUF,    SOL_SOCKET, OA_RW, OA_RW, OP_NP, 0, sizeof (int), {0} },
+{ SO_RCVBUF,    SOL_SOCKET, OA_RW, OA_RW, OP_NP, 0, sizeof (int), {0} },
 };
 
 /* ARGSUSED */
 int
 rds_opt_default(queue_t *q, t_scalar_t level, t_scalar_t name, uchar_t *ptr)