Skip to content

Commit a0cdb23

Browse files
committed
Get rid of an unused variable
1 parent 4519f54 commit a0cdb23

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/lib/bitv.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ fn set(&t v, uint i, bool x) {
126126
auto bits = uint_bits();
127127
auto w = i / bits;
128128
auto b = i % bits;
129-
auto w0 = v.storage.(w);
130129
auto flag = 1u << b;
131130
v.storage.(w) =
132131
if (x) { v.storage.(w) | flag } else { v.storage.(w) & !flag };

0 commit comments

Comments
 (0)