From 61ba52b9e306f967ea38cd4494dfd3318d3266b8 Mon Sep 17 00:00:00 2001 From: Alexandros Naskos Date: Wed, 29 Apr 2020 20:07:23 +0300 Subject: [PATCH] Add unreachable branch --- lib/std/progress.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/progress.zig b/lib/std/progress.zig index a66a8e097f..def438da79 100644 --- 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; }