Skip to content

Commit 837fc66

Browse files
committed
Fix unused variable warning in upstream_integration.rs
Renamed 'ref_info' to '_ref_info' to indicate it is intentionally unused and suppress compiler warnings.
1 parent 4681199 commit 837fc66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/gitbutler-branch-actions/src/upstream_integration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ impl<'a> UpstreamIntegrationContext<'a> {
188188
) -> Result<Self> {
189189
let meta = ctx.meta(permission.read_permission())?;
190190
let repo = ctx.gix_repo()?;
191-
let ref_info = but_workspace::head_info(
191+
let _ref_info = but_workspace::head_info(
192192
&repo,
193193
&*meta,
194194
Options {

0 commit comments

Comments
 (0)