aboutsummaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorEric Anderson <ejona@google.com>2016-06-21 09:29:19 -0700
committerEric Anderson <ejona@google.com>2016-06-24 12:11:03 -0700
commit5487ea8f54516abc21fc202c63ccc56f51db6f21 (patch)
treebd9f17c8dbdfa70816b6dcf191cc5acd407677be /auth
parente11917e1b827da0131a8345e5c83bc3249cc816f (diff)
downloadgrpc-grpc-java-5487ea8f54516abc21fc202c63ccc56f51db6f21.tar.gz
Remove unused variables
This fixed a threading issue in ServerImpl because the unused variable should have been used.
Diffstat (limited to 'auth')
-rw-r--r--auth/src/main/java/io/grpc/auth/GoogleAuthLibraryCallCredentials.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/auth/src/main/java/io/grpc/auth/GoogleAuthLibraryCallCredentials.java b/auth/src/main/java/io/grpc/auth/GoogleAuthLibraryCallCredentials.java
index 85ab1b581..9e40da482 100644
--- a/auth/src/main/java/io/grpc/auth/GoogleAuthLibraryCallCredentials.java
+++ b/auth/src/main/java/io/grpc/auth/GoogleAuthLibraryCallCredentials.java
@@ -70,7 +70,6 @@ final class GoogleAuthLibraryCallCredentials implements CallCredentials {
@Override
public void applyRequestMetadata(MethodDescriptor<?, ?> method, Attributes attrs,
Executor appExecutor, final MetadataApplier applier) {
- Metadata cachedSaved;
String authority = checkNotNull(attrs.get(ATTR_AUTHORITY), "authority");
final URI uri;
try {