diff options
author | Robert Iannucci <robbie@rail.com> | 2012-11-10 19:54:13 (GMT) |
---|---|---|
committer | Robert Iannucci <robbie@rail.com> | 2012-11-10 19:54:13 (GMT) |
commit | 170066f8c169068c49203d91f2033837e517685e (patch) | |
tree | a2e4cc6641a8ca92225ad2bb03eec2a353cc17b2 /src | |
parent | 9b196dc806e57cefd88bbbacd12286447dbf9ad9 (diff) | |
download | Ninja-170066f8c169068c49203d91f2033837e517685e.zip Ninja-170066f8c169068c49203d91f2033837e517685e.tar.gz Ninja-170066f8c169068c49203d91f2033837e517685e.tar.bz2 |
Uninitialized variable! There is always one...
Diffstat (limited to 'src')
-rw-r--r-- | src/state.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |