1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-17 12:19:37 +00:00

Clear some unused variable warnings.

This commit is contained in:
Nolan Darilek 2020-12-30 10:07:27 -06:00
parent 2120de8756
commit 440154502b

View File

@ -37,7 +37,7 @@ pub extern "system" fn JNI_OnLoad(vm: JavaVM, _: *mut c_void) -> jint {
#[no_mangle]
#[allow(non_snake_case)]
pub unsafe extern "C" fn Java_rs_tts_Bridge_onInit(env: JNIEnv, obj: JObject, status: jint) {
pub unsafe extern "C" fn Java_rs_tts_Bridge_onInit(env: JNIEnv, obj: JObject, _status: jint) {
let id = env
.get_field(obj, "backendId", "I")
.expect("Failed to get backend ID")
@ -245,7 +245,7 @@ impl Backend for Android {
todo!()
}
fn set_volume(&mut self, volume: f32) -> Result<(), Error> {
fn set_volume(&mut self, _volume: f32) -> Result<(), Error> {
todo!()
}