mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 19:57:43 +03:00
Fix gcc missing braces warnings
Resolve compiler warnings concerning missing braces. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
@@ -1251,10 +1251,12 @@ static void
|
||||
dsl_scan_ddt(dsl_scan_t *scn, dmu_tx_t *tx)
|
||||
{
|
||||
ddt_bookmark_t *ddb = &scn->scn_phys.scn_ddt_bookmark;
|
||||
ddt_entry_t dde = { 0 };
|
||||
ddt_entry_t dde;
|
||||
int error;
|
||||
uint64_t n = 0;
|
||||
|
||||
bzero(&dde, sizeof (ddt_entry_t));
|
||||
|
||||
while ((error = ddt_walk(scn->scn_dp->dp_spa, ddb, &dde)) == 0) {
|
||||
ddt_t *ddt;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user