chronos-tachyon / googletest-bazel

Fork of googletest that uses bazel.build
https://github.com/google/googletest
BSD 3-Clause "New" or "Revised" License
4 stars 4 forks source link

Patch for /trunk/samples/sample5_unittest.cc #450

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
start_time wasn't initialized. Is this correction valid?

Original issue reported on code.google.com by k.cheta...@gmail.com on 8 Jan 2014 at 9:52

Attachments:

GoogleCodeExporter commented 9 years ago
It is initialized on SetUp().
The attached patch creates a local variable start_time_ and leaves the member 
uninitialized.
Is there a specific compiler or runtime error that this is trying to fix?

Original comment by sbe...@google.com on 16 Apr 2014 at 6:13