Skip to content

Commit 7d5749f

Browse files
authored
xds: Use unused variable to ignore the return value (#12388)
Internal: cl/813142534
1 parent 6b83959 commit 7d5749f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xds/src/test/java/io/grpc/xds/internal/security/trust/XdsTrustManagerFactoryTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ public void constructorRootCert_nonStaticContext_systemRootCerts_valid()
185185
DataSource.newBuilder().setFilename(TestUtils.loadCert(CA_PEM_FILE).getAbsolutePath()))
186186
.setSystemRootCerts(CertificateValidationContext.SystemRootCerts.getDefaultInstance())
187187
.build();
188-
new XdsTrustManagerFactory(
189-
new X509Certificate[] {x509Cert}, certValidationContext, false);
188+
XdsTrustManagerFactory unused =
189+
new XdsTrustManagerFactory(new X509Certificate[] {x509Cert}, certValidationContext, false);
190190
}
191191

192192
@Test

0 commit comments

Comments
 (0)