Fixed build with gcc 4.6
authorClifford Wolf <clifford@clifford.at>
Tue, 16 Dec 2014 09:38:25 +0000 (10:38 +0100)
committerClifford Wolf <clifford@clifford.at>
Tue, 16 Dec 2014 09:38:25 +0000 (10:38 +0100)
kernel/rtlil.h

index 29fa90692b32b895e227ebafab8bc778806cd2b9..19996c8fce9a86056cec96bf839ce66493f9e92d 100644 (file)
@@ -86,7 +86,7 @@ namespace RTLIL
                };
 
                static struct destruct_guard_t {
-                       bool ok = false;
+                       bool ok; // POD, will be initialized to zero
                        destruct_guard_t() { ok = true; }
                        ~destruct_guard_t() { ok = false; }
                } destruct_guard;