mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-07 03:49:43 -05:00
Remove GCC warnings
This commit is contained in:
@@ -494,16 +494,11 @@ std::string GlobeBrowsingModule::layerTypeNamesList() {
|
||||
void GlobeBrowsingModule::loadWMSCapabilities(std::string name, std::string globe,
|
||||
std::string url)
|
||||
{
|
||||
auto downloadFunction = [](const std::string& url) {
|
||||
auto downloadFunction = [](const std::string& downloadUrl) {
|
||||
GDALDatasetH dataset = GDALOpen(
|
||||
url.c_str(),
|
||||
downloadUrl.c_str(),
|
||||
GA_ReadOnly
|
||||
);
|
||||
// GDAL_OF_READONLY | GDAL_OF_RASTER | GDAL_OF_VERBOSE_ERROR,
|
||||
// nullptr,
|
||||
// nullptr,
|
||||
// nullptr
|
||||
//);
|
||||
|
||||
char** subDatasets = GDALGetMetadata(dataset, "SUBDATASETS");
|
||||
int nSubdatasets = CSLCount(subDatasets);
|
||||
|
||||
Reference in New Issue
Block a user