Skip to content

Commit

Permalink
set-but-not-used variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
smurfix committed Sep 5, 2015
1 parent e961376 commit ddcb929
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions dev_data.c
Expand Up @@ -144,15 +144,18 @@ out:;
if (eep) {
cfg_addr_t off = 4;
uint8_t len = cfg_byte(off++);
uint8_t t;
while(len) {
t = cfg_byte(off++);
#ifdef NO_DEBUG
off++;
#else
uint8_t t = cfg_byte(off++);
DBG_X(len);
DBG_C('@');
DBG_W(off);
DBG_C(':');
DBG_X(t);
DBG_C(' ');
#endif
off += len;
len = cfg_byte(off++);
}
Expand Down

0 comments on commit ddcb929

Please sign in to comment.