From 170066f8c169068c49203d91f2033837e517685e Mon Sep 17 00:00:00 2001 From: Robert Iannucci Date: Sat, 10 Nov 2012 11:54:13 -0800 Subject: Uninitialized variable! There is always one... --- src/state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state.h b/src/state.h index c28407f..170a5fc 100644 --- a/src/state.h +++ b/src/state.h @@ -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; } -- cgit v0.12