about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorBrian Anderson <andersrb@gmail.com>2011-03-31 23:11:26 -0400
committerBrian Anderson <andersrb@gmail.com>2011-03-31 23:15:11 -0400
commitf16e7242d2433378a0530d31427fad4ddd36c69f (patch)
tree688abbbfa6505f59cd81134fe48aa4e9e30d172b /src/rt/rust_kernel.cpp
parent524e80358254575bb699756c405050da6c920e28 (diff)
downloadrust-f16e7242d2433378a0530d31427fad4ddd36c69f.tar.gz
rust-f16e7242d2433378a0530d31427fad4ddd36c69f.zip
Initialize the alloca used to retrieve boxed block results to null.
This allows blocks to be used in conditional constructs where the block may
not ever execute: the drop glue will notice that it was never used and ignore
it.

Also, beef up the comments.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions