summaryrefslogtreecommitdiffstats
path: root/rsHandcode.h
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2011-03-01 17:34:59 -0800
committerStephen Hines <srhines@google.com>2011-03-01 22:13:40 -0800
commit6a121811e5d2e56e94747b36d15c7613ab2aedd4 (patch)
tree17e31bb6a5a890e20478755bc13ed884ab1b50fe /rsHandcode.h
parent5a5125ed39ef016937f43895b2eba796764623a7 (diff)
downloadandroid_frameworks_rs-6a121811e5d2e56e94747b36d15c7613ab2aedd4.tar.gz
android_frameworks_rs-6a121811e5d2e56e94747b36d15c7613ab2aedd4.tar.bz2
android_frameworks_rs-6a121811e5d2e56e94747b36d15c7613ab2aedd4.zip
Almost all warnings are now errors in RS build.
Change-Id: Ie22eccdafbc95d1f903c73007dd3fb0ad10af7cc
Diffstat (limited to 'rsHandcode.h')
-rw-r--r--rsHandcode.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/rsHandcode.h b/rsHandcode.h
index 6f21a35c..57da10a6 100644
--- a/rsHandcode.h
+++ b/rsHandcode.h
@@ -4,7 +4,6 @@
static inline void rsHCAPI_ContextFinish (RsContext rsc) {
ThreadIO *io = &((Context *)rsc)->mIO;
uint32_t size = sizeof(RS_CMD_ContextFinish);
- RS_CMD_ContextFinish *cmd = static_cast<RS_CMD_ContextFinish *>(io->mToCore.reserve(size));
io->mToCore.commitSync(RS_CMD_ID_ContextFinish, size);
}