diff options
author | louiz’ <louiz@louiz.org> | 2017-04-07 11:10:51 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-04-07 11:10:51 +0200 |
commit | 8a912ea3a3a74f6c4d2cb67adf3f60b4ec0a1c9f (patch) | |
tree | 1a5a65ae1ebf2bd76e6d472a189ede0ffe67ebfa /src/utils | |
parent | 0dfeb5a94c0da9b25f0d6ed4bd27f3f6ffc5035f (diff) | |
download | biboumi-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.cpp | 2 |
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) { |