Apply a few clang-tidy cppcoreguidelines-* fixes

This commit is contained in:
louiz’ committed 2017-04-07 11:10:51 +02:00
1 parent 0dfeb5a94c
commit 8a912ea3a3
5 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -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)
{