Skip to content

Commit

Permalink
Remove unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaslee committed May 20, 2013
1 parent e02716e commit cac97d7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustc/metadata/encoder.rs
Expand Up @@ -387,7 +387,6 @@ fn encode_reexported_static_methods(ecx: @EncodeContext,
Some(methods) => {
match ecx.tcx.items.find(&exp.def_id.node) {
Some(&ast_map::node_item(item, path)) => {
let interner = ecx.tcx.sess.parse_sess.interner;
let original_name = ecx.tcx.sess.str_of(item.ident);
if mod_path != *path || *exp.name != *original_name {
for methods.each |&m| {
Expand Down

0 comments on commit cac97d7

Please sign in to comment.