Skip to content

Commit

Permalink
fixed minor bug in fileDictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
elidwa committed Oct 25, 2024
1 parent 53c940b commit 07e7561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/geo/RasterFileDictionary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ void RasterFileDictionary::setSample(uint64_t sampleFileId)
{
/* Make sure sampleFileId is valid */
const char* fileName = get(sampleFileId);
if(fileName != NULL)
if(fileName && *fileName != '\0')
{
sampleIdSet.insert(sampleFileId);
}
Expand Down

0 comments on commit 07e7561

Please sign in to comment.