aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vaughan Rouesnel <vrouesnel@gmail.com> 2022-11-12 00:19:10 +0100
committerGravatar Vaughan Rouesnel <vrouesnel@gmail.com> 2022-11-12 00:19:10 +0100
commit6dfd99739195720a96b93f5f33d2c0ed8c39ba5b (patch)
tree4f8bf09731b9d9727093db1564002d324e963ad2
parentc7dc0ce68a8fb56800c8bb7818b84eb1b9ac5459 (diff)
downloadbun-6dfd99739195720a96b93f5f33d2c0ed8c39ba5b.tar.gz
bun-6dfd99739195720a96b93f5f33d2c0ed8c39ba5b.tar.zst
bun-6dfd99739195720a96b93f5f33d2c0ed8c39ba5b.zip
Fix: pointless discard of function parameter
-rw-r--r--src/http_client_async.zig1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/http_client_async.zig b/src/http_client_async.zig
index 57726b87c..669257e73 100644
--- a/src/http_client_async.zig
+++ b/src/http_client_async.zig
@@ -512,7 +512,6 @@ pub fn onClose(
comptime is_ssl: bool,
socket: NewHTTPContext(is_ssl).HTTPSocket,
) void {
- _ = socket;
log("Closed {s}\n", .{client.url.href});
const in_progress = client.state.stage != .done and client.state.stage != .fail;