Explorar o código

[cpp] remove unused variables

Simon Krajewski %!s(int64=7) %!d(string=hai) anos
pai
achega
7df66baf15
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      src/generators/gencpp.ml

+ 0 - 2
src/generators/gencpp.ml

@@ -1093,9 +1093,7 @@ let gen_str macro gen s =
 
 let strq ctx s =
    if (Common.defined ctx Define.HxcppSmartStings) && (has_utf8_chars s) then
-      let l = String.length s in
       let b = Buffer.create 0 in
-      let cycle = Int32.of_int 223 in
 
       let add ichar =
          match ichar with