From d4690eeabe557753b394b8f83b5dbaf83e57e15f Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Fri, 25 Jun 2021 14:14:26 +0200 Subject: Add default cases for every switch block Signed-off-by: David Oberhollenzer --- bin/rdsquashfs/stat.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin/rdsquashfs/stat.c') diff --git a/bin/rdsquashfs/stat.c b/bin/rdsquashfs/stat.c index a5aab60..642aae9 100644 --- a/bin/rdsquashfs/stat.c +++ b/bin/rdsquashfs/stat.c @@ -87,6 +87,8 @@ int stat_file(const sqfs_tree_node_t *node) case SQFS_INODE_EXT_SOCKET: nlinks = inode->data.ipc_ext.nlink; break; + default: + break; } timeval = inode->base.mod_time; @@ -175,6 +177,8 @@ int stat_file(const sqfs_tree_node_t *node) sqfs_free(idx); } break; + default: + break; } return 0; } -- cgit v1.2.3