Simplify code by replacing `if (strip) { everything; }` with `if (strip == NULL) { return; }`. No functional changes.