diff options
author | David 'Digit' Turner <digit@google.com> | 2014-10-30 21:32:28 +0100 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2014-10-30 21:32:28 +0100 |
commit | 223a765dbc9b6bf6a20fff842c1fdf2cbf7fe529 (patch) | |
tree | 1f062c81fab0405ecadcecdd150ed9d4adb08fc6 /opengl/shared/OpenglCodecCommon/FixedBuffer.h | |
parent | a4d0e1cac30c7460d224cf5449d25e9e2f50b1c0 (diff) | |
download | android_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.h | 2 |
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); } |