summaryrefslogtreecommitdiffstats
path: root/Templates
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-05-10 13:59:08 (GMT)
committerBrad King <brad.king@kitware.com>2017-05-10 14:01:15 (GMT)
commit608cc887c798d750e8ba7dcb51ddfb7f49c68e2c (patch)
tree5f2df3283fb9edec5d96cdf405af1c26dd412fd7 /Templates
parent8cc9e07a2ca7018feb0dbc286f1db23a4294eeec (diff)
downloadCMake-608cc887c798d750e8ba7dcb51ddfb7f49c68e2c.zip
CMake-608cc887c798d750e8ba7dcb51ddfb7f49c68e2c.tar.gz
CMake-608cc887c798d750e8ba7dcb51ddfb7f49c68e2c.tar.bz2
TestDriver: Remove unused local variable initialization
Diffstat (limited to 'Templates')
-rw-r--r--Templates/TestDriver.cxx.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Templates/TestDriver.cxx.in b/Templates/TestDriver.cxx.in
index ecf6fa1..0d3f44f 100644
--- a/Templates/TestDriver.cxx.in
+++ b/Templates/TestDriver.cxx.in
@@ -40,7 +40,7 @@ static const int NumTests =
static char* lowercase(const char* string)
{
char *new_string, *p;
- size_t stringSize = 0;
+ size_t stringSize;
stringSize = CM_CAST(size_t, strlen(string) + 1);
new_string = CM_CAST(char*, malloc(sizeof(char) * stringSize));