diff options
author | Brad King <brad.king@kitware.com> | 2017-05-10 09:59:08 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-05-10 10:01:15 -0400 |
commit | 608cc887c798d750e8ba7dcb51ddfb7f49c68e2c (patch) | |
tree | 5f2df3283fb9edec5d96cdf405af1c26dd412fd7 /Templates | |
parent | 8cc9e07a2ca7018feb0dbc286f1db23a4294eeec (diff) | |
download | cmake-608cc887c798d750e8ba7dcb51ddfb7f49c68e2c.tar.gz |
TestDriver: Remove unused local variable initialization
Diffstat (limited to 'Templates')
-rw-r--r-- | Templates/TestDriver.cxx.in | 2 |
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)); |