From: Jim Meyering Date: Wed, 4 Dec 1996 01:21:28 +0000 (+0000) Subject: (print_color_indicator): Initialize EXT to NULL. X-Git-Tag: TEXTUTILS-1_19q~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad44ac84c8c08fae9990adaf2fbed23fa80317ae;p=thirdparty%2Fcoreutils.git (print_color_indicator): Initialize EXT to NULL. --- diff --git a/src/ls.c b/src/ls.c index b64cf886b9..182175eee7 100644 --- a/src/ls.c +++ b/src/ls.c @@ -2405,6 +2405,7 @@ print_color_indicator (const char *name, unsigned int mode, int linkok) type = C_EXEC; /* Check the file's suffix only if still classified as C_FILE. */ + ext = NULL; if (type == C_FILE) { /* Test if NAME has a recognized suffix. */