aboutsummaryrefslogtreecommitdiff
path: root/src/apps/cct.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/apps/cct.cpp')
-rw-r--r--src/apps/cct.cpp2
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