Skip to content

Commit

Permalink
const choice -> var choice
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Philipp Hafer committed Aug 21, 2023
1 parent 29e4b78 commit 7eabb78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/std/os.zig
Original file line number Diff line number Diff line change
Expand Up @@ -4738,7 +4738,7 @@ pub fn sysconf(sc: c_int) SysConfError!usize {
else => |err| return unexpectedErrno(err),
}
};
const choice: u8 = 0;
var choice: u8 = 0;
choice += @intFromBool(is_minus_one);
choice += @intFromBool(is_inval);
switch (choice) {
Expand Down

0 comments on commit 7eabb78

Please sign in to comment.