aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/engine/segment.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/engines/sci/engine/segment.h b/engines/sci/engine/segment.h
index ddb34582ab..a0c9f7f0dd 100644
--- a/engines/sci/engine/segment.h
+++ b/engines/sci/engine/segment.h
@@ -531,14 +531,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.
*/
void *getRawData() { return _data; }