From 5235262855aa0694c0da2c42bf5bf513f9cdc9bb Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 24 May 2024 15:29:11 -0400 Subject: [PATCH] Add default value. --- Machines/Acorn/Archimedes/Archimedes.cpp | 2 +- .../xcshareddata/xcschemes/Clock Signal.xcscheme | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Machines/Acorn/Archimedes/Archimedes.cpp b/Machines/Acorn/Archimedes/Archimedes.cpp index c1132b069..2782bcec0 100644 --- a/Machines/Acorn/Archimedes/Archimedes.cpp +++ b/Machines/Acorn/Archimedes/Archimedes.cpp @@ -176,7 +176,7 @@ class ConcreteMachine: executor_.bus.read(address, address, false); } while(true) { - uint8_t next; + uint8_t next = 0; executor_.bus.read(address, next, false); if(next < 0x20) break; desc.push_back(static_cast(next) & 0x7f); diff --git a/OSBindings/Mac/Clock Signal.xcodeproj/xcshareddata/xcschemes/Clock Signal.xcscheme b/OSBindings/Mac/Clock Signal.xcodeproj/xcshareddata/xcschemes/Clock Signal.xcscheme index 474fa352e..19b54b90e 100644 --- a/OSBindings/Mac/Clock Signal.xcodeproj/xcshareddata/xcschemes/Clock Signal.xcscheme +++ b/OSBindings/Mac/Clock Signal.xcodeproj/xcshareddata/xcschemes/Clock Signal.xcscheme @@ -62,7 +62,7 @@