浏览代码

[cs] minor duplicated code removal

Dan Korostelev 9 年之前
父节点
当前提交
e15507e8f3
共有 1 个文件被更改,包括 0 次插入1 次删除
  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 =