Commit 5773acad authored by Raúl Marín's avatar Raúl Marín

Remove redundant assert

parent 10c9dc2a
Pipeline #144862448 passed with stage
in 28 minutes and 53 seconds
......@@ -143,7 +143,6 @@ GetGeomCache(FunctionCallInfo fcinfo,
GenericCacheCollection* generic_cache = GetGenericCacheCollection(fcinfo);
uint32_t entry_number = cache_methods->entry_number;
Assert(entry_number >= 0);
Assert(entry_number < NUM_CACHE_ENTRIES);
cache = (GeomCache*)(generic_cache->entry[entry_number]);
......@@ -505,4 +504,4 @@ GetSRIDCacheBySRS(FunctionCallInfo fcinfo, const char *srs)
}
return arg->srid;
}
\ No newline at end of file
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment