From 223a765dbc9b6bf6a20fff842c1fdf2cbf7fe529 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Thu, 30 Oct 2014 21:32:28 +0100 Subject: 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 --- opengl/shared/OpenglCodecCommon/FixedBuffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opengl/shared/OpenglCodecCommon/FixedBuffer.h') 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); } -- cgit v1.2.3