1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

fix unused variable outside of macos build

This commit is contained in:
John Harrington
2025-12-02 10:28:13 -07:00
parent 2ce203e459
commit d0c0da37d6

View File

@@ -94,12 +94,11 @@ pub fn request_browser_access(browser_name: &str, mas_build: bool) -> Result<()>
pub async fn import_logins(
browser_name: &str,
profile_id: &str,
#[cfg(target_os = "macos")]
mas_build: bool,
_mas_build: bool,
) -> Result<Vec<LoginImportResult>> {
// MAS builds will use the formerly created security bookmark
#[cfg(target_os = "macos")]
let _access = if mas_build {
let _access = if _mas_build {
Some(platform::sandbox::ScopedBrowserAccess::resume(
browser_name,
)?)