Browse Source

[cpp] remove unused variables

Simon Krajewski 7 years ago
parent
commit
7df66baf15
1 changed files with 0 additions and 2 deletions
  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 =
 let strq ctx s =
    if (Common.defined ctx Define.HxcppSmartStings) && (has_utf8_chars s) then
    if (Common.defined ctx Define.HxcppSmartStings) && (has_utf8_chars s) then
-      let l = String.length s in
       let b = Buffer.create 0 in
       let b = Buffer.create 0 in
-      let cycle = Int32.of_int 223 in
 
 
       let add ichar =
       let add ichar =
          match ichar with
          match ichar with