diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-02-14 16:04:30 -0500 | 
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-02-14 16:04:30 -0500 | 
| commit | 7103ca95ac8e92fd32ab65321cd443a7233a48e0 (patch) | |
| tree | b051e56ad272a5a159b4d0fd2726f31e7344ff68 /src/rt/rust_stack.cpp | |
| parent | 22e88d510f09a29a6799c4522d6c6ae83c324a64 (diff) | |
| download | rust-7103ca95ac8e92fd32ab65321cd443a7233a48e0.tar.gz rust-7103ca95ac8e92fd32ab65321cd443a7233a48e0.zip  | |
rm unused zero param in C++ exchange allocator
Diffstat (limited to 'src/rt/rust_stack.cpp')
| -rw-r--r-- | src/rt/rust_stack.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_stack.cpp b/src/rt/rust_stack.cpp index 3bcda8adf40..7a3d21989ee 100644 --- a/src/rt/rust_stack.cpp +++ b/src/rt/rust_stack.cpp @@ -75,7 +75,7 @@ destroy_stack(memory_region *region, stk_seg *stk) { stk_seg * create_exchange_stack(rust_exchange_alloc *exchange, size_t sz) { size_t total_sz = sizeof(stk_seg) + sz; - stk_seg *stk = (stk_seg *)exchange->malloc(total_sz, false); + stk_seg *stk = (stk_seg *)exchange->malloc(total_sz); memset(stk, 0, sizeof(stk_seg)); stk->end = (uintptr_t) &stk->data[sz]; add_stack_canary(stk);  | 
