counter: rename shadow variables
Rename shadow variables found by -Wshadow. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
a41475507a
commit
729fd4c574
|
@ -289,7 +289,7 @@ static const uint8_t *decode_time(struct tm *tp,
|
|||
uint8_t reg;
|
||||
|
||||
if (with_sec) {
|
||||
uint8_t reg = *rp++;
|
||||
reg = *rp++;
|
||||
|
||||
tp->tm_sec = bcd2bin(reg & 0x7F);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue