Merge pull request #24 from nashe/fix-issue-18

Remove unnecessary NULL check
This commit is contained in:
Lars Boegild Thomsen 2018-01-19 10:38:32 +08:00 committed by GitHub
commit 56a967b626
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ main(int argc, char *argv[])
w[j].minlen, w[j].maxlen, w[j].fn);
/* Basic sanity checks */
if (!w[j].fn || !w[j].minlen || !w[j].maxlen || w[j].maxlen > MAX_LEN)
if (!w[j].minlen || !w[j].maxlen || w[j].maxlen > MAX_LEN)
usage();
}