Browse Source

[java] minor

Caue Waneck 12 năm trước cách đây
mục cha
commit
9f0d174635
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      genjava.ml

+ 0 - 2
genjava.ml

@@ -2464,14 +2464,12 @@ let convert_java_class ctx p jc =
 
     let fields = ref [] in
 
-    let nf = ref [] in
     if jc.cpath <> (["java";"lang"], "CharSequence") then
       List.iter (fun f ->
         try
           if !is_interface && List.mem JStatic f.jf_flags then
             ()
           else begin
-            nf := f :: !nf;
             fields := convert_java_field ctx p jc f :: !fields;
           end
         with