Index: ppapi/tests/test_case.h |
diff --git a/ppapi/tests/test_case.h b/ppapi/tests/test_case.h |
index 2c8177489ddb410bb85c287c5d4cb3c5942298de..4491c767f985546061a1f9c6bf0f0a4dc7b5207b 100644 |
--- a/ppapi/tests/test_case.h |
+++ b/ppapi/tests/test_case.h |
@@ -187,7 +187,9 @@ class TestCase { |
private: |
void Run() { |
- PP_DCHECK(PP_OK == loop_.AttachToCurrentThread()); |
+ int32_t result = loop_.AttachToCurrentThread(); |
+ static_cast<void>(result); // result is not used in the RELEASE build. |
+ PP_DCHECK(PP_OK == result); |
result_ = (test_case_->*test_to_run_)(); |
// Now give the loop a chance to clean up. |
loop_.PostQuit(true /* should_destroy */); |