mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 11:29:01 +08:00
readability-else-after-return
This commit is contained in:
@@ -403,10 +403,7 @@ inline std::string errno_to_string(char buf[256], int res)
|
||||
{
|
||||
return std::string(buf);
|
||||
}
|
||||
else
|
||||
{
|
||||
return "Unknown error";
|
||||
}
|
||||
return "Unknown error";
|
||||
}
|
||||
|
||||
// Return errno string (thread safe)
|
||||
|
Reference in New Issue
Block a user