summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-04-07 11:10:51 +0200
committerlouiz’ <louiz@louiz.org>2017-04-07 11:10:51 +0200
commit8a912ea3a3a74f6c4d2cb67adf3f60b4ec0a1c9f (patch)
tree1a5a65ae1ebf2bd76e6d472a189ede0ffe67ebfa /src/utils
parent0dfeb5a94c0da9b25f0d6ed4bd27f3f6ffc5035f (diff)
downloadbiboumi-8a912ea3a3a74f6c4d2cb67adf3f60b4ec0a1c9f.tar.gz
biboumi-8a912ea3a3a74f6c4d2cb67adf3f60b4ec0a1c9f.tar.bz2
biboumi-8a912ea3a3a74f6c4d2cb67adf3f60b4ec0a1c9f.tar.xz
biboumi-8a912ea3a3a74f6c4d2cb67adf3f60b4ec0a1c9f.zip
Apply a few clang-tidy cppcoreguidelines-* fixes
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/system.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/system.cpp b/src/utils/system.cpp
index c0bee11..d821dec 100644
--- a/src/utils/system.cpp
+++ b/src/utils/system.cpp
@@ -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)
{