summaryrefslogtreecommitdiffstats
path: root/Source/cmcmd.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-08-22 14:23:24 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-08-22 14:23:34 (GMT)
commit337be1507d0850c1d83de0f9ad87a780c9cb61af (patch)
tree8f6e685341766cc429b5120a1a120bbfaf9bbaea /Source/cmcmd.cxx
parent6e1ff50efbc49628e7f9575b57128c0829bf607c (diff)
parentd331021255ba9092fa34e8e479d724b1092c704d (diff)
downloadCMake-337be1507d0850c1d83de0f9ad87a780c9cb61af.zip
CMake-337be1507d0850c1d83de0f9ad87a780c9cb61af.tar.gz
CMake-337be1507d0850c1d83de0f9ad87a780c9cb61af.tar.bz2
Merge topic 'isolate-declarations'
d331021255 clang-tidy: isolate declarations for readability Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3704
Diffstat (limited to 'Source/cmcmd.cxx')
-rw-r--r--Source/cmcmd.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx
index c35eff6..9f4bdda 100644
--- a/Source/cmcmd.cxx
+++ b/Source/cmcmd.cxx
@@ -763,8 +763,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();