From 619b784374881670056ea6e2130cdd4dbc3b10cc Mon Sep 17 00:00:00 2001 From: Derek Bailey Date: Tue, 1 Feb 2022 22:25:52 -0800 Subject: one last dart omit local (#7070) --- dart/lib/flat_buffers.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dart/lib/flat_buffers.dart b/dart/lib/flat_buffers.dart index cd1639cb..d27d4bf3 100644 --- a/dart/lib/flat_buffers.dart +++ b/dart/lib/flat_buffers.dart @@ -1054,7 +1054,7 @@ class StringReader extends Reader { String read(BufferContext bc, int offset) { var strOffset = bc.derefObject(offset); var length = bc._getUint32(strOffset); - Uint8List bytes = bc._asUint8List(strOffset + _sizeofUint32, length); + var bytes = bc._asUint8List(strOffset + _sizeofUint32, length); if (asciiOptimization && _isLatin(bytes)) { return String.fromCharCodes(bytes); } -- cgit v1.2.3