about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2012-09-13 18:49:07 -0700
committerGraydon Hoare <graydon@mozilla.com>2012-09-13 19:53:30 -0700
commit120a3dede026023be1694b590d604f7f7dcab2c6 (patch)
tree9276e92b43dbff86a7a0e3909cd6c01f2abc0d08
parentd71179f410dba7b6f017d93d58c740a5f0d20e2b (diff)
downloadrust-120a3dede026023be1694b590d604f7f7dcab2c6.tar.gz
rust-120a3dede026023be1694b590d604f7f7dcab2c6.zip
Fix unused variable warning.
-rw-r--r--src/rustc/middle/typeck/check/method.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rustc/middle/typeck/check/method.rs b/src/rustc/middle/typeck/check/method.rs
index 028a4560e4a..21e58b2dd21 100644
--- a/src/rustc/middle/typeck/check/method.rs
+++ b/src/rustc/middle/typeck/check/method.rs
@@ -432,7 +432,6 @@ impl LookupContext {
             }
         };
 
-        let tcx = self.tcx();
         let method = &impl_info.methods[idx];
 
         // determine the `self` of the impl with fresh