]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(print_color_indicator): Initialize EXT to NULL.
authorJim Meyering <jim@meyering.net>
Wed, 4 Dec 1996 01:21:28 +0000 (01:21 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 4 Dec 1996 01:21:28 +0000 (01:21 +0000)
src/ls.c

index b64cf886b97611014dd015e2e53619b88a3cdab1..182175eee70908626220f581d9020478769bbf14 100644 (file)
--- 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.  */