Skip to content

Commit cac97d7

Browse files
committed
Remove unused variable.
1 parent e02716e commit cac97d7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/librustc/metadata/encoder.rs

-1
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,6 @@ fn encode_reexported_static_methods(ecx: @EncodeContext,
387387
Some(methods) => {
388388
match ecx.tcx.items.find(&exp.def_id.node) {
389389
Some(&ast_map::node_item(item, path)) => {
390-
let interner = ecx.tcx.sess.parse_sess.interner;
391390
let original_name = ecx.tcx.sess.str_of(item.ident);
392391
if mod_path != *path || *exp.name != *original_name {
393392
for methods.each |&m| {

0 commit comments

Comments
 (0)