Skip to content

Lightpanda: the headless browser designed for AI and automation

remove dead condition

Pierre Tachoireb90d9def849f
diff --git a/src/network/Network.zig b/src/network/Network.zig
index 0bd7833de..fc7c827fd 100644
--- a/src/network/Network.zig
+++ b/src/network/Network.zig
@@ -782,7 +782,7 @@ fn storeFromSystemCA(allocator: Allocator) !*crypto.X509_STORE {
}) |file| {
if (crypto.X509_STORE_load_locations(store, file, null) == 1) {
count += 1;
- if (count > 0) break :blk;
+ break :blk;
}
}
},