Skip to content

Commit

Permalink
fix the hexdump tool producing bogus warnings about overlapping unuse…
Browse files Browse the repository at this point in the history
…d data
  • Loading branch information
thejoshwolfe committed Aug 4, 2017
1 parent 1107f1a commit 4596a73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/hexdump-zip.js
Expand Up @@ -364,7 +364,8 @@ function printEverything() {
// first find gaps and overlaps
reports.sort(function(a, b) { return a.offset - b.offset; });
var cursor = 0;
for (var i = 0; i < reports.length; i++) {
var originalReportsLength = reports.length;
for (var i = 0; i < originalReportsLength; i++) {
var report = reports[i];
var offset = report.offset;
if (report.len == null) continue;
Expand Down

0 comments on commit 4596a73

Please sign in to comment.