google / eDistantObject

eDistantObject (eDO) - Remote invocation library for iOS
Apache License 2.0
174 stars 36 forks source link

Fix eDO -Wunused-but-set-variable by using equivalent approach in related code. #246

Closed copybara-service[bot] closed 2 years ago

copybara-service[bot] commented 2 years ago

Fix eDO -Wunused-but-set-variable by using equivalent approach in related code.

In EDOHostService, the extra __block varaible is not needed since dispatch_sync doesn't change thread. In EDOChannelUtil, the frame data can be fetched through the additional usage on the returned data object so it's no longer unused.