aboutsummaryrefslogtreecommitdiff
path: root/extras
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 /extras
parenta32b5a9c793e4f4a4577837b73e783386842db02 (diff)
Add default cases for every switch block
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'extras')
-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);