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:
parent
2120de8756
commit
440154502b
|
@ -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!()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user