Make Lint happier.

This commit is contained in:
Tim Kientzle 2007-04-12 04:42:57 +00:00
parent 98d6fba71d
commit 782a032689
2 changed files with 3 additions and 2 deletions

View File

@ -985,7 +985,7 @@ header_common(struct archive_read *a, struct tar *tar, struct archive_entry *ent
* Sparse files are really just regular files with
* sparse information in the extended area.
*/
/* FALL THROUGH */
/* FALLTHROUGH */
default: /* Regular file and non-standard types */
/*
* Per POSIX: non-recognized types should always be

View File

@ -794,7 +794,8 @@ create_filesystem_object(struct archive_write_disk *a)
switch (a->mode & S_IFMT) {
default:
/* Fall through, as required by POSIX. */
/* POSIX requires that we fall through here. */
/* FALLTHROUGH */
case S_IFREG:
a->fd = open(a->name,
O_WRONLY | O_CREAT | O_EXCL, mode);