Skip to content

Commit

Permalink
fix potentially un-initialized value warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Shwartsman committed Dec 15, 2023
1 parent 438fd78 commit e67fb33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bochs/iodev/display/banshee.cc
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ void bx_banshee_c::mem_read(bx_phy_address addr, unsigned len, void *data)
void bx_banshee_c::mem_write(bx_phy_address addr, unsigned len, void *data)
{
Bit32u offset = (addr & 0x1ffffff);
Bit32u value;
Bit32u value = 0;
Bit32u mask = 0xffffffff;

switch (len) {
Expand Down

0 comments on commit e67fb33

Please sign in to comment.