Browse Source

[lua] drop unused param

Justin Donaldson 8 years ago
parent
commit
28aaf6839a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/generators/genlua.ml

+ 3 - 3
src/generators/genlua.ml

@@ -318,7 +318,7 @@ let gen_constant ctx p = function
 	| TThis -> spr ctx (this ctx)
 	| TSuper -> assert false
 
-let rec gen_call ctx e el in_value =
+let rec gen_call ctx e el =
 	ctx.iife_assign <- true;
 	(match e.eexpr , el with
 	| TConst TSuper , params ->
@@ -625,7 +625,7 @@ and gen_expr ?(local=true) ctx e = begin
 		ctx.in_loop <- snd old;
 		ctx.separator <- true
 	| TCall (e,el) ->
-		    gen_call ctx e el false;
+		    gen_call ctx e el;
 	| TArrayDecl el ->
 		spr ctx "_hx_tab_array({";
 		let count = ref 0 in
@@ -1069,7 +1069,7 @@ and gen_value ctx e =
 	| TMeta (_,e1) ->
 		gen_value ctx e1
 	| TCall (e,el) ->
-		gen_call ctx e el true
+		gen_call ctx e el
 	| TReturn _
 	| TBreak
 	| TContinue ->