Skip to content

Remove incorrect expect(unused) annotation - #1789

Merged
mkeeter merged 2 commits into
mainfrom
mkeeter/remove-unused-annotation
Oct 13, 2025
Merged

mkeeter merged 2 commits into
mainfrom
mkeeter/remove-unused-annotation

Conversation

@mkeeter

@mkeeter mkeeter commented Oct 13, 2025

Copy link
Copy Markdown
Contributor

Both #1780 and #1778 fixed the snapshot_exists function only being used on illumos. Unfortunately, they fixed it in mutually incompatible ways: #1780 added a trivial test to exercise it, while #1778 added an expect(unused) annotation. The combination of these two produces a warning on non-illumos machines.

@mkeeter
mkeeter requested review from leftwo and sunshowers October 13, 2025 17:24
@mkeeter
mkeeter merged commit c7168ee into main Oct 13, 2025
@mkeeter
mkeeter deleted the mkeeter/remove-unused-annotation branch October 13, 2025 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants