File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -287,10 +287,7 @@ macro_rules! impl_tuple {
287287 }
288288
289289 #[ inline]
290- unsafe fn from_stack_multi( nvals: c_int, lua: & RawLua ) -> Result <Self > {
291- if nvals > 0 {
292- ffi:: lua_pop( lua. state( ) , nvals) ;
293- }
290+ unsafe fn from_stack_multi( _nvals: c_int, _lua: & RawLua ) -> Result <Self > {
294291 Ok ( ( ) )
295292 }
296293 }
Original file line number Diff line number Diff line change @@ -128,10 +128,6 @@ pub trait FromLuaMulti: Sized {
128128 for idx in 0 ..nvals {
129129 values. push_back ( lua. stack_value ( -nvals + idx, None ) ) ;
130130 }
131- if nvals > 0 {
132- // It's safe to clear the stack as all references moved to ref thread
133- ffi:: lua_pop ( lua. state ( ) , nvals) ;
134- }
135131 Self :: from_lua_multi ( values, lua. lua ( ) )
136132 }
137133
You can’t perform that action at this time.
0 commit comments