Skip to content

Commit

Permalink
Prefix unused arguments with underscore to prevent warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mmiecz committed Jul 3, 2019
1 parent 775ff3b commit 7fb2bbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ports/libmlservo/src/lib.rs
Expand Up @@ -359,7 +359,7 @@ impl HostTrait for HostCallbacks {
None
}

fn set_clipboard_contents(&self, contents: String) {}
fn set_clipboard_contents(&self, _contents: String) {}
}

pub struct ServoInstance {
Expand Down
2 changes: 1 addition & 1 deletion ports/libsimpleservo/jniapi/src/lib.rs
Expand Up @@ -462,7 +462,7 @@ impl HostTrait for HostCallbacks {
None
}

fn set_clipboard_contents(&self, contents: String) {}
fn set_clipboard_contents(&self, _contents: String) {}
}

fn initialize_android_glue(env: &JNIEnv, activity: JObject) {
Expand Down

0 comments on commit 7fb2bbe

Please sign in to comment.