Fix unused variable warnings
Remove some unused variables and add unused attribute to other variables PiperOrigin-RevId: 481706551
This commit is contained in:
committed by
Copybara-Service
parent
f6c2f86086
commit
5e543c506f
@@ -287,9 +287,7 @@ REGISTER_CALCULATOR(ErrorCalculator);
|
||||
CFHolder<CVPixelBufferRef> inputBuffer;
|
||||
absl::Status status = CreateCVPixelBufferFromCGImage(_sourceImage.CGImage, &inputBuffer);
|
||||
XCTAssert(status.ok());
|
||||
CVPixelBufferRef outputBuffer = [self runGraph:_graph
|
||||
withPixelBuffer:*inputBuffer
|
||||
packetType:MPPPacketTypePixelBuffer];
|
||||
[self runGraph:_graph withPixelBuffer:*inputBuffer packetType:MPPPacketTypePixelBuffer];
|
||||
__weak MPPGraph* weakGraph = _graph;
|
||||
_graph = nil;
|
||||
XCTAssertNil(weakGraph);
|
||||
|
||||
Reference in New Issue
Block a user