diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-06-25 14:14:26 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-06-25 15:12:41 +0200 |
commit | d4690eeabe557753b394b8f83b5dbaf83e57e15f (patch) | |
tree | 718a8342f450bc74b746d64d873ec3644419da73 /lib/sqfs/dir_writer.c | |
parent | 8348086b48af0cbabe4cf2b64992ced6561ea50c (diff) |
Add default cases for every switch block
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/dir_writer.c')
-rw-r--r-- | lib/sqfs/dir_writer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqfs/dir_writer.c b/lib/sqfs/dir_writer.c index e425b41..908bb01 100644 --- a/lib/sqfs/dir_writer.c +++ b/lib/sqfs/dir_writer.c @@ -64,6 +64,8 @@ static int get_type(sqfs_u16 mode) case S_IFCHR: return SQFS_INODE_CDEV; case S_IFDIR: return SQFS_INODE_DIR; case S_IFREG: return SQFS_INODE_FILE; + default: + break; } return SQFS_ERROR_UNSUPPORTED; |