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
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ static const uint8_t *decode_time(struct tm *tp,
|
||||||
uint8_t reg;
|
uint8_t reg;
|
||||||
|
|
||||||
if (with_sec) {
|
if (with_sec) {
|
||||||
uint8_t reg = *rp++;
|
reg = *rp++;
|
||||||
|
|
||||||
tp->tm_sec = bcd2bin(reg & 0x7F);
|
tp->tm_sec = bcd2bin(reg & 0x7F);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue