Skip to content

Commit

Permalink
~ dumb compilers compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mellotanica committed Dec 1, 2014
1 parent ae1815a commit 73992e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions armProc/bus.cc
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ bool systemBus::DMATransfer(Block * blk, Word startAddr, bool toMemory){
if (BADADDR(startAddr,sizeof(Word)))
return true;

AbortType error;
AbortType error = ABT_NOABT;

Word addr;
if (toMemory) {
Expand Down Expand Up @@ -646,7 +646,7 @@ bool systemBus::DMAVarTransfer(Block * blk, Word startAddr, Word byteLength, boo
if (BADADDR(startAddr, sizeof(Word)) || length > BLOCKSIZE)
return true;

AbortType error;
AbortType error = ABT_NOABT;

Word addr;
if (toMemory) {
Expand Down

0 comments on commit 73992e9

Please sign in to comment.