diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-12-10 14:53:06 +0100 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-12-12 14:04:13 -0500 |
commit | a74e6893480e491959e9165106f199a8cd0edd57 (patch) | |
tree | 7b4973da863935de096b7ed31223a847f690abc2 /Source/cmTimestamp.cxx | |
parent | cac529dd495f05dcd24d33dd5fa595ff28eb7a60 (diff) | |
download | cmake-a74e6893480e491959e9165106f199a8cd0edd57.tar.gz |
clang-tidy: apply readability-redundant-string-init fixes
Diffstat (limited to 'Source/cmTimestamp.cxx')
-rw-r--r-- | Source/cmTimestamp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTimestamp.cxx b/Source/cmTimestamp.cxx index 589f195e9d..4a97114984 100644 --- a/Source/cmTimestamp.cxx +++ b/Source/cmTimestamp.cxx @@ -82,7 +82,7 @@ time_t cmTimestamp::CreateUtcTimeTFromTm(struct tm& tm) const #else // From Linux timegm() manpage. - std::string tz_old = ""; + std::string tz_old; cmSystemTools::GetEnv("TZ", tz_old); tz_old = "TZ=" + tz_old; |