summaryrefslogtreecommitdiffstats
path: root/runtime/jdwp
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-07-19 11:24:50 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-07-19 11:24:50 -0700
commit9e7723b143b1d9e5581d84a814f52691d29745c8 (patch)
tree3f5982ad4274eef3f1ac9b8a315863dae80deeba /runtime/jdwp
parentc06d623988436a0dcfab7643cc971a88f00f31ed (diff)
parentfb6996fe2b1bb28526751650441d7ac29dcdb4e6 (diff)
downloadart-9e7723b143b1d9e5581d84a814f52691d29745c8.zip
art-9e7723b143b1d9e5581d84a814f52691d29745c8.tar.gz
art-9e7723b143b1d9e5581d84a814f52691d29745c8.tar.bz2
am fb6996fe: Fixing cpplint runtime/arrays, runtime/int, runtime/virtual issues
* commit 'fb6996fe2b1bb28526751650441d7ac29dcdb4e6': Fixing cpplint runtime/arrays, runtime/int, runtime/virtual issues
Diffstat (limited to 'runtime/jdwp')
-rw-r--r--runtime/jdwp/jdwp_event.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/jdwp/jdwp_event.cc b/runtime/jdwp/jdwp_event.cc
index 52dd782..546c637 100644
--- a/runtime/jdwp/jdwp_event.cc
+++ b/runtime/jdwp/jdwp_event.cc
@@ -1046,7 +1046,7 @@ void JdwpState::DdmSendChunkV(uint32_t type, const iovec* iov, int iov_count) {
* "Wrap" the contents of the iovec with a JDWP/DDMS header. We do
* this by creating a new copy of the vector with space for the header.
*/
- iovec wrapiov[iov_count+1];
+ iovec wrapiov[iov_count+1]; // NOLINT(runtime/arrays) iov_count < 10
for (int i = 0; i < iov_count; i++) {
wrapiov[i+1].iov_base = iov[i].iov_base;
wrapiov[i+1].iov_len = iov[i].iov_len;