diff --git a/libs/glfw/system_sdk.zig b/libs/glfw/system_sdk.zig index 3b9c2ab9..c32bd8b9 100644 --- a/libs/glfw/system_sdk.zig +++ b/libs/glfw/system_sdk.zig @@ -210,7 +210,7 @@ fn determineSdkRoot(allocator: std.mem.Allocator, org: []const u8, name: []const ensureGit(allocator); // If the SDK exists, return it. Otherwise, clone it. - if (std.fs.openDirAbsolute(sdk_root_dir, .{})) { + if (std.fs.openDirAbsolute(sdk_root_dir, .{})) |_| { const current_revision = try getCurrentGitRevision(allocator, sdk_root_dir); if (!std.mem.eql(u8, current_revision, revision)) { // Update the SDK to the target revision. This may be either forward or backwards in