summaryrefslogtreecommitdiffstats
path: root/opengl/shared/OpenglCodecCommon/FixedBuffer.h
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2014-10-30 21:32:28 +0100
committerDavid 'Digit' Turner <digit@google.com>2014-10-30 21:32:28 +0100
commit223a765dbc9b6bf6a20fff842c1fdf2cbf7fe529 (patch)
tree1f062c81fab0405ecadcecdd150ed9d4adb08fc6 /opengl/shared/OpenglCodecCommon/FixedBuffer.h
parenta4d0e1cac30c7460d224cf5449d25e9e2f50b1c0 (diff)
downloadandroid_device_generic_goldfish-223a765dbc9b6bf6a20fff842c1fdf2cbf7fe529.tar.gz
android_device_generic_goldfish-223a765dbc9b6bf6a20fff842c1fdf2cbf7fe529.tar.bz2
android_device_generic_goldfish-223a765dbc9b6bf6a20fff842c1fdf2cbf7fe529.zip
opengl: Remove compiler warnings.
Simply remove multiple compiler warnings about unused parameter. Note that this modifies three auto-generated files, which will require fixing the 'emugen' program in the future. Change-Id: I19edce7c6480770b893d033ed6b1c65744091d62
Diffstat (limited to 'opengl/shared/OpenglCodecCommon/FixedBuffer.h')
-rw-r--r--opengl/shared/OpenglCodecCommon/FixedBuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/shared/OpenglCodecCommon/FixedBuffer.h b/opengl/shared/OpenglCodecCommon/FixedBuffer.h
index 30b9a80..7026396 100644
--- a/opengl/shared/OpenglCodecCommon/FixedBuffer.h
+++ b/opengl/shared/OpenglCodecCommon/FixedBuffer.h
@@ -20,7 +20,7 @@ class FixedBuffer {
public:
FixedBuffer(size_t initialSize = 0) {
m_buffer = NULL;
- m_bufferLen = 0;
+ m_bufferLen = initialSize;
alloc(m_bufferLen);
}