summaryrefslogtreecommitdiffstats
path: root/testCommandLineArguments.cxx
diff options
context:
space:
mode:
authorKWSys Upstream <kwrobot@kitware.com>2018-06-14 12:41:42 (GMT)
committerBrad King <brad.king@kitware.com>2018-06-14 15:26:36 (GMT)
commitf3cd44263ed4640b7092e0d280e153894a38fc9e (patch)
treea76901731048071d3ea9ecd1e81c47e3826f558e /testCommandLineArguments.cxx
parent3af8c7715b359affce99c575bdcb84ca87585bb2 (diff)
downloadCMake-f3cd44263ed4640b7092e0d280e153894a38fc9e.zip
CMake-f3cd44263ed4640b7092e0d280e153894a38fc9e.tar.gz
CMake-f3cd44263ed4640b7092e0d280e153894a38fc9e.tar.bz2
KWSys 2018-06-14 (2b0ca1d8)
Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 2b0ca1d85d6e3fcf3b3fa375783c33524629f256 (master). Upstream Shortlog ----------------- Marian Klymov (3): 0b9f51a1 Remove redundant calls to c_str 361e54e3 Get rid of redundant string initialization 61501133 SystemInformation: Avoid use of dangling pointers on Solaris
Diffstat (limited to 'testCommandLineArguments.cxx')
-rw-r--r--testCommandLineArguments.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/testCommandLineArguments.cxx b/testCommandLineArguments.cxx
index 0385a3d..ef87436 100644
--- a/testCommandLineArguments.cxx
+++ b/testCommandLineArguments.cxx
@@ -77,7 +77,7 @@ int testCommandLineArguments(int argc, char* argv[])
int some_int_variable = 10;
double some_double_variable = 10.10;
char* some_string_variable = KWSYS_NULLPTR;
- std::string some_stl_string_variable = "";
+ std::string some_stl_string_variable;
bool some_bool_variable = false;
bool some_bool_variable1 = false;
bool bool_arg1 = false;