]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/zfs/dsl_dir.c
Fix gcc c90 compliance warnings
[mirror_zfs.git] / module / zfs / dsl_dir.c
index 1cd49c8274e8ebcdfb1c6222aa082a075672ccbc..545dce9a0066e5b4db86156c77b55bfaa9e58bf3 100644 (file)
@@ -964,11 +964,13 @@ dsl_dir_diduse_space(dsl_dir_t *dd, dd_used_t type,
                    dd->dd_phys->dd_used_breakdown[type] >= -used);
                dd->dd_phys->dd_used_breakdown[type] += used;
 #ifdef DEBUG
-               dd_used_t t;
-               uint64_t u = 0;
-               for (t = 0; t < DD_USED_NUM; t++)
-                       u += dd->dd_phys->dd_used_breakdown[t];
-               ASSERT3U(u, ==, dd->dd_phys->dd_used_bytes);
+               {
+                       dd_used_t t;
+                       uint64_t u = 0;
+                       for (t = 0; t < DD_USED_NUM; t++)
+                               u += dd->dd_phys->dd_used_breakdown[t];
+                       ASSERT3U(u, ==, dd->dd_phys->dd_used_bytes);
+               }
 #endif
        }
        if (needlock)