From aff69dbc3456396e5b4537f9be418da77e45c3b5 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sat, 11 Feb 2017 13:35:22 -0500 Subject: [PATCH] =?UTF-8?q?Resolved=20spurious=20static=20analyser=20issue?= =?UTF-8?q?;=20screen=20mode=20will=20always=20be=200=E2=80=936=20but=20it?= =?UTF-8?q?=20doesn't=20know=20that.=20Setting=20a=20non-zero=20divider=20?= =?UTF-8?q?doesn't=20feel=20worth=20worrying=20about=20for=20a=20cleaner?= =?UTF-8?q?=20compile.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Machines/Electron/Video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/Electron/Video.cpp b/Machines/Electron/Video.cpp index 29b95b730..2a1f4688c 100644 --- a/Machines/Electron/Video.cpp +++ b/Machines/Electron/Video.cpp @@ -115,7 +115,7 @@ void VideoOutput::output_pixels(unsigned int number_of_cycles) } else { - unsigned int divider = 0; + unsigned int divider = 1; switch(screen_mode_) { case 0: case 3: divider = 2; break;