From 9c9d92ae3a7c70adff71e04bae14a1e1394693f5 Mon Sep 17 00:00:00 2001 From: clang-format Date: Thu, 4 Aug 2016 19:28:34 -0700 Subject: test: apply clang-tidy google-readability-braces-around-statements applied against a x86_64 configure with and without --enable-vp9-highbitdepth clang-tidy-3.7.1 \ -checks='-*,google-readability-braces-around-statements' \ -header-filter='.*' -fix + clang-format afterward Change-Id: Ia2993ec64cf1eb3505d3bfb39068d9e44cfbce8d --- test/sad_test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/sad_test.cc') diff --git a/test/sad_test.cc b/test/sad_test.cc index e1f164a4e..837b08fbd 100644 --- a/test/sad_test.cc +++ b/test/sad_test.cc @@ -114,9 +114,10 @@ class SADTestBase : public ::testing::TestWithParam { uint8_t *GetReference(int block_idx) const { #if CONFIG_VP9_HIGHBITDEPTH - if (use_high_bit_depth_) + if (use_high_bit_depth_) { return CONVERT_TO_BYTEPTR(CONVERT_TO_SHORTPTR(reference_data_) + block_idx * kDataBlockSize); + } #endif // CONFIG_VP9_HIGHBITDEPTH return reference_data_ + block_idx * kDataBlockSize; } -- cgit v1.2.3