diff options
author | David 'Digit' Turner <digit@google.com> | 2014-03-05 12:55:49 +0100 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2014-03-06 00:32:11 +0100 |
commit | bfb9f632d4b0910cde452b116e7ce85c682f69ab (patch) | |
tree | bbc1982b603e372b4cf95154abf0b080b225bdbf /emulator/opengl/shared/OpenglCodecCommon | |
parent | c3a816300ab5808bac7d5540d13a5d206ae0f707 (diff) | |
download | sdk-bfb9f632d4b0910cde452b116e7ce85c682f69ab.zip sdk-bfb9f632d4b0910cde452b116e7ce85c682f69ab.tar.gz sdk-bfb9f632d4b0910cde452b116e7ce85c682f69ab.tar.bz2 |
emulator/opengl: Remove compiler warnings
This patch removes a few minor compiler warnings related
to unused local variables.
Change-Id: Icd4b3b478dce0c38cc1dd04419db7350dcbdb8f6
Diffstat (limited to 'emulator/opengl/shared/OpenglCodecCommon')
-rw-r--r-- | emulator/opengl/shared/OpenglCodecCommon/GLDecoderContextData.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emulator/opengl/shared/OpenglCodecCommon/GLDecoderContextData.h b/emulator/opengl/shared/OpenglCodecCommon/GLDecoderContextData.h index 23785ae..d5b5189 100644 --- a/emulator/opengl/shared/OpenglCodecCommon/GLDecoderContextData.h +++ b/emulator/opengl/shared/OpenglCodecCommon/GLDecoderContextData.h @@ -53,12 +53,12 @@ public: void storePointerData(unsigned int loc, void *data, size_t len) { - assert(loc < m_nLocations); + assert(loc < (unsigned)m_nLocations); m_pointerData[loc].alloc(len); memcpy(m_pointerData[loc].ptr(), data, len); } void *pointerData(unsigned int loc) { - assert(loc < m_nLocations); + assert(loc < (unsigned)m_nLocations); return m_pointerData[loc].ptr(); } private: |