Cleanup: unused return value warning

This commit is contained in:
Campbell Barton 2022-04-26 13:46:00 +10:00
parent 3ea6dbfe73
commit a003547a37
1 changed files with 2 additions and 2 deletions

View File

@ -253,7 +253,7 @@ static void snap_object_data_mesh_free_ensure(SnapObjectContext *sctx, Object *o
if (!sod) {
return;
}
BLI_ghash_popkey(sctx->cache.mesh_map, ob_eval, NULL);
BLI_ghash_remove(sctx->cache.mesh_map, ob_eval, nullptr, nullptr);
snap_object_data_mesh_free(sod);
}
@ -264,7 +264,7 @@ static void snap_object_data_editmesh_free_ensure(SnapObjectContext *sctx, Objec
return;
}
BMEditMesh *em = BKE_editmesh_from_object(ob_eval);
BLI_ghash_popkey(sctx->cache.editmesh_map, em, NULL);
BLI_ghash_remove(sctx->cache.editmesh_map, em, nullptr, nullptr);
snap_object_data_editmesh_free(sod);
}