node-bplist-parser icon indicating copy to clipboard operation
node-bplist-parser copied to clipboard

Same code in both if and else statements

Open bertung opened this issue 1 year ago • 0 comments

There are at least 4 places in the code the following occurs. Both if and else block is same.

        if (intLength < 3) {
          length = readUInt(buffer.slice(offset + 2, offset + 2 + intLength));
        } else {
          length = readUInt(buffer.slice(offset + 2, offset + 2 + intLength));
        }

bertung avatar May 01 '23 11:05 bertung