avoid using undefined value
avoid using undefined value

closes #3933

zig-lang/zig,raulgrell/zig,andrewrk/zig,zig-lang/zig,andrewrk/zig,raulgrell/zig,raulgrell/zig,raulgrell/zig,zig-lang/zig,raulgrell/zig