Auto merge of #11788 - UK992:warnings, r=jdm

Silent some warnings

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because only silent some warnings

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11788)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-06-19 10:32:52 -05:00 committed by GitHub
commit 95941cb4df
2 changed files with 16 additions and 16 deletions

View file

@ -48,14 +48,14 @@ impl UIProvider for TFDProvider {
}
#[cfg(not(any(target_os = "macos", target_os = "linux")))]
fn open_file_dialog(&self, path: &str,
filter: Option<(&[&str], &str)>) -> Option<String> {
fn open_file_dialog(&self, _path: &str,
_filter: Option<(&[&str], &str)>) -> Option<String> {
None
}
#[cfg(not(any(target_os = "macos", target_os = "linux")))]
fn open_file_dialog_multi(&self, path: &str,
filter: Option<(&[&str], &str)>) -> Option<Vec<String>> {
fn open_file_dialog_multi(&self, _path: &str,
_filter: Option<(&[&str], &str)>) -> Option<Vec<String>> {
None
}
}