Apply a few clang-tidy cppcoreguidelines-* fixes
This commit is contained in:
@@ -9,7 +9,7 @@ namespace utils
|
||||
{
|
||||
std::string get_system_name()
|
||||
{
|
||||
struct utsname uts;
|
||||
struct utsname uts{};
|
||||
const int res = ::uname(&uts);
|
||||
if (res == -1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user