Make Lint happier.
This commit is contained in:
parent
98d6fba71d
commit
782a032689
@ -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 files are really just regular files with
|
||||||
* sparse information in the extended area.
|
* sparse information in the extended area.
|
||||||
*/
|
*/
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
default: /* Regular file and non-standard types */
|
default: /* Regular file and non-standard types */
|
||||||
/*
|
/*
|
||||||
* Per POSIX: non-recognized types should always be
|
* Per POSIX: non-recognized types should always be
|
||||||
|
@ -794,7 +794,8 @@ create_filesystem_object(struct archive_write_disk *a)
|
|||||||
|
|
||||||
switch (a->mode & S_IFMT) {
|
switch (a->mode & S_IFMT) {
|
||||||
default:
|
default:
|
||||||
/* Fall through, as required by POSIX. */
|
/* POSIX requires that we fall through here. */
|
||||||
|
/* FALLTHROUGH */
|
||||||
case S_IFREG:
|
case S_IFREG:
|
||||||
a->fd = open(a->name,
|
a->fd = open(a->name,
|
||||||
O_WRONLY | O_CREAT | O_EXCL, mode);
|
O_WRONLY | O_CREAT | O_EXCL, mode);
|
||||||
|
Loading…
Reference in New Issue
Block a user