From 7438dc274c4a57cf90efe4b31e3ea5c3b967c6d5 Mon Sep 17 00:00:00 2001 From: "etienneb@chromium.org" Date: Wed, 21 Aug 2013 17:04:44 +0000 Subject: Fix unused variable assignement. This issue was found by a linter. R=dmichael@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/22940007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218758 0039d316-1c4b-4281-b951-d872f2087c98 --- ppapi/tests/test_char_set.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ppapi') diff --git a/ppapi/tests/test_char_set.cc b/ppapi/tests/test_char_set.cc index 5056c2c..de998d0 100644 --- a/ppapi/tests/test_char_set.cc +++ b/ppapi/tests/test_char_set.cc @@ -187,6 +187,7 @@ std::string TestCharSet::TestUTF16ToCharSet() { &utf16[0], static_cast(utf16.size()), "latin1", PP_CHARSET_TRUSTED_CONVERSIONERROR_SUBSTITUTE, &output_buffer[0], &utf8result_len); + ASSERT_TRUE(result == PP_TRUE); ASSERT_TRUE(utf8result_len == 3); output_buffer.resize(utf8result_len); ASSERT_TRUE(output_buffer == "h?i"); @@ -201,6 +202,7 @@ std::string TestCharSet::TestUTF16ToCharSet() { &utf16[0], static_cast(utf16.size()), "latin1", PP_CHARSET_TRUSTED_CONVERSIONERROR_SUBSTITUTE, &output_buffer[0], &utf8result_len); + ASSERT_TRUE(result == PP_TRUE); ASSERT_TRUE(utf8result_len == 2); ASSERT_TRUE(output_buffer[0] == '?' && output_buffer[1] == 'A'); -- cgit v1.1