aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorBrian Anderson <[email protected]>2011-01-08 13:45:18 -0500
committerGraydon Hoare <[email protected]>2011-01-10 11:31:33 -0800
commita077400d4cb1d3af0f70c654bbdef5c77fc1eb2f (patch)
treef31279629005ab983f6b796ecc9d36c27c6240d4 /src/test
parentCleanup circular_buffer grow / shrink routines (diff)
downloadrust-a077400d4cb1d3af0f70c654bbdef5c77fc1eb2f.tar.xz
rust-a077400d4cb1d3af0f70c654bbdef5c77fc1eb2f.zip
Remove unused variable in circular_buffer tests
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/rt-circular-buffer.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/run-pass/rt-circular-buffer.rs b/src/test/run-pass/rt-circular-buffer.rs
index 044d8238..d582a415 100644
--- a/src/test/run-pass/rt-circular-buffer.rs
+++ b/src/test/run-pass/rt-circular-buffer.rs
@@ -67,8 +67,6 @@ impure fn test_rotate() {
let port[record] myport = port();
auto mychan = chan(myport);
- let record val = rec(val1=0u32, val2=0u32, val3=0u32);
-
for each (uint j in _uint.range(0u, 10u)) {
for each (uint i in _uint.range(0u, 10u)) {
let record val = rec(val1=i as u32,