File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ - (void)close {
7373 [_dataCondition lock ];
7474 _status = NSStreamStatusClosed;
7575 if (!_done && _error == nil ) {
76- const bool success = Dart_PostInteger_DL (_sendPort, -1 );
76+ __unused const bool success = Dart_PostInteger_DL (_sendPort, -1 );
7777 NSCAssert (success, @" DartInputStreamAdapter: Dart_PostCObject_DL failed." );
7878 }
7979 [_dataCondition unlock ];
@@ -122,7 +122,7 @@ - (NSInteger)read:(uint8_t *)buffer maxLength:(NSUInteger)len {
122122 [_dataCondition lock ];
123123
124124 while (([_data length ] == 0 ) && !_done && _error == nil ) {
125- const bool success = Dart_PostInteger_DL (_sendPort, len);
125+ __unused const bool success = Dart_PostInteger_DL (_sendPort, len);
126126 NSCAssert (success, @" DartInputStreamAdapter: Dart_PostCObject_DL failed." );
127127
128128 [_dataCondition wait ];
You can’t perform that action at this time.
0 commit comments