commit | 837f5ce3674e9077512018cc454ad27e0f2df4f1 | [log] [tgz] |
---|---|---|
author | Dieter Baron <dillo@nih.at> | Thu Mar 14 12:21:04 2013 +0100 |
committer | Dieter Baron <dillo@nih.at> | Thu Mar 14 12:21:04 2013 +0100 |
tree | 488bbd46e9fff50bc1acd2af80dab9fa1f434f1f | |
parent | d79fa04491ba9c32a0ab8cc03dc443c0579e5af8 [diff] [blame] |
Fix some warnings found by FlexeLint.
diff --git a/lib/zip_set_archive_comment.c b/lib/zip_set_archive_comment.c index 4382bc4..8c04246 100644 --- a/lib/zip_set_archive_comment.c +++ b/lib/zip_set_archive_comment.c
@@ -49,7 +49,7 @@ return -1; } - if (len > MAXCOMLEN || (len > 0 && comment == NULL)) { + if (len > 0 && comment == NULL) { _zip_error_set(&za->error, ZIP_ER_INVAL, 0); return -1; }