diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-03-06 23:28:16 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-03-07 00:20:20 +0100 |
| commit | 58d59c3617c3046509b43bc9716f560cd8cea8b9 (patch) | |
| tree | 02222278a122b466dc35a3f345fec61c337fce76 /src/apps | |
| parent | bef4d8fe2e388d569aee4f328629f4aa3e565ca8 (diff) | |
| download | PROJ-58d59c3617c3046509b43bc9716f560cd8cea8b9.tar.gz PROJ-58d59c3617c3046509b43bc9716f560cd8cea8b9.zip | |
cct: remove useless nullptr checking (CID 314822)
Diffstat (limited to 'src/apps')
| -rw-r--r-- | src/apps/cct.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apps/cct.cpp b/src/apps/cct.cpp index 4f21f10a..ca62c570 100644 --- a/src/apps/cct.cpp +++ b/src/apps/cct.cpp @@ -455,7 +455,7 @@ int main(int argc, char **argv) { size_t len = strlen(comment); if (len >= 1) comment[len - 1] = '\0'; - comment_delimiter = (comment && *comment) ? whitespace : blank_comment; + comment_delimiter = *comment ? whitespace : blank_comment; /* Time to print the result */ /* use same arguments to printf format string for both radians and |
