diff options
author | Jim Meyering <meyering@fb.com> | 2019-09-07 21:22:21 -0700 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2019-09-07 21:22:21 -0700 |
commit | 81c9fe4d0986554ebb1aaccc1ebcf5affb81cbad (patch) | |
tree | 4f30f1804bfe5e0fd5c6fd89fef8df1062e76230 /dfltcc.c | |
parent | be0c5581e38332b2ffa8a4cf92076cfde02872b4 (diff) | |
download | gzip-81c9fe4d0986554ebb1aaccc1ebcf5affb81cbad.tar.gz |
maint: placate strcmp-vs-STREQ syntax check rule
* dfltcc.c (is_dfltcc_enabled): Use STREQ (env, "0")
in place of "!strcmp (env, "0").
Diffstat (limited to 'dfltcc.c')
-rw-r--r-- | dfltcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -152,7 +152,7 @@ is_dfltcc_enabled (void) char facilities[(DFLTCC_FACILITY / 64 + 1) * 8]; char const *env = getenv ("DFLTCC"); - if (env && !strcmp (env, "0")) + if (env && STREQ (env, "0")) return 0; register int r0 __asm__ ("r0") = sizeof facilities / 8; |