@@ -133,8 +133,6 @@ pub async fn update_packages(
133133 } ) ;
134134
135135 if let Some ( package) = new_pkg {
136- let with_pkg_id = pkg. with_pkg_id ;
137-
138136 // Check if the new version is already installed (skip if so)
139137 let new_version_installed = get_existing ( & package, & diesel_db) ?;
140138 if let Some ( ref installed) = new_version_installed {
@@ -146,7 +144,6 @@ pub async fn update_packages(
146144 update_targets. push ( InstallTarget {
147145 package,
148146 existing_install : Some ( pkg. clone ( ) ) ,
149- with_pkg_id,
150147 pinned : pkg. pinned ,
151148 profile : Some ( pkg. profile . clone ( ) ) ,
152149 portable : pkg. portable_path . clone ( ) ,
@@ -223,8 +220,6 @@ pub async fn update_packages(
223220 } ) ;
224221
225222 if let Some ( package) = new_pkg {
226- let with_pkg_id = pkg. with_pkg_id ;
227-
228223 // Check if the new version is already installed (skip if so)
229224 let new_version_installed = get_existing ( & package, & diesel_db) ?;
230225 if let Some ( ref installed) = new_version_installed {
@@ -238,7 +233,6 @@ pub async fn update_packages(
238233 update_targets. push ( InstallTarget {
239234 package,
240235 existing_install : Some ( pkg. clone ( ) ) ,
241- with_pkg_id,
242236 pinned : pkg. pinned ,
243237 profile : Some ( pkg. profile . clone ( ) ) ,
244238 portable : pkg. portable_path . clone ( ) ,
@@ -389,7 +383,6 @@ fn check_local_package_update(
389383 let target = InstallTarget {
390384 package : updated_url_pkg. to_package ( ) ,
391385 existing_install : Some ( pkg. clone ( ) ) ,
392- with_pkg_id : pkg. with_pkg_id ,
393386 pinned : resolved. pinned ,
394387 profile : resolved. profile . clone ( ) ,
395388 portable : resolved. portable . as_ref ( ) . and_then ( |p| p. path . clone ( ) ) ,
0 commit comments