summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authoretienneb@chromium.org <etienneb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-21 17:04:44 +0000
committeretienneb@chromium.org <etienneb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-21 17:04:44 +0000
commit7438dc274c4a57cf90efe4b31e3ea5c3b967c6d5 (patch)
tree2844c9d50d690c2f765ac831bfff24c9af8264bc /ppapi
parenteff812306b32ef7e36371ad3c16ad5589702a070 (diff)
downloadchromium_src-7438dc274c4a57cf90efe4b31e3ea5c3b967c6d5.zip
chromium_src-7438dc274c4a57cf90efe4b31e3ea5c3b967c6d5.tar.gz
chromium_src-7438dc274c4a57cf90efe4b31e3ea5c3b967c6d5.tar.bz2
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
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/tests/test_char_set.cc2
1 files changed, 2 insertions, 0 deletions
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<uint32_t>(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<uint32_t>(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');