On Sun, 2009-09-27 at 20:23 +0200, Nicolas wrote: > My function work but i have this message when building: > > treeview.gs:143.9-158.13: warning: unreachable code detected
I assume the reason for this is that the Genie parser just always appends a break statement even if you have, for example, a return statement right at the end of the block. So, from the control flow analyzer, that inserted break statement may be unreachable. This will need an exception in the flow analyzer for generated statements or something like that. Jürg _______________________________________________ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list