Remove unnecessary default:breaks

This commit is contained in:
Nekotekina
2021-04-11 18:58:56 +03:00
parent 99d6f9c7a9
commit 19763f8973
3 changed files with 3 additions and 5 deletions

View File

@@ -28,10 +28,10 @@ void fmt_class_string<psf::error>::format(std::string& out, u64 arg)
{
switch (fmt)
{
case psf::error::ok: return "OK";
case psf::error::stream: return "File doesn't exist";
case psf::error::not_psf: return "File is not of PSF format";
case psf::error::corrupt: return "PSF is truncated or corrupted";
default: break;
}
return unknown;