Author: adrian
Date: Fri Nov 13 01:53:59 2020
New Revision: 367629
URL: https://svnweb.freebsd.org/changeset/base/367629

Log:
  [malloc] quieten -Werror=missing-braces with malloc.h wth gcc-6.4
  
  This sets off gcc-6.4 to spit out a 'error: missing braces around initializer'
  error when compiling this.
  
  Remove it as it isn't needed.
  
  Reviewed by:  brooks
  Differential Revision:         https://reviews.freebsd.org/D27183

Modified:
  head/sys/sys/malloc.h

Modified: head/sys/sys/malloc.h
==============================================================================
--- head/sys/sys/malloc.h       Thu Nov 12 21:58:47 2020        (r367628)
+++ head/sys/sys/malloc.h       Fri Nov 13 01:53:59 2020        (r367629)
@@ -147,7 +147,6 @@ struct malloc_type_header {
                        .ks_next = NULL,                                \
                        .ks_version = M_VERSION,                        \
                        .ks_shortdesc = shortdesc,                      \
-                       .ks_mti = { 0 },                                \
                }                                                       \
        };                                                              \
        SYSINIT(type##_init, SI_SUB_KMEM, SI_ORDER_THIRD, malloc_init,  \
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to