Compare getenv with NULL instead of 0 -- just for aesthetics.
authorJim Meyering <jim@meyering.net>
Sat, 6 Mar 1993 17:06:35 +0000 (17:06 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 6 Mar 1993 17:06:35 +0000 (17:06 +0000)
src/tr.c

index 06aeb73..f4cc3a7 100644 (file)
--- a/src/tr.c
+++ b/src/tr.c
@@ -1656,7 +1656,7 @@ main (argc, argv)
        }
     }
 
-  posix_pedantic = (getenv ("POSIXLY_CORRECT") != 0);
+  posix_pedantic = (getenv ("POSIXLY_CORRECT") != NULL);
 
   non_option_args = argc - optind;
   translating = (non_option_args == 2 && !delete);