SCI32: Remove unused shrink-to-fit function for string arrays

This commit is contained in:
Colin Snover 2017-09-22 13:26:13 -05:00
parent 50cfb7ad46
commit 0ceab96e91

View file

@ -530,14 +530,6 @@ public:
}
}
/**
* Shrinks a string array to its optimal size.
*/
void snug() {
assert(_type == kArrayTypeString || _type == kArrayTypeByte);
resize(Common::strnlen((char *)_data, _size) + 1, true);
}
/**
* Returns a pointer to the array's raw data storage.
*/