Forráskód Böngészése

[cs] minor duplicated code removal

Dan Korostelev 9 éve
szülő
commit
e15507e8f3
1 módosított fájl, 0 hozzáadás és 1 törlés
  1. 0 1
      src/generators/gencs.ml

+ 0 - 1
src/generators/gencs.ml

@@ -404,7 +404,6 @@ struct
 			| _ -> assert false
 		in
 		let string_ext = get_cl ( get_type gen (["haxe";"lang"], "StringExt")) in
-		let is_string t = match follow t with | TInst({ cl_path = ([], "String") }, []) -> true | _ -> false in
 		let clstring = match basic.tstring with | TInst(cl,_) -> cl | _ -> assert false in
 		let ti64 = match ( get_type gen (["cs"], "Int64") ) with | TTypeDecl t -> TType(t,[]) | TAbstractDecl a -> TAbstract(a,[]) | _ -> assert false in
 		let boxed_ptr =