summaryrefslogtreecommitdiff
path: root/lib/sqfs/read_tree.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-06-25 14:14:26 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-06-25 17:49:11 +0200
commitc578e5ca80370c9fc832f4a535bd8444971759e0 (patch)
treefb9296dd97bf5039391730716c4a6d2e808d2219 /lib/sqfs/read_tree.c
parenta32b5a9c793e4f4a4577837b73e783386842db02 (diff)
Add default cases for every switch block
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/read_tree.c')
-rw-r--r--lib/sqfs/read_tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqfs/read_tree.c b/lib/sqfs/read_tree.c
index 56b4f0c..802446a 100644
--- a/lib/sqfs/read_tree.c
+++ b/lib/sqfs/read_tree.c
@@ -37,6 +37,8 @@ static int should_skip(int type, unsigned int flags)
case SQFS_INODE_FIFO:
case SQFS_INODE_EXT_FIFO:
return (flags & SQFS_TREE_NO_FIFO);
+ default:
+ break;
}
return 0;