Apply a few clang-tidy cppcoreguidelines-* fixes
This commit is contained in:
1 parent
0dfeb5a94c
commit
8a912ea3a3
5 files changed
+7
-7
No files matched your search
@@ -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