Browse Source

[cpp] remove unused variables

Simon Krajewski 7 năm trước cách đây
mục cha
commit
7df66baf15
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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