Auto merge of #12689 - heycam:warning-fix, r=Ms2ger

Fix unused variable warning.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it's just a variable rename

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12689)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-08-02 02:01:27 -05:00 committed by GitHub
commit 2eeb945807

View file

@ -1239,7 +1239,7 @@ pub struct UrlExtraData {
impl UrlExtraData { impl UrlExtraData {
#[cfg(feature = "servo")] #[cfg(feature = "servo")]
pub fn make_from(content: &ParserContext) -> Option<UrlExtraData> { pub fn make_from(_context: &ParserContext) -> Option<UrlExtraData> {
Some(UrlExtraData { }) Some(UrlExtraData { })
} }