diff --git a/fex/fex/Data_Reader.cpp b/fex/fex/Data_Reader.cpp index a1900e71..04a7a3b9 100644 --- a/fex/fex/Data_Reader.cpp +++ b/fex/fex/Data_Reader.cpp @@ -237,8 +237,6 @@ static const BOOST::uint8_t val_tab[6]={0,0xC0,0xE0,0xF0,0xF8,0xFC}; size_t utf8_char_len_from_header( char p_c ) { - BOOST::uint8_t c = (BOOST::uint8_t)p_c; - size_t cnt = 0; for(;;) { diff --git a/src/gb/gbPrinter.cpp b/src/gb/gbPrinter.cpp index 095ca992..9416e470 100644 --- a/src/gb/gbPrinter.cpp +++ b/src/gb/gbPrinter.cpp @@ -87,7 +87,6 @@ void gbPrinterShowData() void gbPrinterReceiveData() { - int i = gbPrinterDataCount; if (gbPrinterPacket[3]) { // compressed uint8_t* data = &gbPrinterPacket[6]; uint8_t* dest = &gbPrinterData[gbPrinterDataCount]; diff --git a/src/gba/GBA-thumb.cpp b/src/gba/GBA-thumb.cpp index c37d7bbc..e9853c29 100644 --- a/src/gba/GBA-thumb.cpp +++ b/src/gba/GBA-thumb.cpp @@ -1917,7 +1917,7 @@ static INSN_REGPARM void thumbBreakpoint(uint32_t opcode) // SWI #comment static INSN_REGPARM void thumbDF(uint32_t opcode) { - uint32_t address = 0; + //uint32_t address = 0; //clockTicks = codeTicksAccessSeq16(address)*2 + codeTicksAccess16(address)+3; clockTicks = 3; busPrefetchCount = 0; diff --git a/src/gba/GBA.cpp b/src/gba/GBA.cpp index 3c1d8f8c..b41985d9 100644 --- a/src/gba/GBA.cpp +++ b/src/gba/GBA.cpp @@ -3721,7 +3721,6 @@ void CPULoop(int ticks) { int clockTicks; int timerOverflow = 0; - uint32_t memAddr = 0; // variable used by the CPU core cpuTotalTicks = 0; diff --git a/src/gba/GBALink.cpp b/src/gba/GBALink.cpp index 01e5d259..2cffbc58 100644 --- a/src/gba/GBALink.cpp +++ b/src/gba/GBALink.cpp @@ -1656,7 +1656,6 @@ void RFUClient::Recv(void) //transferring = false; //return; } - size_t nr; sf::Packet packet; sf::Socket::Status status = lanlink.tcpsocket.receive(packet); if (status == sf::Socket::Disconnected) { @@ -1781,7 +1780,6 @@ static void StartRFUSocket(uint16_t value) return; } - static bool logstartd; uint32_t CurCOM = 0, CurDAT = 0; bool rfulogd = (READ16LE(&ioMem[COMM_SIOCNT]) != value); @@ -2999,7 +2997,6 @@ static void StartRFU(uint16_t value) linktimeout = 1; - static bool logstartd; uint32_t CurCOM = 0, CurDAT = 0; bool rfulogd = (READ16LE(&ioMem[COMM_SIOCNT]) != value); diff --git a/src/gba/remote.cpp b/src/gba/remote.cpp index 0a8ac695..e9ea4af4 100644 --- a/src/gba/remote.cpp +++ b/src/gba/remote.cpp @@ -3346,7 +3346,6 @@ void dbgExecute(char* toRun) //although it mights seem wierd, the old step is the last one to be executed. for (int j = 0;; j++) { - bool notFound = false; if (debuggerCommands[j].name == NULL) { { sprintf(monbuf, "Unrecognized command %s. Type h for help.\n", commands[0]);