Skip to content

Commit

Permalink
Remove superfluous variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nagisa committed Jun 16, 2015
1 parent ca72d7f commit 09ed27c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/libsyntax/ext/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,6 @@ impl<'a> ExtCtxt<'a> {
pub fn expansion_cause(&self) -> Span {
let mut expn_id = self.backtrace;
let mut last_macro = None;
let mut current_expn = None;
loop {
if self.codemap().with_expn_info(expn_id, |info| {
info.map_or(None, |i| {
Expand All @@ -690,7 +689,6 @@ impl<'a> ExtCtxt<'a> {
return None;
}
expn_id = i.call_site.expn_id;
current_expn = Some(i.call_site);
if i.callee.format != CompilerExpansion {
last_macro = Some(i.call_site)
}
Expand Down

0 comments on commit 09ed27c

Please sign in to comment.