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 /bin/sqfsdiff | |
parent | 8348086b48af0cbabe4cf2b64992ced6561ea50c (diff) |
Add default cases for every switch block
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/sqfsdiff')
-rw-r--r-- | bin/sqfsdiff/node_compare.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/sqfsdiff/node_compare.c b/bin/sqfsdiff/node_compare.c index 59d1831..d8f0878 100644 --- a/bin/sqfsdiff/node_compare.c +++ b/bin/sqfsdiff/node_compare.c @@ -78,6 +78,8 @@ int node_compare(sqfsdiff_t *sd, sqfs_tree_node_t *a, sqfs_tree_node_t *b) if (b->inode->base.type == SQFS_INODE_SOCKET) demoted = true; break; + default: + break; } if (promoted) { |