Skip to content

Commit 3cbe2be

Browse files
committed
Linux: Fixed clang warnings
1 parent a1612f5 commit 3cbe2be

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Core/PCE/PceCpu.Instructions.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,6 @@ void PceCpu::TDD()
681681
uint16_t dst = _operand2;
682682
uint16_t length = _operand3;
683683

684-
uint32_t count = 0;
685684
do {
686685
DummyRead();
687686
uint8_t value = MemoryRead(src);
@@ -694,7 +693,6 @@ void PceCpu::TDD()
694693
src--;
695694
dst--;
696695

697-
count++;
698696
length--;
699697
} while(length);
700698

@@ -737,7 +735,6 @@ void PceCpu::TII()
737735
uint16_t dst = _operand2;
738736
uint16_t length = _operand3;
739737

740-
uint32_t count = 0;
741738
do {
742739
DummyRead();
743740
uint8_t value = MemoryRead(src);
@@ -750,7 +747,6 @@ void PceCpu::TII()
750747
src++;
751748
dst++;
752749

753-
count++;
754750
length--;
755751
} while(length);
756752

@@ -765,7 +761,6 @@ void PceCpu::TIN()
765761
uint16_t dst = _operand2;
766762
uint16_t length = _operand3;
767763

768-
uint32_t count = 0;
769764
do {
770765
DummyRead();
771766
uint8_t value = MemoryRead(src);
@@ -777,7 +772,6 @@ void PceCpu::TIN()
777772

778773
src++;
779774

780-
count++;
781775
length--;
782776
} while(length);
783777

0 commit comments

Comments
 (0)