list_single: Declare scratch iff CONFIG_FEATURE_LS_USERNAME is defined.
This commit is contained in:
parent
3bd31ebc9a
commit
a1bbde71bf
@ -576,7 +576,9 @@ static struct dnode **list_dir(char *path)
|
|||||||
static int list_single(struct dnode *dn)
|
static int list_single(struct dnode *dn)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
#ifdef CONFIG_FEATURE_LS_USERNAME
|
||||||
char scratch[BUFSIZ + 1];
|
char scratch[BUFSIZ + 1];
|
||||||
|
#endif
|
||||||
#ifdef CONFIG_FEATURE_LS_TIMESTAMPS
|
#ifdef CONFIG_FEATURE_LS_TIMESTAMPS
|
||||||
char *filetime;
|
char *filetime;
|
||||||
time_t ttime, age;
|
time_t ttime, age;
|
||||||
|
Loading…
Reference in New Issue
Block a user