mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
Avoid shadowing previous local variable
This commit is contained in:
parent
47b0261933
commit
b281f6627a
1 changed files with 2 additions and 2 deletions
|
|
@ -74,8 +74,8 @@ static void browse_draw_info(struct dir *dr) {
|
|||
ncaddstr(4, 9, fmtmode(e->mode));
|
||||
ncprint(4, 26, "%d", e->uid);
|
||||
ncprint(4, 38, "%d", e->gid);
|
||||
time_t t = (time_t)e->mtime;
|
||||
strftime(mbuf, sizeof(mbuf), "%Y-%m-%d %H:%M:%S %z", localtime(&t));
|
||||
time_t ti = (time_t)e->mtime;
|
||||
strftime(mbuf, sizeof(mbuf), "%Y-%m-%d %H:%M:%S %z", localtime(&ti));
|
||||
ncaddstr(5, 18, mbuf);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue