After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 596591 - Unreachable code detected
Unreachable code detected
Status: RESOLVED OBSOLETE
Product: vala
Classification: Core
Component: Genie
unspecified
Other All
: Normal normal
: ---
Assigned To: Jamie McCracken
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2009-09-28 12:28 UTC by Nicolas
Modified: 2018-05-22 13:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nicolas 2009-09-28 12:28:08 UTC
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.

Nicolas.
Comment 1 GNOME Infrastructure Team 2018-05-22 13:23:20 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vala/issues/46.