Uninitialized variable! There is always one...
authorRobert Iannucci <robbie@rail.com>
Sat, 10 Nov 2012 19:54:13 +0000 (11:54 -0800)
committerRobert Iannucci <robbie@rail.com>
Sat, 10 Nov 2012 19:54:13 +0000 (11:54 -0800)
src/state.h

index c28407f..170a5fc 100644 (file)
@@ -32,7 +32,7 @@ struct Rule;
 /// A pool for delayed edges
 struct Pool {
   explicit Pool(const string& name, int depth)
-    : name_(name), depth_(depth) { }
+    : name_(name), current_use_(0), depth_(depth) { }
 
   // A depth of 0 is infinite
   bool isValid() const { return depth_ >= 0; }