Skip to content

Commit

Permalink
Wrap the debug-only "count" variable into an ASSERTV().
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Chase committed Jul 3, 2013
1 parent 9c688d8 commit 751c7d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/zfs/dsl_dataset.c
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@ dsl_dataset_destroy(dsl_dataset_t *ds, void *tag, boolean_t defer)
*/
if (ds->ds_phys->ds_bp.blk_fill == 0 &&
dmu_objset_userused_enabled(os)) {
uint64_t count;
ASSERTV(uint64_t count);

ASSERT(zap_count(os, DMU_USERUSED_OBJECT, &count) != 0 ||
count == 0);
Expand Down

0 comments on commit 751c7d0

Please sign in to comment.