summaryrefslogtreecommitdiff
path: root/bin/rdsquashfs/stat.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 15:12:41 +0200
commitd4690eeabe557753b394b8f83b5dbaf83e57e15f (patch)
tree718a8342f450bc74b746d64d873ec3644419da73 /bin/rdsquashfs/stat.c
parent8348086b48af0cbabe4cf2b64992ced6561ea50c (diff)
Add default cases for every switch block
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/rdsquashfs/stat.c')
-rw-r--r--bin/rdsquashfs/stat.c4
1 files changed, 4 insertions, 0 deletions
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;
}