aboutsummaryrefslogtreecommitdiff
path: root/lib/libcxx/include/__algorithm/sample.h
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-08-25 16:17:00 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-08-28 17:07:21 -0700
commit3d9b6cfcc9341cef40a8a525a4acf8be8b81992c (patch)
tree4ac796abca2c07800e7438bdf71c6d517e9c0f4e /lib/libcxx/include/__algorithm/sample.h
parent56129d26ebd8c54563e92a78b9dab20f69dbc646 (diff)
downloadzig-3d9b6cfcc9341cef40a8a525a4acf8be8b81992c.tar.gz
zig-3d9b6cfcc9341cef40a8a525a4acf8be8b81992c.zip
stage2: add an explicit padding field to avoid Valgrind warning
Adds a `unused: u32 = 0` field to `Zir.Header`. We could leave this as padding, however it triggers a Valgrind warning because we read and write undefined bytes to the file system. This is harmless, but it's essentially free to have a zero field here and makes the warning go away, making it more likely that following Valgrind warnings will be taken seriously.
Diffstat (limited to 'lib/libcxx/include/__algorithm/sample.h')
0 files changed, 0 insertions, 0 deletions