fix(core): Remove redundant decrement of mapSize

This commit is contained in:
Christian Granzin 2024-12-17 01:06:50 -05:00 committed by Julius Pfrommer
parent f59e15f4f4
commit fe41de07e7

View File

@ -464,7 +464,6 @@ UA_KeyValueMap_remove(UA_KeyValueMap *map,
UA_Array_resize((void**)&map->map, &map->mapSize, map->mapSize - 1,
&UA_TYPES[UA_TYPES_KEYVALUEPAIR]);
(void)res;
map->mapSize--;
return UA_STATUSCODE_GOOD;
}