mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-07 12:10:52 -06:00
Remove warnings
This commit is contained in:
@@ -124,12 +124,16 @@ namespace {
|
||||
int iDataset = -1;
|
||||
std::array<char, 256> IdentifierBuffer;
|
||||
std::fill(IdentifierBuffer.begin(), IdentifierBuffer.end(), '\0');
|
||||
sscanf(
|
||||
int ret = sscanf(
|
||||
subDatasets[i],
|
||||
"SUBDATASET_%i_%256[^=]",
|
||||
&iDataset,
|
||||
IdentifierBuffer.data()
|
||||
);
|
||||
if (ret != 2) {
|
||||
LERROR("Error parsing dataset");
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
if (iDataset != currentLayerNumber) {
|
||||
|
||||
Reference in New Issue
Block a user