about summary refs log tree commit diff
path: root/src/libpanic_unwind/gcc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libpanic_unwind/gcc.rs')
-rw-r--r--src/libpanic_unwind/gcc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libpanic_unwind/gcc.rs b/src/libpanic_unwind/gcc.rs
index aadbeb96b2d..63e44f71a3a 100644
--- a/src/libpanic_unwind/gcc.rs
+++ b/src/libpanic_unwind/gcc.rs
@@ -74,7 +74,7 @@ pub unsafe fn panic(data: Box<Any + Send>) -> u32 {
     let exception = Box::new(Exception {
         _uwe: uw::_Unwind_Exception {
             exception_class: rust_exception_class(),
-            exception_cleanup: exception_cleanup,
+            exception_cleanup,
             private: [0; uw::unwinder_private_data_size],
         },
         cause: Some(data),