diff options
author | Luca Bruno <lucabru@src.gnome.org> | 2013-06-12 22:56:36 +0200 |
---|---|---|
committer | Luca Bruno <lucabru@src.gnome.org> | 2013-06-12 22:59:51 +0200 |
commit | eeb861dfba147bc37cfc7a9c22e1b582cf20ff31 (patch) | |
tree | c30cf678a855a0c2ac6fc531e012167d8f78ee5f /vala/valalocalvariable.vala | |
parent | 73e553ac3488d641fb08b275bcf2636e3cf0de67 (diff) | |
download | vala-eeb861dfba147bc37cfc7a9c22e1b582cf20ff31.tar.gz |
Always initialize temp variables to fix fatal warnings of GCC 4.8
GCC 4.8 is being strict on possible uninitialized variables.
This may or not may be a temporary solution. Always initializing
variables shouldn't be a problem, apart missing possible bugs
in the generated code.
Diffstat (limited to 'vala/valalocalvariable.vala')
-rw-r--r-- | vala/valalocalvariable.vala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vala/valalocalvariable.vala b/vala/valalocalvariable.vala index 4fd8daf9f..9f4ff592c 100644 --- a/vala/valalocalvariable.vala +++ b/vala/valalocalvariable.vala @@ -35,6 +35,7 @@ public class Vala.LocalVariable : Variable { public bool captured { get; set; } + /* Currently ignored due to GCC 4.8 being strict on possibly uninitialized variables */ public bool no_init { get; set; } /** |