From 8a912ea3a3a74f6c4d2cb67adf3f60b4ec0a1c9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Fri, 7 Apr 2017 11:10:51 +0200 Subject: Apply a few clang-tidy cppcoreguidelines-* fixes --- src/utils/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/system.cpp') 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) { -- cgit v1.2.3