std, src, doc, test: remove unused variables

This commit is contained in:
Jacob G-W
2021-06-09 21:35:42 -04:00
committed by Andrew Kelley
parent d34a1ccb0e
commit 641ecc260f
112 changed files with 208 additions and 294 deletions

View File

@@ -680,7 +680,7 @@ pub const Loop = struct {
fn run(func_args: Args, loop: *Loop, allocator: *mem.Allocator) void {
loop.beginOneEvent();
loop.yield();
const result = @call(.{}, func, func_args);
@call(.{}, func, func_args); // compile error when called with non-void ret type
suspend {
loop.finishOneEvent();
allocator.destroy(@frame());