Initialize pointers to avoid MSAN warnings
This commit is contained in:
parent
1a8854fdba
commit
db49003660
@ -2173,7 +2173,7 @@ int Gis_polygon::is_valid(int *valid) const
|
|||||||
MBR mbr;
|
MBR mbr;
|
||||||
uint32 num_rings;
|
uint32 num_rings;
|
||||||
const char *c_end;
|
const char *c_end;
|
||||||
char *border_count, *touches_count, *internals;
|
char *border_count= nullptr, *touches_count= nullptr, *internals= nullptr;
|
||||||
int result= 0;
|
int result= 0;
|
||||||
|
|
||||||
*valid= 0;
|
*valid= 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user