about summary refs log tree commit diff
path: root/src/libstd/rt/local_heap.rs
diff options
context:
space:
mode:
authorKiet Tran <ktt3ja@gmail.com>2013-12-08 02:55:28 -0500
committerKiet Tran <ktt3ja@gmail.com>2013-12-08 02:55:28 -0500
commit1755408d1a58684b6c9bce11aeceb18a1ec2d66e (patch)
tree9d781272021fe4ead382ffc8f87c048f194e25b5 /src/libstd/rt/local_heap.rs
parentc06dd0e0afb4b78ab4e482a7488adcf1c865bd19 (diff)
downloadrust-1755408d1a58684b6c9bce11aeceb18a1ec2d66e.tar.gz
rust-1755408d1a58684b6c9bce11aeceb18a1ec2d66e.zip
Remove dead codes
Diffstat (limited to 'src/libstd/rt/local_heap.rs')
-rw-r--r--src/libstd/rt/local_heap.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/rt/local_heap.rs b/src/libstd/rt/local_heap.rs
index c98a66453eb..2386a261bdf 100644
--- a/src/libstd/rt/local_heap.rs
+++ b/src/libstd/rt/local_heap.rs
@@ -25,7 +25,9 @@ use unstable::intrinsics::TyDesc;
 use unstable::raw;
 
 // This has no meaning with out rtdebug also turned on.
+#[cfg(rtdebug)]
 static TRACK_ALLOCATIONS: int = 0;
+#[cfg(rtdebug)]
 static MAGIC: u32 = 0xbadc0ffe;
 
 pub type Box = raw::Box<()>;