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 689462 - Surpressed unused variable warnings in Vala
Surpressed unused variable warnings in Vala
Status: RESOLVED DUPLICATE of bug 700375
Product: vala
Classification: Core
Component: Semantic Analyzer
unspecified
Other Linux
: Normal minor
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks: 696979
 
 
Reported: 2012-12-01 23:20 UTC by Maciej (Matthew) Piechotka
Modified: 2013-05-15 10:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Maciej (Matthew) Piechotka 2012-12-01 23:20:06 UTC
Since Vala supports RAII it is possible to have dummy variables that nonetheless needs to be alive through the whole method. For example libgee's Gee.HazardPointer.Context. It produces a lot of warnings which don't denote real problem and might hide the real ones.
Comment 1 Maciej (Matthew) Piechotka 2013-05-15 10:16:37 UTC

*** This bug has been marked as a duplicate of bug 700375 ***