Fixes for variable shadowing (15/28)
This commit is contained in:
parent
3fd0c4229c
commit
0e2f154428
1 changed files with 3 additions and 3 deletions
|
|
@ -148,9 +148,9 @@ void item_t::parse_tags(const char * p,
|
|||
std::strncpy(buf, b + 1, e - b - 1);
|
||||
buf[e - b - 1] = '\0';
|
||||
|
||||
if (char * p = std::strchr(buf, '=')) {
|
||||
*p++ = '\0';
|
||||
_date_eff = parse_date(p);
|
||||
if (char * pp = std::strchr(buf, '=')) {
|
||||
*pp++ = '\0';
|
||||
_date_eff = parse_date(pp);
|
||||
}
|
||||
if (buf[0])
|
||||
_date = parse_date(buf);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue