summaryrefslogtreecommitdiff
path: root/Templates
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-05-10 09:59:08 -0400
committerBrad King <brad.king@kitware.com>2017-05-10 10:01:15 -0400
commit608cc887c798d750e8ba7dcb51ddfb7f49c68e2c (patch)
tree5f2df3283fb9edec5d96cdf405af1c26dd412fd7 /Templates
parent8cc9e07a2ca7018feb0dbc286f1db23a4294eeec (diff)
downloadcmake-608cc887c798d750e8ba7dcb51ddfb7f49c68e2c.tar.gz
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 ecf6fa14ea..0d3f44f28e 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));