summaryrefslogtreecommitdiff
path: root/extras/browse.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 /extras/browse.c
parent8348086b48af0cbabe4cf2b64992ced6561ea50c (diff)
Add default cases for every switch block
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'extras/browse.c')
-rw-r--r--extras/browse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/extras/browse.c b/extras/browse.c
index 8b96c15..d78ac5a 100644
--- a/extras/browse.c
+++ b/extras/browse.c
@@ -142,6 +142,8 @@ static void list_directory(const char *dirname)
case SQFS_INODE_SOCKET:
fputs("\033[01;35m", stdout);
break;
+ default:
+ break;
}
len = ent->size + 1;
@@ -401,6 +403,8 @@ static void stat_cmd(const char *filename)
sqfs_free(idx);
}
break;
+ default:
+ break;
}
sqfs_free(inode);