Skip to content

Commit 44ec4a0

Browse files
committed
Remove unused local variables
1 parent a4c392b commit 44ec4a0

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/EthernetUdp.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ int EthernetUDP::parsePacket()
110110
//HACK - hand-parse the UDP packet using TCP recv method
111111
uint8_t tmpBuf[20];
112112
int ret=0;
113-
int i;
114113

115114
if(W5100.getChip() == 61) {
116115
//read 2 header bytes and get one IPv4 or IPv6

src/utility/w5100.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ uint8_t W5100Class::init(void)
250250
uint8_t W5100Class::softReset(void)
251251
{
252252
uint16_t count=0;
253-
uint8_t sysr;
254253

255254
if(chip == 61) {
256255
writeCHPLCKR_W6100(W6100_CHPLCKR_UNLOCK); // Unlock SYSR[CHPL]

src/utility/w5100.h

-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ class W5100Class {
329329
} \
330330
static inline uint8_t read##name(SOCKET _s) { \
331331
if(chip == 61) { \
332-
uint8_t data; \
333332
return readSn(_s, adrss_w6100); \
334333
} else { \
335334
return readSn(_s, address); \

0 commit comments

Comments
 (0)