Skip to content

Commit

Permalink
Fix clippy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Pururun committed Aug 30, 2024
1 parent 86bea91 commit d43fa4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mullvad-jni/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ pub fn api_endpoint_from_java(

#[cfg(not(feature = "api-override"))]
pub fn api_endpoint_from_java(
env: &JnixEnv<'_>,
_env: &JnixEnv<'_>,
endpoint_override: JObject<'_>,
) -> Option<mullvad_api::ApiEndpoint> {
if (endpoint_override.is_null()) {
if endpoint_override.is_null() {
return None;
}
panic!("Trying to set api override when feature is disabled")
Expand Down

0 comments on commit d43fa4a

Please sign in to comment.