summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-12-10 13:53:06 (GMT)
committerBrad King <brad.king@kitware.com>2016-12-12 19:04:13 (GMT)
commita74e6893480e491959e9165106f199a8cd0edd57 (patch)
tree7b4973da863935de096b7ed31223a847f690abc2 /Source/cmQtAutoGenerators.cxx
parentcac529dd495f05dcd24d33dd5fa595ff28eb7a60 (diff)
downloadCMake-a74e6893480e491959e9165106f199a8cd0edd57.zip
CMake-a74e6893480e491959e9165106f199a8cd0edd57.tar.gz
CMake-a74e6893480e491959e9165106f199a8cd0edd57.tar.bz2
clang-tidy: apply readability-redundant-string-init fixes
Diffstat (limited to 'Source/cmQtAutoGenerators.cxx')
-rw-r--r--Source/cmQtAutoGenerators.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index eb513e5..a9a9c49 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -110,7 +110,7 @@ cmQtAutoGenerators::cmQtAutoGenerators()
, GenerateAll(false)
{
- std::string colorEnv = "";
+ std::string colorEnv;
cmsys::SystemTools::GetEnv("COLOR", colorEnv);
if (!colorEnv.empty()) {
if (cmSystemTools::IsOn(colorEnv.c_str())) {