avoid uninitialized compiler warning

This commit is contained in:
Dane Springmeyer 2012-07-23 17:43:21 -07:00
parent 5014694591
commit 1b23838c58

View file

@ -277,9 +277,9 @@ void csv_datasource::parse_csv(T& stream,
bool has_wkt_field = false;
bool has_lat_field = false;
bool has_lon_field = false;
unsigned wkt_idx;
unsigned lat_idx;
unsigned lon_idx;
unsigned wkt_idx(0);
unsigned lat_idx(0);
unsigned lon_idx(0);
if (!manual_headers_.empty())
{