summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2010-08-21 14:11:08 +0000
committerChristopher Michael <cpmichael1@comcast.net>2010-08-21 14:11:08 +0000
commita46557985b9add88610ab86d1e01beda053312bf (patch)
tree319795157626b94c4d63accfef55feb53f8aa1dd
parent62fe507b3eb51a1f9207574b9e36cc5fd7bca3b6 (diff)
No need for two null checks.
SVN revision: 51488
-rw-r--r--src/bin/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index 03e103b..011b76a 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -288,7 +288,7 @@ _em_get_filename(void)
288 loctime = localtime(&t); 288 loctime = localtime(&t);
289 289
290 /* if no filename given, create one based on time */ 290 /* if no filename given, create one based on time */
291 if ((!opts->filename) || (!opts->filename)) 291 if (!opts->filename)
292 strftime(buf, sizeof(buf), "%Y-%m-%d-%H%M%S.png", loctime); 292 strftime(buf, sizeof(buf), "%Y-%m-%d-%H%M%S.png", loctime);
293 else 293 else
294 { 294 {