all: remove ineffective _ = variable assignments (#530)

Lastest Zig complains about this, so they must removed to build.
This commit is contained in:
locriacyber 2022-09-14 16:42:29 +00:00 committed by GitHub
parent 98d929611c
commit b8c48d6321
Failed to generate hash of commit
4 changed files with 0 additions and 6 deletions

View file

@ -73,7 +73,6 @@ pub const Device = struct {
frame_count_min: c_int,
frame_count_max: c_int,
) callconv(.C) void {
_ = frame_count_min;
const outstream = SoundIoOutStream{ .handle = @ptrCast(*c.SoundIoOutStream, c_outstream) };
const device = @ptrCast(*Device, @alignCast(@alignOf(Device), outstream.handle.userdata));