소스 검색

[lua] get rid of unused variable (and warning)

Justin Donaldson 8 년 전
부모
커밋
09daa3055d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/generators/genlua.ml

+ 1 - 1
src/generators/genlua.ml

@@ -1360,7 +1360,7 @@ and gen_return ctx e eo =
 	    spr ctx "do return end"
     | Some e ->
 	    (match e.eexpr with
-            | TField (e2, ((FClosure (_, tcf) | FAnon tcf |FInstance (_,_,tcf)) as ef)) when is_function_type ctx tcf.cf_type ->
+            | TField (e2, ((FClosure (_, tcf) | FAnon tcf |FInstance (_,_,tcf)))) when is_function_type ctx tcf.cf_type ->
                 (* See issue #6259 *)
 		add_feature ctx "use._hx_bind";
 		spr ctx "do return ";