Commit 61ba52b9e3

Alexandros Naskos <alex_naskos@hotmail.com>
2020-04-29 19:07:23
Add unreachable branch
1 parent 273d2de
Changed files (1)
lib
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;
         }