瀏覽代碼

[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 ";