DescriptionMake Mojo's LoggingTest.LogIf resilient to MSVC's unreachable code warning
The test would fail to compile (warning treated as error) in certain build
configurations (GYP_DEFINES=component=shared_library build_for_tool=drmemory,
with exceptions disabled).
Instead of having NotCalled() call abort(), which doesn't return, just use
a variable to check that the function doesn't get called.
BUG=397465
R=viettrungluu@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285674
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|