Remove unused variables and parameters.
Simplify the building of the OSM query by reducing the number of temp strings.
Correct shadowing of variables that already exist.
Use unsigned integer for iteration.
fixup for unused variables.
Remove usage of an uninitialized variable if the curl query fails.
Merge branch 'simplify_osm_string_queries'
Merge branch 'fix_warnings'