SCI: Fix shadowing warning

This commit is contained in:
Eugene Sandulenko 2018-06-29 09:13:27 +02:00
parent c76c052259
commit ec08412925

View File

@ -508,11 +508,11 @@ public:
* Returns the maximum number of bytes that can be stored in the array. * Returns the maximum number of bytes that can be stored in the array.
*/ */
uint16 byteSize() const { uint16 byteSize() const {
uint16 size = _size; uint16 size1 = _size;
if (_type == kArrayTypeID || _type == kArrayTypeInt16) { if (_type == kArrayTypeID || _type == kArrayTypeInt16) {
size *= sizeof(uint16); size1 *= sizeof(uint16);
} }
return size; return size1;
} }
/** /**