commit 61ba52b9e306f967ea38cd4494dfd3318d3266b8 (tree)
parent 273d2de099491278e7248b791f36395ab1a2e11a
Author: Alexandros Naskos <alex_naskos@hotmail.com>
Date: Wed, 29 Apr 2020 20:07:23 +0300
Add unreachable branch
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/progress.zig b/lib/std/progress.zig
@@ -178,7 +178,7 @@ pub const Progress = struct {
if (windows.kernel32.SetConsoleCursorPosition(file.handle, cursor_pos) != windows.TRUE)
unreachable;
- }
+ } else unreachable;
self.columns_written = 0;
}