YongCHN / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 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