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

@@ -121,11 +121,11 @@
 bptree_add(objset_t *os, uint64_t obj, blkptr_t *bp, uint64_t birth_txg,
     uint64_t bytes, uint64_t comp, uint64_t uncomp, dmu_tx_t *tx)
 {
         dmu_buf_t *db;
         bptree_phys_t *bt;
-        bptree_entry_phys_t bte = { 0 };
+        bptree_entry_phys_t bte = { .be_birth_txg = 0 };
 
         /*
          * bptree objects are in the pool mos, therefore they can only be
          * modified in syncing context. Furthermore, this is only modified
          * by the sync thread, so no locking is necessary.