examples/hello_zig: Fix unused return value
Zig don't allow unused return value, so let's discard it explicitly.
@@ -35,5 +35,6 @@ pub extern fn printf(_format: [*:0]const u8) c_int;
pub export fn hello_zig_main(_argc: c_int, _argv: [*]const [*]const u8) c_int {
_ = _argc;
_ = _argv;
- printf("Hello, Zig!\n");
+ _ = printf("Hello, Zig!\n");
+ return 0;
}
