(void)object;
dispatch_sync(_localObjectsSyncQueue, ^{
// Transfer the ownership of local object to the outer queue, where the object should be
// released.
To silence:
edo/Service/Sources/EDOHostService.m:338:21: error: variable 'object' set but not used [-Werror,-Wunused-but-set-variable]
__block NSObject *object NS_VALID_UNTIL_END_OF_SCOPE;
^
and
edo/Channel/Sources/EDOChannelUtil.m:55:19: error: variable 'contiguousData' set but not used [-Werror,-Wunused-but-set-variable]
dispatch_data_t contiguousData = dispatch_data_create_map(data, (const void **)&frame, NULL);
^
diff --git a/Channel/Sources/EDOChannelUtil.m b/Channel/Sources/EDOChannelUtil.m index 9894719..433a1c3 100644 --- a/Channel/Sources/EDOChannelUtil.m +++ b/Channel/Sources/EDOChannelUtil.m @@ -53,7 +53,7 @@ size_t EDOGetPayloadSizeFromFrameData(dispatch_data_t data) {
EDOSocketFrameHeader_t *frame = NULL; dispatch_data_t contiguousData = dispatch_data_create_map(data, (const void **)&frame, NULL);
To silence: edo/Service/Sources/EDOHostService.m:338:21: error: variable 'object' set but not used [-Werror,-Wunused-but-set-variable] __block NSObject *object NS_VALID_UNTIL_END_OF_SCOPE; ^ and
edo/Channel/Sources/EDOChannelUtil.m:55:19: error: variable 'contiguousData' set but not used [-Werror,-Wunused-but-set-variable] dispatch_data_t contiguousData = dispatch_data_create_map(data, (const void **)&frame, NULL); ^