From 82d1c1f84ae23793d81b50aa0a753ad7c4db4f51 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 31 Dec 2017 17:30:02 +0100 Subject: randomconfig fixes Signed-off-by: Denys Vlasenko --- coreutils/ls.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'coreutils/ls.c') diff --git a/coreutils/ls.c b/coreutils/ls.c index a4e324b00..4be499088 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c @@ -482,12 +482,11 @@ static NOINLINE unsigned display_single(const struct dnode *dn) int opt; #if ENABLE_FEATURE_LS_FILETYPES || ENABLE_FEATURE_LS_COLOR struct stat statbuf; - char append; #endif - #if ENABLE_FEATURE_LS_FILETYPES - append = append_char(dn->dn_mode); + char append = append_char(dn->dn_mode); #endif + opt = option_mask32; /* Do readlink early, so that if it fails, error message -- cgit v1.2.3