summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio8Generator.cxx
diff options
context:
space:
mode:
authorPavel Solodovnikov <hellyeahdominate@gmail.com>2017-09-16 02:26:49 +0300
committerPavel Solodovnikov <hellyeahdominate@gmail.com>2017-09-16 02:26:49 +0300
commit5db3aac11177e3487544d02beecbaddb500d4c65 (patch)
treed830a38f27f27366405cf948c9c5919564beac9b /Source/cmGlobalVisualStudio8Generator.cxx
parentc0c5f924fe46fcf83603117689b372cb8520c4bb (diff)
downloadcmake-5db3aac11177e3487544d02beecbaddb500d4c65.tar.gz
Meta: replace empty-string assignments with `clear()`.
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio8Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx
index f56c78b584..0db3d0d9ef 100644
--- a/Source/cmGlobalVisualStudio8Generator.cxx
+++ b/Source/cmGlobalVisualStudio8Generator.cxx
@@ -301,7 +301,7 @@ bool cmGlobalVisualStudio8Generator::AddCheckTarget()
// file as the main dependency because it would get
// overwritten by the CreateVCProjBuildRule.
// (this could be avoided with per-target source files)
- std::string no_main_dependency = "";
+ std::string no_main_dependency;
std::vector<std::string> no_byproducts;
if (cmSourceFile* file = mf->AddCustomCommandToOutput(
stamps, no_byproducts, listFiles, no_main_dependency, commandLines,