[sanitize] Simplify a return

pull/4337/head
Behdad Esfahbod 1 year ago
parent 837885f0fa
commit 36c7ec443b
  1. 3
      src/hb-sanitize.hh

@ -258,7 +258,8 @@ struct hb_sanitize_context_t :
this->max_ops = -1;
return false;
}
return (this->max_ops -= (int) count) > 0;
this->max_ops -= (int) count;
return true;
}
#ifndef HB_OPTIMIZE_SIZE

Loading…
Cancel
Save