aboutsummaryrefslogtreecommitdiff
path: root/lib/std/array_list.zig
diff options
context:
space:
mode:
authorfifty-six <ybham6@gmail.com>2022-01-16 01:44:15 -0500
committerfifty-six <ybham6@gmail.com>2022-01-16 02:04:39 -0500
commit4771ac298b0c692750524cb7e94eaf0b4343ce2b (patch)
tree42b74453b3af7bc3cac4c0db9e9b4583348ca1ea /lib/std/array_list.zig
parentdab4c63684ca951049fb8e8f6b2415857eb6652b (diff)
downloadzig-4771ac298b0c692750524cb7e94eaf0b4343ce2b.tar.gz
zig-4771ac298b0c692750524cb7e94eaf0b4343ce2b.zip
std/os/uefi: Simplify packed struct padding and default zero-initialize
Beyond adding default zero-initialization, this commit changes undefined initialization to zero, as some cases reserved the padding and on other cases, I've found some systems act strange when giving uninit instead of zero even when it shouldn't be an issue, one example being FileProtocol.Open's attributes, which *should* be ignored when not creating a file, but ended up giving an unrelated error.
Diffstat (limited to 'lib/std/array_list.zig')
0 files changed, 0 insertions, 0 deletions