diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-08-19 19:54:49 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-08-20 22:20:49 (GMT) |
commit | d331021255ba9092fa34e8e479d724b1092c704d (patch) | |
tree | 38158432b3bd50418635201d95ff0575b4e7ac78 /Source/cmcmd.cxx | |
parent | 43fe736b2bf272647fb24b481bdc9a585c0666ac (diff) | |
download | CMake-d331021255ba9092fa34e8e479d724b1092c704d.zip CMake-d331021255ba9092fa34e8e479d724b1092c704d.tar.gz CMake-d331021255ba9092fa34e8e479d724b1092c704d.tar.bz2 |
clang-tidy: isolate declarations for readability
Diffstat (limited to 'Source/cmcmd.cxx')
-rw-r--r-- | Source/cmcmd.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx index 9b8689f..1ded899 100644 --- a/Source/cmcmd.cxx +++ b/Source/cmcmd.cxx @@ -765,8 +765,10 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string> const& args) if (args[1] == "time" && args.size() > 2) { std::vector<std::string> command(args.begin() + 2, args.end()); - clock_t clock_start, clock_finish; - time_t time_start, time_finish; + clock_t clock_start; + clock_t clock_finish; + time_t time_start; + time_t time_finish; time(&time_start); clock_start = clock(); |