mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-01-22 04:18:01 +00:00
Guard against uninitialized variables
This commit is contained in:
parent
a5d803aa9a
commit
9160e6add5
@ -24,9 +24,14 @@ struct draw {
|
||||
this->op = nop;
|
||||
this->x = nx;
|
||||
this->y = ny;
|
||||
this->necessary = 0;
|
||||
}
|
||||
|
||||
draw() {
|
||||
this->op = 0;
|
||||
this->x = 0;
|
||||
this->y = 0;
|
||||
this->necessary = 0;
|
||||
}
|
||||
|
||||
bool operator<(draw const &s) const {
|
||||
|
Loading…
Reference in New Issue
Block a user