projects
/
platform
/
upstream
/
ninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b196dc
)
Uninitialized variable! There is always one...
author
Robert Iannucci
<robbie@rail.com>
Sat, 10 Nov 2012 19:54:13 +0000
(11:54 -0800)
committer
Robert Iannucci
<robbie@rail.com>
Sat, 10 Nov 2012 19:54:13 +0000
(11:54 -0800)
src/state.h
patch
|
blob
|
history
diff --git
a/src/state.h
b/src/state.h
index
c28407f
..
170a5fc
100644
(file)
--- 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; }