(Coverity) Initialise Bus variables in constructor.

Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
This commit is contained in:
Adrian.Conlon 2017-09-07 13:45:16 +01:00
parent c5c842a70b
commit b0923bd472

View File

@ -9,7 +9,10 @@
namespace EightBit {
class Bus {
public:
Bus() {}
Bus()
: m_temporary(0xff), m_data(nullptr) {
m_address.word = 0xffff;
}
Signal<AddressEventArgs> WrittenByte;
Signal<AddressEventArgs> ReadByte;