Navigation Menu

Skip to content

Commit

Permalink
fix merge mistake removed variable declare
Browse files Browse the repository at this point in the history
  • Loading branch information
jmckenna committed May 12, 2020
1 parent 5b44e07 commit 1cd0c1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mappostgis.cpp
Expand Up @@ -1155,6 +1155,7 @@ static int msPostGISParseData(layerObj *layer)
*/
if ( pos_use_2nd )
{
const char* tmp;
for ( tmp = pos_use_2nd + 5; *tmp == ' '; tmp++ );
if ( strncasecmp ( tmp, "unique ", 7 ) == 0 )
for ( pos_uid = tmp + 7; *pos_uid == ' '; pos_uid++ );
Expand All @@ -1166,6 +1167,7 @@ static int msPostGISParseData(layerObj *layer)
*/
if ( pos_use_1st )
{
const char* tmp;
for ( tmp = pos_use_1st + 5; *tmp == ' '; tmp++ );
if ( strncasecmp ( tmp, "unique ", 7 ) == 0 )
{
Expand Down

0 comments on commit 1cd0c1e

Please sign in to comment.