Skip to content

Commit

Permalink
Fix compiler warning about null deref with gcc 13.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Oct 30, 2023
1 parent 94beb2f commit edf7269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frmts/vrt/vrtmultidim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1853,7 +1853,7 @@ VRTMDArraySourceFromArray::~VRTMDArraySourceFromArray()
CPLDebug("VRT", "Dropping reference to %s", key.c_str());
CacheEntry oPair;
g_cacheSources.tryGet(key, oPair);
oPair.second.erase(oPair.second.find(this));
oPair.second.erase(this);
g_cacheSources.insert(key, oPair);
}
}
Expand Down

0 comments on commit edf7269

Please sign in to comment.