Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
npaun committed Aug 19, 2024
1 parent 530c156 commit 97dc005
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/workerd/io/worker.c++
Original file line number Diff line number Diff line change
Expand Up @@ -1602,7 +1602,8 @@ Worker::Worker(kj::Own<const Script> scriptParam,
}
KJ_CASE_ONEOF(limitError, kj::Exception) { }
}
}
} else {} // Added to suppress a compiler warning

startupMetrics->done();
} catch (const kj::Exception& e) {
lock.throwException(kj::cp(e));
Expand Down

0 comments on commit 97dc005

Please # to comment.